#139121 Jupiter X hard crop on image sizes not working
Branimir Morfov 8 months, 2 weeks ago
I am migrating one of my clients to Jupiter X. However noticed by chance that the hard crop is not hardcropping.
I have attached my defined image sizes and the results.Mohsin Al-Rabieai Support Team 8 months, 2 weeks ago
Sorry for the delayed response and the inconvenience. Yes, it’s a known bug and has a fix and just waiting to be released. It will be out anytime soon.
If you need it to be fixed sooner, please edit lib/api/image/functions.php line 172 from
$crop = ( isset( $size['size_c'] ) && 'on' === $size['size_c'] ) ? true : false;
$crop = ( isset( $size['size_c'] ) && 'on' === strtolower( $size['size_c'] ) ) ? true : false;
And the issue will be fixed.
Thanks for being patient.
BestsMohsin Al-Rabieai Support Team 8 months, 2 weeks ago
By the way, after fixing the above issue, you need to regenerate your thumbnails using a thumbnail regeneration plugin. (use the Force regenerate option).
BestsBranimir Morfov 8 months, 2 weeks ago
Thanks for the fix. Please let me now when this is included in an update, so I can update the theme without amending the file again.
Yes, I know about the regeneration – it is currently ongoing.
Thanks for the advice and the sollution!
Have a nice 2022 😉Mohsin Al-Rabieai Support Team 8 months, 2 weeks ago
It will be included in the next Jupiter X update for sure. It’s planned for 1.27.