OptiOne Posted August 27, 2013 Share Posted August 27, 2013 Need help making an image gallery with fancybox2 as a module. Make galleries and attach images or video's in the cms. Responsive gallery. Send suggestions and proposals. Link to comment Share on other sites More sharing options...
swsindonesia Posted August 27, 2013 Share Posted August 27, 2013 PS 1.5.4.1 comes with default js behaviour class iframe which triggers the fancybox. You can use this immediately in your CMS by having a usual thumb-largesize image pairs. Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2013 Share Posted August 27, 2013 hello, you must insert all fancybox files into the cms.tpl file: (if you don't want to change controllers) 2. Include necessary JS files <script type="text/javascript" src="/fancybox/jquery.fancybox-1.3.4.pack.js"></script> Optional - Add transitions as jQuery by default supports only "swing" and "linear" <script type="text/javascript" src="/fancybox/jquery.easing-1.4.pack.js"></script> Optional - Enable "mouse-wheel" to navigate throught gallery items <script type="text/javascript" src="/fancybox/jquery.mousewheel-3.0.4.pack.js"></script> 3. Add fancybox CSS file Don`t forget to change background image paths if CSS file is not in the same directory. Also, check src paths for AlphaImageLoader as they are relative to the HTML document, while regular CSS background images are relative to the CSS document (read more). <link rel="stylesheet" href="/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> there is also other method with core modification. Link to comment Share on other sites More sharing options...
OptiOne Posted August 27, 2013 Author Share Posted August 27, 2013 Thank you for the response. What I need would be a module that creates the gallery and image attachments in the admin panel. To be able to manage the gallery from the module. Then a gallery page is linked to on the front office. Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2013 Share Posted August 28, 2013 in this case you can check addons store for modules like you want. There are a lot of modules for this http://addons.prestashop.com/en/search?search_query=gallery+module http://www.prestashop.com/forums/topic/243031-module-gallery-included-upload-photos-by-customers/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now