the url doesn‘t get back to me with a resized image. I actually have to modify the link at the end of the string (just removing a single letter or everything starting with &name= seems to work) in order to receive an actually resized output.
resize_image_url seems not to work until manual changes
Hi All
I am not sure if this is the exact same problem but I ran into this issue today so I thought I would post my solution in case anyone else stumbles across the post.
In my case it was because I had assumed that height and length were optional paramers so just requsted an image as such:
resize_image_url(img_url, 300)
This however just returns the original image. Even if you only want to resize one property, you still have to pass a zero value for the others like so:
I have tried all possible variations and have found no reproducible pattern that works reliably. At first I thought renaming or moving of files would cause the problem, but it does not.
Basically resize_image_url produces an URL of the following type:
I have found that in some erratically appearing cases the resize_image_url URL gets redirected wit a 301-redirect to an URL clipping the querystring of the following kind.
There is no combination of width, height and length that works predictably and the bug does not depend on the image format postfix ('jpg' or 'jpeg') or ratio ('horizontal' or 'vertical').
Example 2:
This image works only with a given width, but not width a given heigth or length:
EDIT: After publishing this post and clicking the link, it shows the same behavior as the above ones. This happens sometimes, when you any additional query parameter as you have descripbed in your post @bkroggel.