Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Can't automaticaly HTML-resize my images

by grep (Monsignor)
on Jul 20, 2007 at 02:19 UTC ( #627702=note: print w/ replies, xml ) Need Help??


in reply to Can't automaticaly HTML-resize my images

If I'm reading your question (and HTML) right, you're creating (as esteemed monk merlyn points out) a dumbnail. Please don't let the browser resize your image. It will generally not look as good as an actual image resize and you'll be wasting bandwidth downloading a larger image than you want.

A good strategy is to pre-size your images to 3 or 4 standard sizes and then send the image you want. It's quite easy to to use something like Image::Magick to resize your images (in ratio) as you add images.


Comment on Re: Can't automaticaly HTML-resize my images
Re^2: Can't automaticaly HTML-resize my images
by Anonymous Monk on Jul 20, 2007 at 02:57 UTC
    The problem with that is finding a web host that has Image::Magic. Image::Magick is almost completely out of the minds of any web host you'll come by, and most will REFUSE to install it if you ask them to.

    I have no ability to resize and store more images, besides I have far more bandwidth than I do storage space so I can't make copies of all my images.

      I have no ability to resize and store more images, besides I have far more bandwidth than I do storage space so I can't make copies of all my images.

      So why not resize them before you upload them? That would save you storage space as well...  On your own machine, it should be easy to install ImageMagick or some other tool that is able to batch-resize images.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://627702]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-08-22 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls