Is there a way to use Imagecache as the image sizer instead of the built-in settings in IMCE?

What I love about Imagecache is the ability to completely re-size all images on a site by changing a setting, instead of re-uploading all images.

Thank you for your work on IMCE!

Comments

derhasi’s picture

I had the idea to integrate a Select field for Imagecache_presets in IMCE_browse. But due to a lack of knowledge in JS I couldn't realize it.

The idea in concrete:
In a selection field there are listed the presets of Imagecache and an option 'original' (for the original image file).

At file selection (imceFinitor & imce Highlight ?) the script has to look for the preset-selection's value and -if not original is set- replace 'files' with 'files/imagecache/*preset*' within the path. Besides there have to be fetched the image's new height, width and size.
My problems:

  1. I don't know, how to get the select field's value via JS
  2. I don't know, how to get the new image's properties (height, width, size) via JS

If you could give me help/support it'd be nice. I'm available on ICQ too: #179684755

pierre_cotiniere’s picture

I created a theme function for that : http://drupal.org/node/317632

ufku’s picture

Status: Active » Closed (fixed)