Page 1 of 2

Picture Galleries

Posted: Sun Dec 30, 2012 8:21 pm
by ritabuuk
Hi all,

I am working on revamping Copy Cat and one issue I have run into revolves around picture galleries. My site has a lot of different galleries, and I need to add more! I was wondering what you use to make creating and maintaining such a gallery easier.

I am not a huge fan of the sort of gallery where the image pops open in a new box (like highslide), so I'd prefer to avoid that if possible, but if it really is the best solution, then I can set that minor dislike aside.

The sorts of galleries I have are:
Pokémon Cards Gallery
Birth of Mewtwo CD Drama Booklet Gallery
Fanart Gallery (which is extremely non-formatted right now)

Thanks!

Re: Picture Galleries

Posted: Wed Jan 02, 2013 7:02 pm
by Sofia
I'm using a script called Zenphoto http://www.zenphoto.org/ to manage a gallery used by all my shrines, which you can find here: http://sohryu.nu/gallery/. It's rather small at the moment, but you can take a look at it and see if that's what you are looking for. The template I used is one of the standard ones and I made only minor changes to it (mainly the main page and the Lightbox plugin).

I've tested countless gallery scripts throughout the years and for me Zenphoto is the best solution. It's quick to install, it has a nice set of extra features and good selection of templates, adding and managing images is very easy…really I never had a single issue with it :)

Re: Picture Galleries

Posted: Sat Mar 29, 2014 12:49 pm
by Larissa
So I'm reviving this thread from the dead because I just realized I haven't shared this over here yet.

I've got a simple PHP counter that I use to make all my image galleries. (I used this to code my Squall gallery in a matter of minutes, for example.) I've never liked dealing with third-party scripts and prefer to just make my own thumbnails, and it's super easy to code them with this tool.

Hope it's useful for someone!

Re: Picture Galleries

Posted: Sat Mar 29, 2014 3:53 pm
by Chibi
Larissa, that's really useful! :D Thank you for sharing!

Re: Picture Galleries

Posted: Sun Mar 30, 2014 8:44 am
by dragoneyes
@Larissa welp, now I know what I'm going to use from now on!

Re: Picture Galleries

Posted: Sat Apr 05, 2014 10:01 pm
by Mikari
I use a very simple scandir code, it's not much of a script, which makes me feel safer with it. It basically looks in a folder and display the images in it. You can set it to a certain number per page and keep all the pages in the same .php with a switch.

<?php $dirs = "folder/"; $pics = scandir($dirs);
$thepics = array_slice($pics, 0, 52);
foreach ($thepics as $item) { if (($item != ".") && ($item != "..")) {
echo '<a target="_blank" href="' . $dirs . $item . '"><img src="' . $dirs . $item . '" alt="' . $item . '" title="' . $item . '" class="preview" /></a> '; } } ?>

Re: Picture Galleries

Posted: Sun May 04, 2014 11:12 am
by Cherri
Oh that's nice. Thank you Mikari.

Re: Picture Galleries

Posted: Sun May 04, 2014 12:32 pm
by Emma
I'm going to be making a gallery and was wondering how I was going to organise it, because I really don't like the gallery scripts out there myself either. So that piece of code looks mega useful, Mikari, thank you. :)

Re: Picture Galleries

Posted: Tue May 06, 2014 10:37 pm
by Mikari
I'm happy that it helps :)