Aqua-Resizer icon indicating copy to clipboard operation
Aqua-Resizer copied to clipboard

Aq_Resize.process() error: Unable to resize image because image_resize_dimensions() failed,

Open ghost opened this issue 8 years ago • 6 comments

I have a wordpress website running on AWS. However, on a specific page, it keeps giving me the below error. I didn't manually configure $url parameter. All the images on the page has the resize error. Can you help me figure it out?

[Tue Jul 18 15:24:30 2017] [error] [client xxx] Aq_Resize.process() error: Unable to resize image because image_resize_dimensions() failed, referer: http://www.xxx.com/xxx/
[Tue Jul 18 15:24:30 2017] [error] [client xxx] Aq_Resize.process() error: $url parameter is required, referer: http://www.xxx.com/xxx/
[Tue Jul 18 15:24:30 2017] [error] [client xxx] Aq_Resize.process() error: $url parameter is required, referer: http://www.xxx.com/xxx/

ghost avatar Jul 18 '17 17:07 ghost

aq_resize( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false )

it 's required to pass $crop value because if you wont pass $crop then it will not accept the boolen value.
you should try it. aq_resize( $url, $width = null, $height = null )

ajayshrivas avatar Feb 06 '18 06:02 ajayshrivas

I am also having same kind of error , i am passing the $crop value as true , the image_resize_dimensions() function is returning false. And the error msg says Unable to resize image because image_resize_dimensions() failed, i am passing image smaller than the $width and $height value.

prtk418 avatar Feb 12 '18 06:02 prtk418

Any solution for this?

andresmrg avatar Sep 20 '19 18:09 andresmrg

+1

v1talii-dev avatar Jul 15 '21 14:07 v1talii-dev

Check if php "gd extension". You might still face this problem in recent times which should be from your PHP version. anything between 7.0 to 7.4 automatically fixes this problem

chambahr avatar Sep 13 '21 04:09 chambahr

Check if php "gd extension". You might still face this problem in recent times which should be from your PHP version. anything between 7.0 to 7.4 automatically fixes this problem

"gd extension" is enabled, but i steel view error "Unable to resize image because image_resize_dimensions() failed"

v1talii-dev avatar Mar 03 '22 09:03 v1talii-dev