Resize Image After Upload
[resolved] Size up images to max width (2 posts)

  1. joetheinsider
    Posted 3 years ago #

    Hi jepsonrae,

    Thanks for this plugin, this significantly reduced space consumption of images in my blog.

    Just need one feature though, I need small images to size up to my set max width. I have we can clickable option for that.

    Hope to hear from you. :)


  2. jepsonrae
    Plugin Author

    Posted 3 years ago #


    That is something that would be possible, however it isn't really the best way to go about it and as such I don't think we'll put it into the plugin.

    The reason for this is because the image resizing process we use is destructive, in that it destroys the original image to save space. Down-sizing mega-large images to decently-large images isn't really a problem as you are simply preventing the mega-large images being on your server. To them resize images for posts, you should use some other plugin or library like timethumb.php, or use WordPress' built=in image resizing.

    If we were to perform up-scaling, you would end up with a very blurry image, and have no way to retrieve the original which you may require at a later date.

    The best thing would be to use either simple CSS to perform the up-scaling:

    img { min-width: 200px; height:auto; }

    Or to use an on-the-fly image resizing script such as timthumb.php to up-scale images without destroying the original.

    My preference would be the CSS method as it's quick and efficient and doesn't mess about creating temporary images on the server.

    I hope that helps,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Resize Image After Upload
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.