Image Gallery Plugin
-
So I’ve tested out NextGen, Smooth Slider and a few other plugins but I am really not happy with them. NextGen uses Flash and the JWPlayer which I do not like at all.
All I want to be able to do is have our clients manage each image for each individual page. Something super EASY to use and with a very basic “FADE” script that goes from one image to another.
The company I work for is willing to pay for a premium plugin if we need to do that as well. I’m just tired of going with plugins that either do WAY TOO MUCH or incorporate FLASH.
Currently I have a basic PHP script in place:
<?php if (is_front_page()) /* Is this the front page? */ { ?> <div id="slideshow" style="background:url(/wp-content/uploads/gallery/main/BC3769-flash.jpg) no-repeat;"> <?php // images dir $path = "wp-content/uploads/gallery/main"; $dh = opendir($path); while ($file = readdir($dh)) if($file != "." && $file != ".." && $file != "Thumbs.db" && $file != "index.html" && $file != "index.php" ) { { echo"<img border='0' src='/$path/$file' \"; > "; } } closedir($dh); // close dir ?>For other pages I have the same thing setup but changed the “slug” name:
<?php } elseif (is_page('boulder-photos')) { ?> <div id="slideshow" style="background:url(/wp-content/uploads/gallery/boulder-photos/mtns.jpeg);"> <?php // images dir $path = "wp-content/uploads/gallery/boulder-photos"; $dh = opendir($path); while ($file = readdir($dh)) if($file != "." && $file != ".." && $file != "Thumbs.db" && $file != "index.html" && $file != "index.php" ) { { echo"<img border='0' src='/$path/$file' \"; > "; } } closedir($dh); // close dir ?>I am using that in correlation with “Custom Upload Dir” plugin which allowed me to set the upload directory based on the “slug” of the page. Yeah I know, not the perfect setup, but the PHP above is pulling those images into the jQuery for the FADING to each image stuff to work. I would LOVE a plugin to do this. This system isn’t perfect but the best way I could get this done without one of those buggy plugins.
Anyway if anyone has any better ideas, I’m sure you do :), then let me hear em!!
Thanks as always,
Mark
The topic ‘Image Gallery Plugin’ is closed to new replies.