Hi everyone,
I am making a small web site to post images onto. The images that I have are all over 1024x768 pixels in size. I want to make an index page with smaller versions of the images that the visitor can click on that will open up the larger images. What I am wondering about is displaying these thumbnail images. At first, I was just changing the width and height attributes in the <img> tag, but the image files were too big and the page took way too long to load. Is there any other way I can display thumbnails of an image without having to create a second, scaled-down version and saving it to the directory? Thanks for any help in advance.
Nick
stupidenator 0 Junior Poster
Recommended Answers
Jump to PostIf you are using a server-side language, such as PHP, you can use image magik (or equivalent) to dynamically scale down the images. This is most likely more trouble than it's worth, unless your entire site is dynamic already.
All 4 Replies
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
inetwiz 0 Newbie Poster
amanda112 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.