Picture Galleries

Everything related to the visual and coding aspects of websites.
User avatar
ritabuuk
Posts: 29
Joined: Thu Jul 19, 2012 8:41 pm
Contact:

Picture Galleries

Post 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!
User avatar
Sofia
Administrator
Posts: 981
Joined: Sun Jul 01, 2012 1:25 am
Location: Italy
Contact:

Re: Picture Galleries

Post 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 :)
Show me a hero and I'll write you a tragedy.
Larissa
Time Traveler
Posts: 598
Joined: Mon Jul 16, 2012 9:37 pm
Contact:

Re: Picture Galleries

Post 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!
tonight fate is the
Chibi
Posts: 592
Joined: Wed Jul 04, 2012 7:17 am
Location: Themyscira
Contact:

Re: Picture Galleries

Post by Chibi »

Larissa, that's really useful! :D Thank you for sharing!
dragoneyes
Posts: 182
Joined: Fri Aug 03, 2012 7:31 am
Location: My dragon nest
Contact:

Re: Picture Galleries

Post by dragoneyes »

@Larissa welp, now I know what I'm going to use from now on!
This dragon wishes you the best luck.
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Picture Galleries

Post 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> '; } } ?>
Cherri
Posts: 1754
Joined: Wed Sep 19, 2012 10:37 am
Location: Kamurocho
Contact:

Re: Picture Galleries

Post by Cherri »

Oh that's nice. Thank you Mikari.
;o; *** pew! pew!
User avatar
Emma
Time Traveler
Posts: 845
Joined: Tue Jul 17, 2012 3:39 am
Contact:

Re: Picture Galleries

Post 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. :)
a spoony bard
Mikari
Posts: 3159
Joined: Thu Jun 21, 2012 6:30 pm
Location: Coruscant
Contact:

Re: Picture Galleries

Post by Mikari »

I'm happy that it helps :)
Post Reply