ImageManager Plugin for FCK based an Wei Zhuo's Image
Manager for HTMLArea modified by Brent Kelly from
Zeald.com.
It is not my work, I just found it on the net!
For support pls. contact Brent Kelly.
Cool!
Could you list its features?
Would it be possible to add or does it have watermarking and
resizing abilities? Would it be possible to make it into a
image replacing tool, so that a selected image can be
replaced with a newly uploaded (overwriting the old file)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it works out of the box with the following features:
- creating and deleting (sub)directories
- fileupload and deleting
- renaming of files
- with the integrated editor you can
-- resize
-- crop
-- rotate
-- save (as)
it needs GD(2), ImageMagick or NetPBM
all of the above can be tuned via configfile.
Right now i am trying to modificate the script for having
captions and automated, predifined resizing options on upload.
Cause i am not the scripting-guru, all my modifications will
be hardcoded in the first step.
stay tuned!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems to work reasonably well. However, the biggest
three problems which people wanting to use this should be
aware of are:
1) If you haven't put the cursor somewhere within the
FCKediting area before pressing the toolbar button which
launches the plugin, the chosen image (as selected within
the plugin) ends up *above*, not within, the FCKediting area.
2) The image name isn't shown in the main scroll area of the
plugin. As such, similar-looking images have to be each
selected before it's clear which should be used.
3) When editing an image, the new version is saved with a _1
(or whatever) extension. That's not good given the need for
permanent URLs. There should instead be an option to
overwrite the original with the same name, or to rename the
original before the new version of it is saved to the same name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I include a new Image, I can change the src attribute
of the Image. If I save the code and want to change the
image, I can see all differents in the preview, the alt,
width and height attributs will change, but not the src
attribute.
Is there a bug in the Plugin?
The only way to change the Image is delete and include a new
image.
Have someone solution for this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Like goekokaraman, I've had problems getting the plugin to
change the scr attribute. The solution is to remove the
"if"-condition on lines 105 and 107 (or comment out the
lines, if you prefer). Keep line 106, and everything is well.
Like tallyce, I've likewise had problems with the placement
of images. New images sometimes get placed above the editing
window. However, the problem only manifests itself when
using IE, not Firefox. Does anyone have a fix available?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
New version of the ImageManager!
saul11 did a lot of improvements and debugging.
The most omportant new feature is watermarking:
quote from http://fckplugins.saulmade.nl
"Watermark an image with the ability to position the
watermark and set the opacity of it. For both the watermark
and the target image, any file type can be used."
does not work with windows XP
no editor/_source/internals/fckcontextmenu.js and return new FCKContextMenuGroup( true, this, 'ImageManager', FCKLang.ImageProperties, true ) ;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great solution, works fine except problem that appears in IE7. Manager window, has wrong height, is too smal. Ok, Cancel, Refresh buttons are out of sight! Is any fix for this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The file to download has only modified files, so you have to install Saulmade version first, then overwrite ImageManager folder.
Changes :
- Bug fix: plugin does not work with "php short_open_tag=off"
- Bug fix: dirname($img) is not valid with "php register_globals = Off"
- Bug fix: window too small with FF 1.5.08, especially with non english strings.
- Added imageManager.png demo image so that we can play with watermarking feature right from installation.
- Added missing french translations.
- Bug fix: "tools not displayed if action = flip" ("tools_flip block" does not exist).
- Bug fix: editor hangs displaying ’rotating’ if no rotate setting entered. Added default ’0’ angle value.
- Bug fix: Editor window too small with FF 1.5.0.8 especially with non english strings.
Thierry Bothorel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a bug related to the GIF format issue in GD. GIF has been supported in GD versions older than 1.6 and newer than 2.0.28. That is why there is a test for the GIF support in ImageEditor.php. The bug is in the isGDEditable() function:
Isn't it just that you have directEdit on and try to open the ImageManager without heving selected an image? directEdit will open the Image Editor of the ImageManager directly for the selected image bypassing the manager. To set it off, set IM_directEdit in ImageManager/fckplugins.js to false.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update 18-4-2007: Thierry Bothorel packed his extensions + fixes and included changes by Alan Pinstein and me, including constrain to configuarable size on upload via the manager. You can read all about it at http://www.thierryb.net/site/Update-to-Saulmade-ImageManager.html.
To this I've added the ability to specify multiple width and height sets that can be selected when uploading. Everything is packed and can be downloaded at http://www.saulmade.nl/FCKeditor/FCKPlugins.php.
(The package downloadable below is deprecated as the admin, Gerhard, does not reply on my request to update the package here)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-10-01
Logged In: YES
user_id=1894963
Originator: NO
Hi i have a problem conserning the thumbs they arent being made. The file is uploaded corectly it shows up in the manager but it only shows the name and not a thumb. If i go to the .thumb directory there is no thumb made. I cant seem to find a solution for this. Any one able to help me out?
Best regards,
Jelle Groenendal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a problem I think is related to the Image Manager .
when I insert an image or text on a page the editor automatically wraps it in paragraph tags
this only happens while using the Image Manager plug in ?
most of my work is in xhtml and css so I need more control over the html code.
Is there somewhere in the code I can change this behavior.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1371356
Cool!
Could you list its features?
Would it be possible to add or does it have watermarking and
resizing abilities? Would it be possible to make it into a
image replacing tool, so that a selected image can be
replaced with a newly uploaded (overwriting the old file)?
Logged In: YES
user_id=583270
it works out of the box with the following features:
- creating and deleting (sub)directories
- fileupload and deleting
- renaming of files
- with the integrated editor you can
-- resize
-- crop
-- rotate
-- save (as)
it needs GD(2), ImageMagick or NetPBM
all of the above can be tuned via configfile.
Right now i am trying to modificate the script for having
captions and automated, predifined resizing options on upload.
Cause i am not the scripting-guru, all my modifications will
be hardcoded in the first step.
stay tuned!
Logged In: YES
user_id=1484914
This seems to work reasonably well. However, the biggest
three problems which people wanting to use this should be
aware of are:
1) If you haven't put the cursor somewhere within the
FCKediting area before pressing the toolbar button which
launches the plugin, the chosen image (as selected within
the plugin) ends up *above*, not within, the FCKediting area.
2) The image name isn't shown in the main scroll area of the
plugin. As such, similar-looking images have to be each
selected before it's clear which should be used.
3) When editing an image, the new version is saved with a _1
(or whatever) extension. That's not good given the need for
permanent URLs. There should instead be an option to
overwrite the original with the same name, or to rename the
original before the new version of it is saved to the same name.
Logged In: YES
user_id=1411997
I get an error...
"Invalid base directory: ....../assets/images/"
I have read the readme file, but can't find a solution.
Logged In: YES
user_id=1371356
questions or discussions about plugins should be made in the
forum. The thread of this plugin is :
http://sourceforge.net/forum/forum.php?thread_id=1467574&forum_id=379487
A posted a note about the base URL/dir there yesterday.
Logged In: YES
user_id=1502513
I have only one problem with the ImageBrowser.
When I include a new Image, I can change the src attribute
of the Image. If I save the code and want to change the
image, I can see all differents in the preview, the alt,
width and height attributs will change, but not the src
attribute.
Is there a bug in the Plugin?
The only way to change the Image is delete and include a new
image.
Have someone solution for this problem?
Logged In: YES
user_id=1519017
where can I download this plugin and in which programming
language is it?
Logged In: YES
user_id=1371356
You can download the plugin on the bottom of this page and
it's PHP + HTML and Javascript
Logged In: YES
user_id=701276
Like goekokaraman, I've had problems getting the plugin to
change the scr attribute. The solution is to remove the
"if"-condition on lines 105 and 107 (or comment out the
lines, if you prefer). Keep line 106, and everything is well.
Like tallyce, I've likewise had problems with the placement
of images. New images sometimes get placed above the editing
window. However, the problem only manifests itself when
using IE, not Firefox. Does anyone have a fix available?
Logged In: YES
user_id=583270
New version of the ImageManager!
saul11 did a lot of improvements and debugging.
The most omportant new feature is watermarking:
quote from http://fckplugins.saulmade.nl
"Watermark an image with the ability to position the
watermark and set the opacity of it. For both the watermark
and the target image, any file type can be used."
For more details take a look at
http://fckplugins.saulmade.nl and check the ImageManager pane.
The work on that plugin continues...
Next step will be the auto-resize-feature when uploading an
image. Stay tuned...
The latest version of the ImageManager
Logged In: YES
user_id=1653100
Originator: NO
does not work with windows XP
no editor/_source/internals/fckcontextmenu.js and return new FCKContextMenuGroup( true, this, 'ImageManager', FCKLang.ImageProperties, true ) ;
Logged In: YES
user_id=1511465
Originator: NO
Great solution, works fine except problem that appears in IE7. Manager window, has wrong height, is too smal. Ok, Cancel, Refresh buttons are out of sight! Is any fix for this problem?
Logged In: YES
user_id=674184
Originator: NO
Hi,
As I need to add this plugin to my own FCKeditor integration to another CMS, I corrected some of these bugs. Modified files and corrected bugs here :
http://www.thierryb.net/site/Update-to-Saulmade-ImageManager.html?lang=en
The file to download has only modified files, so you have to install Saulmade version first, then overwrite ImageManager folder.
Changes :
- Bug fix: plugin does not work with "php short_open_tag=off"
- Bug fix: dirname($img) is not valid with "php register_globals = Off"
- Bug fix: window too small with FF 1.5.08, especially with non english strings.
- Added imageManager.png demo image so that we can play with watermarking feature right from installation.
- Added missing french translations.
- Bug fix: "tools not displayed if action = flip" ("tools_flip block" does not exist).
- Bug fix: editor hangs displaying ’rotating’ if no rotate setting entered. Added default ’0’ angle value.
- Bug fix: Editor window too small with FF 1.5.0.8 especially with non english strings.
Thierry Bothorel
Logged In: YES
user_id=1679404
Originator: NO
Hi there,
I found a bug related to the GIF format issue in GD. GIF has been supported in GD versions older than 1.6 and newer than 2.0.28. That is why there is a test for the GIF support in ImageEditor.php. The bug is in the isGDEditable() function:
if(function_exists('ImageCreateFrom'+$type) && function_exists('image'+$type))
Return 1;
else
Return -1;
... should be ...
if(function_exists('ImageCreateFrom' . $type) && function_exists('image' . $type))
Return 1;
else
Return -1;
Anyway, the variable $type always contains a string 'gif' at this point so the code snippet above could look like this:
if(function_exists('imagecreatefromgif') && function_exists('imagegif'))
return 1;
else
return -1;
Cheers,
Ivo
Logged In: YES
user_id=235494
Originator: NO
I have the follow error, on a js popup:
no image selected
what't mean?
The old version of the imageManager work well for me
Thanks
Logged In: YES
user_id=1371356
Originator: NO
Isn't it just that you have directEdit on and try to open the ImageManager without heving selected an image? directEdit will open the Image Editor of the ImageManager directly for the selected image bypassing the manager. To set it off, set IM_directEdit in ImageManager/fckplugins.js to false.
Logged In: YES
user_id=1371356
Originator: NO
Update 18-4-2007: Thierry Bothorel packed his extensions + fixes and included changes by Alan Pinstein and me, including constrain to configuarable size on upload via the manager. You can read all about it at http://www.thierryb.net/site/Update-to-Saulmade-ImageManager.html.
To this I've added the ability to specify multiple width and height sets that can be selected when uploading. Everything is packed and can be downloaded at http://www.saulmade.nl/FCKeditor/FCKPlugins.php.
(The package downloadable below is deprecated as the admin, Gerhard, does not reply on my request to update the package here)
Logged In: YES
user_id=1484914
Originator: NO
Request for some image management stuff to be added to the *base* FCKeditor connectors moved to
http://dev.fckeditor.net/ticket/147
on the new development site.
Logged In: YES
user_id=1894963
Originator: NO
Hi i have a problem conserning the thumbs they arent being made. The file is uploaded corectly it shows up in the manager but it only shows the name and not a thumb. If i go to the .thumb directory there is no thumb made. I cant seem to find a solution for this. Any one able to help me out?
Best regards,
Jelle Groenendal
Logged In: YES
user_id=1962381
Originator: NO
I have a problem I think is related to the Image Manager .
when I insert an image or text on a page the editor automatically wraps it in paragraph tags
this only happens while using the Image Manager plug in ?
most of my work is in xhtml and css so I need more control over the html code.
Is there somewhere in the code I can change this behavior.