Gallery modify. Connect jquery plugin for image gallery