e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Multiple Galleries

(8 posts)

  1. Is it possible to create multiple/different galleries on the same site?

    Posted 7 months ago #
  2. 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 #
  3. Aww sure... of course. Thx!

    Posted 7 months ago #
  4. 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 #
  5. 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 out

    and 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 $gallerypath and the $thumbpath to a different folder. Upload your photos to the gallerypath and thumbpath and you're set.

    Posted 7 months ago #
  6. Yep.. that makes perfect sense... easy enough... thanks a ton!

    Posted 7 months ago #
  7. 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 #
  8. 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 #

RSS feed for this topic

Reply

You must log in to post.