You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#99025 Cropping and resizing issue

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 03 April 2019 14:42 BST

Infront
it seams that cropping and resizing tool doesn't work on joomla 3.9.4 (last version available) and PHP >7.x (it works on older PHP versions like 5.6.xx).
I used both version (275 276 and 207 208). Chrome.
Could you please confirm this issue and fix it?

Thanks

Ryan
This is working in my tests on PHP 7.1.20

What happens when you attempt to resize or crop an image?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Infront
Dear Ryan, thanks for the quick response!
It happens that when I try to Apply the crop, the loading modal appears for a while, but the crop doesn't work. Save and Undo buttons are disabled as nothing has happened.
In the cache folder the cropped/resized image is correctly created

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Infront
We think we have found out the issue. The problem is due to a notice printed by joomla that generate some dirty in json response.

Please try to activate Notice alert in your PHP.ini.

this is the response of a cropping request:
.......................
Notice: Accessing static property WFImageGD::$type as non static in D:\xxxxxxxxxxxxx\components\com_jce\editor\libraries\pro\classes\image\gd.php on line <i>874</i>
.............

Ryan
This will be fixed in JCE Pro 2.7.7

You can download the development version here - https://www.joomlacontenteditor.net/downloads/editor/pro/development/item/jce-pro-277-dev

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Infront
Thaks.
when are you planning to release this new version?

Regards

Ryan
Hopefully tomorrow.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.