Home General Chat
If you need urgent support, call 999 or go to your nearest A&E. To contact our Crisis Messenger (open 24/7) text THEMIX to 85258.
Options

Thumbnail generator

Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
I need a script for my website that either every so often or on page load , generates thumbnails from a directory of images and displays them in a nice pretty page.

Any suggestions?

Comments

  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Frontpage can do this if you right click the picture and "auto thumbnail" does the trick for all my pictures
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    not a server side script like you're looking for, but easy thumbnails generates thumbnail images, resizes, and creates a basic html thumbnail template for you, which is fairly useful if you wanted to do it before you uploaded the images.
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Matteh wrote: »
    I need a script for my website that either every so often or on page load , generates thumbnails from a directory of images and displays them in a nice pretty page.

    Any suggestions?

    I think what you might need is library for php, called phpThumb. Which can be found here:

    http://phpthumb.sourceforge.net/

    I am sure they have some examples of how to use this library. It works quite nicely with an upload script, where you can upload and the script saves both original and thumbnail!
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    I really should go on a PHP Course.
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    CoolMe wrote: »
    I really should go on a PHP Course.

    Ditto. I taught myself some HTML and CSS but PHP seems a bit more difficult to dabble in.
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    I know how to edit alot of HTML but PHP i can only pick bits of it out
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Incorporating a blog and forum which were both php into the design and consistency of my current site was hell but I got there in the end. But to be fair, I wasn't really playing around with any of the call functions or suchlike. Still, I have an idea for a site which would be much more efficiently run in PHP, I'm sure. I just don't have the time!
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Thanks for the help!

    im going to try phpthumb which seems like the best solution.

    And yes Jase, you do need to go on a php course.

    Its really usefull!
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Like i have time
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    phpthumb really doesnt like me , just gives me server errors, might be my hosts php settings :(

    Also easythumbnails made the thumbnails but theres no direct html generator you more or less have to do it yourself *sigh*
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    You need a PHP script and a server with gdlibrary or something similiar.

    In my opinion, your best bet is to go with simpleviewer:
    http://www.airtightinteractive.com/simpleviewer/
    It's a flash image gallery. You upload the simple viewer files and with your images in the images directory.
    A server side PHP script will automatically create the thumbnails.

    Here's an example of the output

    You can add image descriptions by editing the xml that the script creates.

    PHP is really quite easy :) Javascript on the other hand :grump:
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Matteh wrote: »
    Also easythumbnails made the thumbnails but theres no direct html generator you more or less have to do it yourself *sigh*

    JUST USE FRONT PAGE - THEN COPY THE CODE:)
  • Options
    Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    Thanks Andy! just what i needed :D
Sign In or Register to comment.