I'm using IMCE as image browser to insert pictures in the textarea using a wysiwyg editor. Instead of resizing the files manually I would like to use imagecache. So it would be very good to have a list of imagecache presets selector before sending the image path to editor. it only needs to add a prefix to the path based on the preset chosen.
You can see an example of how this works in Image_browser project. http://drupal.org/project/imagebrowser
but imagebrowser only list image nodes uploaded with image module.

Comments

ufku’s picture

This should be handled on the image insertion interface after IMCE sends the filepath.
See this bueditor example.

hedac’s picture

I see. But why? if IMCE handles it... as image browser does... it should be available for all editors.

jbiechele’s picture

subscribe

hunt3r’s picture

subscribe, seems like a pretty obvious feature. It already does thumbnail sizing, the bui example is pretty much spot on. I'm going to do more research on this.

arlinsandbulte’s picture

ufku’s picture

Status: Active » Closed (won't fix)

There is now js method imce.imagestyleUR(url, presetname) in order to convert an image URL into an imagecache url according to the given presetname. Any application may call that function after it gets the real file URL from IMCE.