HTMLSpinnr's PhotoDisplay


Download HTMLSpinnr's PhotoDisplay v2.62:

  • tar.gz
  • tar.bz2
  • zip
  • Changelog - to see what's changed...

    Note: This script is not presently being maintained as I no longer have the time or interest. There are plenty of other scripts out there which do the same thing, only better. I'd be more than happy to fix bugs and accept simple improvements, but have no plans on future enhancements at this time. Thanks to all who have supported this in the past.

    I'm sure many of you are here to download Photo Display v2.62. Photo Display is a PHP script based on Dougiamas' PhotoFrame which takes JPG images from a given web directory and displays them in a more "friendly" manner. It dynamically resizes images and creates thumbnails for any directory. It also allows sorting of images, comment extraction, comment files, and more. 

    PhotoDisplay 2.62 requires a web server capable of running PHP 4.0.2 or higher and ImageMagick 5.3.5 or higher. Earlier versions may or may not work, depending on the platform. Some earlier ImageMagick versions don't return certain image demensions properly, yielding "Divide by Zero" errors. The script originally relied on GDLib which was faster, but the output wasn't as "pretty" and it wasn't readily available on all machines (especially shared hosting compaines). I highly recommend ImageMagick 5.3.8 or higher as it seems significantly faster than previous versions. Note - some versions of ImageMagick 5.5.x are "broken" in that they append additional newlines to the output, which breaks this script. I've reported the bug, and it was fixed upstream. Expect to see a fix in versions newer than 5.5.8.

    Because the file layout has changed in the past, the phps download format is no longer available. To use - simply download the tar.gz, tar.bz2, or zip file. Extract the archive to a temp directory, and copy the script files to your images directory. Make sure your web server has write permission to this directory. Once done, the script should take care of the rest. To sort files, create a file named "sortfile" (or whatever you've defined within the script) with a listing of filenames (one per line) in the order that you want them displayed. To add comments, you may embed them within the JPG image or create a filename using the format imagename.jpg.html (or whichever suffix you define within the script). HTML comments will be displayed below the image, while JPG comments will be displayed above. Other files that you may want to include would be a header.html, footer.html and intro.html - these allow you to define a custom header (I place my style sheets here), footer (for different taglines, etc.), and intro page (to override the basic one the script defines). If you have any other script questions, suggestions or comments, feel free to drop me a line. Unfortunately, I won't be able to tell you how to make your script work under WakkoServ 3.6 under Hackware Linux, but I'll try to give it my best shot.

    Future releases may include the ability to display (or at least link to) subdirectories, quicker thumbnail generation, and perhaps other image formats.

    Some users have noted an issue with the inability to delete created directories on a hosted website. Copy the following script to a file named delete.php (or whatever) and upload to the same directory in which HTMLSpinnr's photo display is installed. Then call the script via your webrowser. Note - this script was borrowed from Dougiamas' PhotoFrame and modified to work with HTMLSpinnr's photo display.

    Enjoy!
    -HTMLSpinnr

  • Copyright © 1999-2007 HTMLSpinnr.org. All rights reserved.