Closed (won't fix)
Project:
IMCE
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2009 at 02:10 UTC
Updated:
18 Mar 2010 at 01:05 UTC
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
Comment #1
ufku commentedThis should be handled on the image insertion interface after IMCE sends the filepath.
See this bueditor example.
Comment #2
hedac commentedI see. But why? if IMCE handles it... as image browser does... it should be available for all editors.
Comment #3
jbiechele commentedsubscribe
Comment #4
hunt3r commentedsubscribe, 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.
Comment #5
arlinsandbulte commentedYou could also use this:
http://drupal.org/project/image_resize_filter
Comment #6
ufku commentedThere 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.