Image uploads should be nicer validated
Summary
We have some image paths with different validations etc., most of them fail "not nice" e.g. with a 500 that does not lead to good feedback.
Also, we might produce wrong data: I had a case, where somebodys profile picture was saved as ".png" although it was a jpeg. fpdf failed to use that image (which is stupid in itself, but well...)
Possible fixes
This will be fixed after moving all image uploads to the new API, which takes care of everything. Changes are necessary for:
-
header images of food share points (!818 (merged)) -
profile pictures (!1916 (merged)) -
blog pictures -
header images of working groups -
baskets (!2906 (merged)) -
wall posts (!3045 (merged))
Edited by Anton Ballmaier