added paperclip config for gallery images model