Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

global image sizer

Status
Not open for further replies.

zxmax

Technical User
Nov 24, 2003
179
CA
Greeting all,
i was wondering if there is any way i could have a global settings (either on the application.cfm file or in the root) that will output any picture on a certain pages with a specific size here is a one line eg:
----------------------------------------------------
<td><a href="details_rebuild_trucks.cfm?ID=#Rebuild.carID#"><img src="#Rebuild.CarImage1#" border="0"></a></td>
</tr>
---------------------------------------------------
Notice the image path is coming from a database
now i would like to have that =#Rebuild.CarImage1# or any images in that page, no matter what size it is, to be set to, lets say 200 x 200
is that possibe, or i have to go with image resizing ?

Thanks in advance
 
You may want to look into a 3rd party image thumbnailer.

I use Alagad's Image Componant.

It was only 50 dollars and has some great features. I tried using the free one, i can't remember its name. This one works a lot better in my opinion.

It will create an image thumbnail any size you want. when you want to show the image you would show the thumbnail. The way I use this is on upload i thumbnail the image. if the size for all images changes I use cffile to delete the thumbnails, loop through the images in the DB and rethumbnail them the correct size.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top