minifix in add pictures (do not allow upload of empty images)