fixing admin gallery image and add medium image