User Tools

Site Tools


photo_gallery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
photo_gallery [2024/05/01 13:57] adminphoto_gallery [2024/05/02 14:32] (current) admin
Line 10: Line 10:
 ### ###
  
-[[https://trainutz.com|{{wiki:remounts.jpg}}]]+[[https://trainutz.com/rcMOUNT.shtml|{{wiki:remounts.jpg}}]]
  
 === Live Demo === === Live Demo ===
Line 20: Line 20:
   - Web server running Linux and Apache or Lighttpd plus PHP   - Web server running Linux and Apache or Lighttpd plus PHP
   - A directory source of .jpg images with lower case file names   - A directory source of .jpg images with lower case file names
-  - <del>Previously created thumbnails (100 x 75 and filename_th.jpg)</del> - please see my recent CreateThumbs Script+  - <del>Previously created thumbnails (100 x 75 and filename_th.jpg)</del> - please see my recent [[create_thumbs|CreateThumbs]] Script
  
 === Description === === Description ===
Line 77: Line 77:
 === Installation === === Installation ===
 ### ###
-This is pretty much a manual setup. Copy the above into a file called index.php and drop this into your web image directory along with your main photos. You should also have a thumbnails sub-directory that contains the 100 x 75 pixel thumbnails. +This is pretty much a manual setup. Copy the above into a file called index.php and drop this into your web image directory along with your main photos. You should also have a thumbnails sub-directory that contains the 100 x 75 pixel thumbnails. For a portrait image the thumbnail size is 56 x 75 - of course you are free to adapt and improve this to your own needs :)
- +
-For a portrait image the thumbnail size is 56 x 75 - of course you are free to adapt and improve this to your own needs :)+
  
 Note: the above is case sensitive .JPG is different to .jpg on Unix like systems and the image names must be lower case! Note: the above is case sensitive .JPG is different to .jpg on Unix like systems and the image names must be lower case!
  
-That's it! Hope you find this usefulIf you have any comments or suggestions for improvements please do let me know. (admint AT cpcnw DOT co DOT uk) That's it! If you need to generate the thumbnails see my companion script.+You should also be aware that if you resize your main images some image programs will wipe out your EXIF dataI use [[https://www.faststone.org|FastStone Photo Resizer]] under windows for that task which preserves the date and time info.
  
-<del>I may at some point look into how to auto generate the thumbnails / directory. For now though it just displays photos and you'll need to manually create the sub-directory and thumbnails!</del> Note: I have now created the 'companion script' to go with this which you can find here CreateThumbs Script+That'it. Hope you find this useful. If you have any comments or suggestions for improvements please do let me know. (admint AT cpcnw DOT co DOT uk)
  
-You should also be aware that if you resize your main images some image programs will wipe out your EXIF data. I use [[https://www.faststone.org|FastStone Photo Resizer]] under windows for that task which preserves the date and time info.+<del>I may at some point look into how to auto generate the thumbnails / directoryFor now though it just displays photos and you'll need to manually create the sub-directory and thumbnails!</del> Note: have now created the 'companion script' to go with this which you can find here [[create_thumbs|CreateThumbs]] Script
 ### ###
  
photo_gallery.1714571847.txt.gz · Last modified: 2024/05/01 13:57 by admin