<p><a href="/demo/web2_image_gallery/"><img align="right" alt="" data-entity-type="" data-entity-uuid="" src="/demo/screenshot_photo_album_php.jpg" width="300" /></a> This is a all-in-one-file small and powerful image gallery script with PHP. Just upload your images to directory of script with FTP. It is free for private use. For a demo click on screenshot-image. Features:</p>
<li>Scann directory and display images in web formats automagically</li>
<li>Create thumbnail images dynamically on the fly (from all JPEG, GIF, PNG)</li>
<li>Sort images by name, size or last modified time</li>
<li>Easily change how many thumbnail-images displayed per page</li>
<li>Display image name (trim long filename)</li>
<li>Display image dimensions: width x height</li>
<li>Display image filesize in kilobytes</li>
<li>Display last modified time</li>
<li>Display number of total images</li>
<li>Easily change album name, description, width</li>
<li>Easily change thumbnail width/height</li>
<li>Automagically select largest dimension to scale thumbnail</li>
<li>Link to original image file</li>
<li>Meta title and description</li>
Feature suggestions for future:
Save thumbnails instead dynamic creation
View middle size images
Watermark big images
Max image size limit
Sort by height - width
Sort by image type
how do you put the images in it? sorry im new.
You dont need to put images in this script, it can dedect images automagically. Just put your images and this script in the same directory.
When I run the script I'm getting a whole bunch of errors:
Notice: Use of undefined constant start - assumed 'start' in rf09\gallery\gallery.php on line 24
Notice: Undefined index: start in rf09\gallery\gallery.php on line 24
Notice: Use of undefined constant sortby - assumed 'sortby' in rf09\gallery\gallery.php on line 26
Notice: Undefined index: sortby in rf09\gallery\gallery.php on line 26
Notice: Use of undefined constant sortby - assumed 'sortby' in rf09\gallery\gallery.php on line 27
Notice: Undefined index: sortby in rf09\gallery\gallery.php on line 27
Notice: Undefined variable: i in rf09\gallery\gallery.php on line 73
Notice: Undefined variable: imgl in rf09\gallery\gallery.php on line 81
Notice: Undefined variable: page_htmo in rf09\gallery\gallery.php on line 91
Notice: Undefined index: thumb in rf09\gallery\gallery.php on line 156
Is there something I'm doing wrong or should be aware of?
I'm really hoping you can help 'cause I'm looking for just that kind of gallery-script.
just change your php settings to not show notice level output ot put array element between single quotas
change $image[name] to $image['name']
Really interesting one, i much appreciate. Thanks for sharing the information.
Why my picture are not shown in thumbnail but when click to view the full picture it is shown.
check if your php has gd support or send your url here. what error do you get when you load just one thumbnail like this:
First, thanks for a brilliantly simple, yet powerful script! I looked everywhere and you finally provided what I needed, bravo!
It works fine for me with most dirs, however there's one dir that contains a substantial amount of animated gifs, some several megabytes in size. I can access the images but it won't display thumbnails and I get this error:
Warning: getimagesize(): Read error! in /home/content/imagedir/index.php on line 44
Maybe disabling the get size part of the script would fix it?
why is that my images are not shown and outputs a text like the day it was modified and only the name of my pics, but it is hyperlinked.
nice script thanx