Open ghost opened 7 years ago
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 )
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.
Any solution for this?
+1
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
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"
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?