Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to use Imagecache ("Image Styles") as the image sizer instead of the built-in settings in IMCE? Since it's in core in D7 and can both scale and crop at the same time, I'd love to use it.
Thanks for maintaining IMCE!
Comments
Comment #1
ufku CreditAttribution: ufku commentedYou can disable IMCE thumbnails and use something like this for imagecache thumbnails. Any imagecache URL can be derived from the image URL that IMCE provides.
Comment #2
mErilainen CreditAttribution: mErilainen commentedCould this be included as a button in IMCE by default? It's sooooo much easier to use than the very advanced dialogue which IMCE offers now, where you can do almost anything to the img element. Another very important point is that there is no fixed width nor height, so it will be "responsive ready" also.
Comment #3
inversed CreditAttribution: inversed commentedJust a heads up that the referenced code for using imagecache thumbnails will no longer work after Drupal 7.20 because it does not include a token in the URL.
Comment #4
yingtho CreditAttribution: yingtho commentedI have added a module in the sandbox that allow you to use image style on IMCE upload, please see https://www.drupal.org/sandbox/yingtho/2299505