WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Resize already uploaded images

[Resolved] Resize already uploaded images

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author jepsonrae
    Member

    @jepsonrae

    Hi, sorry for the really long delay in replying; we’re not notified of new posts so weren’t aware of your question.

    Basically, the best way for existing images would be to download the ones on your server to your local machine using FTP, then run them through a batch-resizing process in Adobe Photoshop, Adobe Fireworks, or any other decent graphics package. Once complete, you can just re-upload the images to the same place with the same filenames, but at the reduced size.

    If you don’t have any graphics software, you can grab 1 month trials from the Adobe website which you can use unrestricted for a month. My recommendation would be Adobe Fireworks as it’s a lot simpler to use than Photoshop.

    Here are some instructions for using Fireworks batch resize:
    http://www.entheosweb.com/fireworks/batch_processing.asp

    Note that you would be using “Scale > Scale to Fit Area” rather than scale by percentage as in those instructions. Then set the area to match the settings you use for this plugin.

    Remember to keep backups of the originals on your local machine though just incase the new smaller ones aren’t correct.

    I hope that helps,
    Phil

    James Mehorter
    Participant

    @jamesmehorter

    +1 for this as a feature. We have thousands of images which have ballooned our storage to 4+ GB. There is no way I could download all those originals and resize them manually.

    Is this on a feature list of the plugin?

    Plugin Author jepsonrae
    Member

    @jepsonrae

    Hi,

    I’m afraid not as this isn’t how our plugin works. Our plugin hooks into the WordPress upload function and runs as soon as the image is uploaded to the server (before it’s even saved). To resize existing images would require having to create completely different functionality that we simply haven’t got time for in a free plugin.

    Try this plugin as I think it does what you require (no guarantees):
    http://wordpress.org/plugins/bulk-resize-media/

    Hope that helps,
    Phil

    Thank you for your help. When I re-upload the optimized image in the same location, in the media panel I see the old size (width/height) of the original image. How can I solve this problem?

    Plugin Author jepsonrae
    Member

    @jepsonrae

    I think this is a caching issue with WordPress in that it stores data for images based on filename – therefore if you upload the same filename, it retains the old size data. Try renaming your file and uploading it again to see if that helps.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Resize already uploaded images’ is closed to new replies.