Is it possible to create multiple/different galleries on the same site?
e2interactive forums » (E)2 Photo Gallery FAQ
Multiple Galleries
(8 posts)-
Posted 7 months ago #
-
You can on the same site, but not on the same page. I do it on my site now in the photography section.
Posted 7 months ago # -
Aww sure... of course. Thx!
Posted 7 months ago # -
Is it as easy as changing the information in the array on the page where the gallery is? Do you recommend three installations of the gallery files (one for each page), then upload the photos for each page separately, using separate <images> and <imagethumbs> folders?
Posted 7 months ago # -
The best way to do this would be to take the first part of the config.php file:
$gallerypath="images"; //EX. images or ../gallery/images no trailing slash needed $thumbpath="imagethumbs"; //EX. images or ../gallery/images no trailing slash needed $transitionspeed="500"; //How fast you want the animations to render $fadespeed="300"; //How fast you want the photos to fade in and outand take the index.php file and save it as a new file/name and open it up and look for
<?php require_once "config.php"; require_once "getfolders.php"; ?>Now remove the:
require_once "config.php";and replace it with:
<?php $gallerypath="images"; //EX. images or ../gallery/images no trailing slash needed $thumbpath="imagethumbs"; //EX. images or ../gallery/images no trailing slash needed $transitionspeed="500"; //How fast you want the animations to render $fadespeed="300"; //How fast you want the photos to fade in and out require_once "getfolders.php"; ?>Now modify the
$gallerypathand the$thumbpathto a different folder. Upload your photos to the gallerypath and thumbpath and you're set.Posted 7 months ago # -
Yep.. that makes perfect sense... easy enough... thanks a ton!
Posted 7 months ago # -
OK... I'm really cruisin' now. I have multiple galleries, pulling from separate image/thumb folders. http://www.hicks-ashby.com/gallery.
However, I tested each gallery with a sample logo image. It worked. However, after I uploaded several more photos to the 'education' gallery, the thumbnails don't appear.
Do I have dump/reload something so that it will accept the additional images/thumbs?
Posted 7 months ago # -
Nevermind... I found it. It was a CSS conflict that was stacking the thumbnails on top of each other (instead of side by side).
Posted 7 months ago #
Reply
You must log in to post.
