[wp-hackers] url image resizing
ronin at braydon.com
Fri Nov 2 10:56:26 UTC 2012
When using add_image_size with over 15 sizes when no image would use all
of them is when it seems not ideal, especially when needing to change
those sizes after they have been uploaded. The Dynamic Image Resizer by
Otto might help in that type of situation. Though there doesn't seem to
be a clear way to delete resize images without using bash. I find the
image_resize, with conditional, and the plugin WP Image Resizer by
Frank, to be preferable and flexible, and would have cleaner code. Since
the parameters of the image would be in the same place that the image is
being used, as usually add_image_size is used someplace else, such as
functions.php or another initiation point.
handled with a series of predefined increments set in PHP, so as to not
have too many options resources exposed. Having every size available is
On 11/02/2012 03:33 AM, Neil Pie wrote:
> I've always used add_image_size() but have never been too happy with the way it creates multiple versions of every image with no way of preventing this.
> wrapping image_resize() in a conditional and then creating images 'on the fly' seems to be a solution to this, but is there any reason that add_image_size is a preferable method?
> On 2 Nov 2012, at 10:28, Chip Bennett wrote:
>> Have a look at the add_image_size() core function instead.
>> On Nov 2, 2012 1:04 AM, "Braydon" <ronin at braydon.com> wrote:
>>> I've been looking in the Wordpress.org plugin directory for the plugin
>>> that would be able to do this type of image resizing, with a "w" and "h"
>>> query string parameters, such as this:
>>> And haven't been able to find this type of functionality, do you know
>>> where I can find this?
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers