Menu

#41 ImageManager Plugin for FCK

open
nobody
None
5
2006-03-22
2006-03-22
Gerhard
No

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.

Discussion

  • saul11

    saul11 - 2006-03-27

    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)?

     
  • Gerhard

    Gerhard - 2006-03-27

    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!

     
  • Thomas Tallyce

    Thomas Tallyce - 2006-03-30

    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.

     
  • Clays

    Clays - 2006-03-31

    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.

     
  • saul11

    saul11 - 2006-03-31

    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.

     
  • ggkk

    ggkk - 2006-04-15

    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?

     
  • Think30

    Think30 - 2006-05-08

    Logged In: YES
    user_id=1519017

    where can I download this plugin and in which programming
    language is it?

     
  • saul11

    saul11 - 2006-05-08

    Logged In: YES
    user_id=1371356

    You can download the plugin on the bottom of this page and
    it's PHP + HTML and Javascript

     
  • Lars Skovgaard

    Lars Skovgaard - 2006-05-10

    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?

     
  • Gerhard

    Gerhard - 2006-05-17

    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...

     
  • Gerhard

    Gerhard - 2006-07-01

    The latest version of the ImageManager

     
  • richard

    richard - 2006-11-24

    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 ) ;

     
  • zdzana

    zdzana - 2006-12-13

    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?

     
  • thierrybo

    thierrybo - 2006-12-18

    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

     
  • Ivo Sir

    Ivo Sir - 2006-12-29

    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

     
  • Mauro De Giorgi

    Mauro De Giorgi - 2007-04-20

    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

     
  • saul11

    saul11 - 2007-04-29

    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.

     
  • saul11

    saul11 - 2007-05-31

    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)

     
  • Thomas Tallyce

    Thomas Tallyce - 2007-07-09

    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.

     
  • Anonymous

    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

     
  • Mick O rourke

    Mick O rourke - 2008-06-25

    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.

     

Log in to post a comment.