Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How can I add 4x5 300 dpi images to my website for download from clients without the images being enlarged on the website?

share|improve this question
    
Check out this SO question. –  Su' Sep 10 '11 at 23:10
add comment

1 Answer 1

...without the images being enlarged

To me this implies that you do actually want to display these images, which the user wants to download anyway, but at normal size? With these being huge images they will naturally take a while to display, but you can just set a width on the img element and the browser will adjust the height to the appropriate aspect ratio. The user then uses the context menu to save the image; just like any other image.

<img src="massive-300dpi-image.jpg" width="500" alt="Big Image">

However, if you do want to provide a download-only solution then see @Su' link in the comments.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.