Is there a way to make WordPress process Full size images, which by default it leaves unmodified?
Leave a Reply
You must be logged in to post a comment.
Is there a way to make WordPress process Full size images, which by default it leaves unmodified?
You must be logged in to post a comment.
Yes, there is.
Found here:
http://www.wprecipes.com/how-to-automatically-use-resized-image-instead-of-originals
It will replace the original picture with the
large
size, defined in Media Settings (/wp-admin/options-media.php
).Here’s the code:
It is possible to use it with a custom size:
Changing all the occurrences of
$image_data['sizes']['large']
in the original code with$image_data['sizes']['new-large']