Added core image upload handlers for gallery