Website Question
Author
Discussion

ultra violent

Original Poster:

2,827 posts

286 months

Sunday 30th October 2005
quotequote all
If I want thumb nails as links to full size pictures, is there any way (in HTML) to have the thumb nail auto generated from the standard size picture. I.e. so I don't have to manually create 2 pictures for each item, a full size one and a thumb nail?

judas

6,189 posts

276 months

Sunday 30th October 2005
quotequote all
Short answer: no.

Long answer: Using just HTML, then no. You'll need some kind of server side functionality to do this for you. This is usually a component that generates thumbnails automatically when you upload the image. So if you upload a file called picture.jpg it will create a corresponding thumbnail called picture_small.jpg or something like that. Where is the site being hosted? The host may already have a component available that you can use.

thunderstruck

8,825 posts

299 months

Sunday 30th October 2005
quotequote all
ultra violent said:
If I want thumb nails as links to full size pictures, is there any way (in HTML) to have the thumb nail auto generated from the standard size picture. I.e. so I don't have to manually create 2 pictures for each item, a full size one and a thumb nail?


You could use HEIGHT and WIDTH attributes within the IMG tag to make a thumbnail size image from the larger one. This is not generally a good idea though, as the thumbnail will take a longer time to load as it is the same size (in bytes) as the larger image.

JamieBeeston

9,294 posts

282 months

Sunday 30th October 2005
quotequote all
thunderstruck said:

ultra violent said:
If I want thumb nails as links to full size pictures, is there any way (in HTML) to have the thumb nail auto generated from the standard size picture. I.e. so I don't have to manually create 2 pictures for each item, a full size one and a thumb nail?



You could use HEIGHT and WIDTH attributes within the IMG tag to make a thumbnail size image from the larger one. This is not generally a good idea though, as the thumbnail will take a longer time to load as it is the same size (in bytes) as the larger image.



Aye, not fun.

You could just use an Image Gallery application, there are alot of freeware ones on the market.

If you've got some PHP coding skills, you could knock up a page which does this for you, best bet is just check with your host and see what they offer / see if they can offer this for you / move hosts

J

Kinky

39,877 posts

286 months

Sunday 30th October 2005
quotequote all
I use Arles Image Creator to do this very task.

It was a free covermount on a mag - works a treat.

You can download a 30-day full working copy: www.digitaldutch.com/arles/download.htm

K

ultra violent

Original Poster:

2,827 posts

286 months

Monday 31st October 2005
quotequote all
I see, so the Gallery software provided by R1 should sort me out?

JamieBeeston

9,294 posts

282 months

Monday 31st October 2005
quotequote all
ultra violent said:
I see, so the Gallery software provided by R1 should sort me out?


Its certainly loved by those who i've spoken to.

www.trailblasters.co.uk/gallery/23Jan05

an example of one of my friends VDS Pro Galleries.

Simply click on the image, click upload and it sticks it in a gallery of you choice and generates a nice thumbnail, lets you add descriptions, links, slideshows etc.

All designed to be very simple.

Lemme know if you have any queries.

J