Semi-fix to image upload + getAll() query (this is for you arturo)