Implemented image uploading to galleries