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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Placeholders

Status
Not open for further replies.

stevemarsh99

Technical User
Aug 10, 2005
88
GB
I have a dynamic image placeholder on a page that throws in the image ref which is great.

But how would I go about setting a maximum size limit on the image so it does toss up the laylout of my page if some clown uploads a 1280 x 960 image?!

If you set the width and height in DW it changes the image to view to those dimensions (so basically it skews it to whatever you have set)

is there any way of having a maxiumum Width and/or a maximum Height?

Thanks

Steve
 
I would set the maximum allowed image size into your upload script. What are you using?

Cheech

[Peace][Pipe]
 
i have a file size limit but you cant really control the size of the image in that way due to you could have a awful image with bad resolution but huge because of its compression?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top