Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jul 18, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 18, 2017

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/
@ajayshrivas
Copy link

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 )

@prtk418
Copy link

prtk418 commented Feb 12, 2018

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.

@andresmrg
Copy link

Any solution for this?

@v1talii-dev
Copy link

+1

@chambahr
Copy link

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

@v1talii-dev
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants