Skip to content

ImageManager 2.0

R.I.P. ImageManager

As of today (13.11.08), ImageManager is e.o.l. If you need image editing functionality in WordPress, head over to Scissors

Current Version: 2.5.3 (supporting WordPress 2.5, WPMU 1.3.3 and WordPress 2.3.3)


click to view the ImageManager demoThe ImageManager plugin integrates the stand alone PHP ImageManager + Editor with WordPress. The ImageManager provides an interface for browsing and uploading image files on/to your server. The Editor allows for some basic image manipulations such as, cropping, rotation, flip, and scaling.

View the flash demo.

Feature list

  • Simple image editor (crop, rotate, flip, and scale).
  • Upload and delete images.
  • Can be localized using the included ImageManager.pot file.
    Language files: Chinese, English (default), German, Japanese, Norwegian and Spanish.
  • Supports the Role Manager plugin. Capabilities: Upload Files, Make Direcory, Edit Image and Delete Image.
  • Add style using inline style or by setting a class name.
  • Insert the selected image as; the original image, thumbnail with popup (create mini galleries), thumbnail with a link to the original image, thumbnail, or a text link to the original image.
  • Lightbox support. Added rel=”lightbox” to the Thumbnail with link to image and to Link to image. This should make it possible to use the WP lightbox JS or other lightbox plugins together with ImageManager.
  • You can disable the native WordPress Upload Files.

Version History (Change log)

v2.5.3 (June 14 2008) ImageManager 2.53 (111.8 KiB, 63,022 downloads)

  • SECURITY UPDATE, everyone should upgrade to this version.
  • In WP 2.5 The setting ‘Remove WordPress Upload Files’ will disable media buttons

v2.5.2 (April 16 2008) ImageManager 2.52 (111.8 KiB, 23,920 downloads)

  • Added support for WPMU 1.3.3:
    Installation:

    1. Copy the ImageManager tree into mu-plugins
    2. Edit ImageManager/wpmu/imagemanager-config-php
    3. Move ImageManager/wpmu/imagemanager-bootstrap.php into mu-plugins
  • Added support for WordPress 2.3.3
  • Minor fixes

v2.5.1 (April 12 2008) ImageManager 2.51 (120.7 KiB, 2,104 downloads)

  • Minor fixes and clean ups:
    New check for new version routine added
    It doesn’t include Prototype.lite.js and Moo.fx.js any more
    The button is placed on the first line of the editor
    ps_imagemanager_quicktag.js is only included when needed
    Removed unnecessary files

v2.5.0 (April 10 2008) ImageManager 2.50 (130.6 KiB, 1,805 downloads)

  • Maintenance release, added support for WordPress 2.5 (i.e. no new features are added). It’s only tested with WordPress 2.5 (but it should work in older versions) and in IE 7 / Firefox 2.x
  • Credits:
    All you guys who asked for this release. My plan was to kill this project, but you convinced me to continue :)

    Viper007, I used his Viper’s Video Quicktags plugging as a template for WordPress 2.5 integration

  • Note: As I said, this is a maintenance release. I will not add new features to ImageManager 2.x (but I’ll try to fix bugs), it really need a total rewrite. The next version will be available when it’s done (i.e. I don’t know when)

v2.4.1 (January 29 2007) ImageManager 2.41 (112.3 KiB, 12,167 downloads)

  • Minor fix, I forgot to update the tracking/version number.

v2.4.0 (January 29 2007)

  • Bugfix: Error: openImageManager is not defined and the popup should resize to correctly.

v2.3.9 (January 24 2007)

  • Bug fix

v2.3.8 (January 24 2007)

  • WordPress 2.1 support added. If you’re not running WordPress 2.1, you don’t need this update.

v2.3.7 (April 2 2006)

  • Added Insert Image Defaults to the Option Page, which allows you to preconfigure how you’d like the images to be inserted.
  • Minor bug fixes

v2.3.6 (Mars 27 2006)

  • Maintenance release, fixes short tags, missing popup and some minor bugs. Also, Ralph @ http://rainonline.ws has helped me cleaning the localization in the Option page. The incuded ImageManager.pot is updated

v2.3.5 (Mars 23 2006)

  • SECURITY UPDATE, everyone should upgrade to this version.

v2.3.4 (Mars 18 2006)

  • Added Thumbnail with PopUp, which allows you to create mini galleries.
  • Added lightbox support (rel=”lightbox”) to the Thumbnail with link to image and to Link to image. This should make it possible to use the WP lightbox JS or other lightbox plugins together with ImageManager.
  • Added translation support for the Options page (please upload translations to the forum).
  • Minor fixes; set border=”0″ as default, added width and height to thumbnails.

v2.3.3 (February 26 2006)

  • For you who are running the Role Manager plugin, I’ve added two more capabilities; Edit Image and Delete Image.
  • All php short tags are converted to regular php opening tag.

v2.3.2 (February 23 2006)

  • Fixed a major bug in the image editor, if you’re running v2.3.0 or v2.3.1, this version is a must.

v2.3.1 (February 21 2006)

  • Added the title attribute (same value as the alt attribute).
  • Added the style attribute, which allows you to add inline style.
  • Added the class attribute, which allows you to set a class name.
  • The lang/ImageManager.pot file is updated to reflect these changes

v2.3.0 (February 20 2006)

  • Localization: Added gettext support, you can now translate the plugin (see below). If you don’t need localization, you don’t have to upgrade to v2.3.0.

v2.2.0 (January 22 2006)

  • Added the option to insert the selected image as; the original image, thumbnail with a link to the original image, thumbnail, or a text link to the original image.

v2.1.3 (January 20 2006)

  • bugfix for this error: “Parse error: parse error, unexpected T_VARIABLE in wp-content/plugins/ImageManager/classes/transform.php on line 130″

v2.1.2 (January 17 2006)

  • Added the option to disable the native WordPress Upload Files.
  • Fixed minor bugs

v2.1.1 (January 13 2006)

  • Changed the role names, ImageManager is now using the Upload Files and Make Direcory roles if you are using Role Manager. After upgrading from the privious version, remember to set the new roles.
  • ImageManager will add a trailing slash to the library path if you forgot to add it.
  • All filenames are now in lower case and the calls to them reflect this. Remeber to flush the browser cache if you are upgrading from a previous version.

v2.1.0 (January 8 2006)

v2.0.1 (January 4 2006)

  • Fixed one major bug (wrong option name in get_option()) + some minor bugs

v2.0.0 (January 3 2006)

  • Initial release

To do / wish list

These are the features I’m looking at. I might do them all, but I also might drop some.

  • Add title attribute (same value as the alt attribute).
  • Add style attribute, which allows you to set the border, position the image etc.
  • Add class attribute, which allows you to set class name.
  • Set the default size for the thumbnails in articles
  • Save the edited images to a temp folder
  • Add “Insert thumbnail in Index.php page and full image in Single.php”

Upgrading

If you are upgrading, delete the old version and continue with the installation instructions below (you might have to flush the browser cache (= ctrl+F5 or ctrl+r).

Installation

Installation is simple, just follow the instructions below.

Step 1

Extract the archive and save into your WordPress plugins directory. After you’ve done this you should have a diretory structure like this:

Step 2

Activate the plugin
Step 3

Configure ImageManager on the Options >>> ImageManager page. ImageManager will not be enabled until you have configured it.

Step 4

You are done, open the editor, click on the ImageManager icon and test it. If you can not upload images and / or the editor doesn’t create thumbnails, you must check file permissions. The web server must have write access to the image folder.

If you are LOST i.e. can’t find your base image directory, download LOST.zip (228 bytes, 2,154 downloads), extract LOST.php and put it in your base image directory. Access it from your brower i.e.: http://domain.com/wp-content/uploads/LOST.php (remember to remove the file when you are done. )

Localization

You can translate the plugin by copying the lang/ImageManager.pot to lang/LOCALE.po (LOCALE being your locale i.e. fr for French). Edit the LOCALE.po file using poEdit or an other editor. If you are using poEdit, create a locale/ImageManager-LOCAL.mo file. If you are using another editor, after you are done editing, run imagemanager-gettext.sh (in the lang directory) with your LOCALE as parameter, i.e.:

./imagemanager-gettext.sh fr

Bugs/Comments

Please post bugs or general comments in my forum: http://soderlind.no/forum

Donate

If you enjoy using this plugin or appreciate the hard work that goes into developing and maintaining it for the community, please consider donating. All funds will go into the support, maintenance, and development of future ImageManager releases. Thanks for your support.

I would like to thank everyone who has made a donation, I really appreciate your support!

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

107 Comments

  1. 1stpixel

    nice plugin, although you should search and replace ” ” 4.3 i believe). there seems to be another problem with the upload path. everytime i reload the settings page it adds another slash to the paths.

    Posted on 03-Jan-06 at 12:04 | Permalink
  2. 1stpixel

    arg the validator stripped my post: i meant you should replace >? with >?php

    Posted on 03-Jan-06 at 12:10 | Permalink
  3. PS

    I can’t reproduce the error (extra slash is added). Could you please elaborate?

    I will fix the code (not mine) where <?php is missing.

    Posted on 03-Jan-06 at 15:12 | Permalink
  4. I’m getting this error when trying to use the ImageManager icon from the editor:

    “Invalid base directory:”

    I’m using the latest release of WP 2.0.

    Posted on 03-Jan-06 at 18:20 | Permalink
  5. (sorry…I just submit too soon)

    I’ve checked permissions and error logs and don’t see anything that would suggest a problem.

    Posted on 03-Jan-06 at 18:28 | Permalink
  6. PS

    Brian: If you are running on a shared host, your base directory might be something else than the directory path you ftp to i.e.: you ftp to /var/www/html/images, but your base path is /home/virtual/siteX/fst/var/www/html/images/

    Create a phpinfo.php file and save it in your image directory:
    <?php
    phpinfo(INFO_VARIABLES);
    ?>

    Access the phpinfo.php using your web brower (disable .htaccess protection for the directory if you have implemented it), and look for the _SERVER["PATH_TRANSLATED"] variable, it should give you the path to your image directory (remember to remove phpinfo.php from the path).

    Don’t forget to remove the phpinfo.php file after you’ve found the path.

    Posted on 03-Jan-06 at 23:23 | Permalink
  7. Having the same problem as Brian. I tried your phpinfo advice and I was already using the same directory. What I CAN see of the plugin looks great, would like to see it working though.

    Posted on 03-Jan-06 at 23:57 | Permalink
  8. PS

    Thank you guys for pointing out the bugs. The main one was a typo, I changed the option name used in get_option() but forgot to remove the old one from wordpress (a print_r(get_alloptions()); showed me that). I’ve also added <?php where it was missing + the Option >> ImageManager page will now add, when you save the settings, a trailing slash to base directory and base url if it is missing.

    Posted on 04-Jan-06 at 2:41 | Permalink
  9. Success, success!

    Thats what I call service!!

    Posted on 04-Jan-06 at 3:25 | Permalink
  10. Just a nitpicking suggestion would be making the thumbnail view taller (two or more rows of images instead of one). This is a bad ass plugin, I hope all of the WordPress 2.0 plugins are this awesome.

    Posted on 04-Jan-06 at 6:00 | Permalink
  11. sam s

    super smashing great!!!!

    works like a dream, right off! I shall be looking more in depth at your code to see if I can make a simular plugin to manage the links in wordpress (would allow one article to link to another within MCE)

    and also I want to get UFO working through wordpress – the games a foot!

    your a great inspiration, hats off to you many thanks :-)

    Posted on 06-Jan-06 at 5:30 | Permalink
  12. it seems really cool, unfortunately the large popup doesn’t work with my firefox too. On rollover the status bar says “javascript:;”.

    Posted on 09-Jan-06 at 2:43 | Permalink
  13. PS

    Christian: What OS are you running on? I’ve tested ImageManger with IE (6.something, I don’t use it much) and Firefox 1.1 and Firefox 1.5 all on Windows XP

    Posted on 09-Jan-06 at 23:05 | Permalink
  14. windows ox, firefox 1.5 :(

    Posted on 09-Jan-06 at 23:46 | Permalink
  15. xp i meant :)

    Posted on 09-Jan-06 at 23:48 | Permalink
  16. PS

    christian: strange, that’s my config too and it works like a charm. Does the javascript console (Tools > JavaScript Console) report any errors ?

    Posted on 10-Jan-06 at 9:46 | Permalink
  17. hi!
    i had one big problem with the Classes/Filename.php files. they are linked with uppercase but are present in the folders in lowercase.
    if fixed it. no problem.

    i’ve get the imagemagick-4.2.9_i386-static-1.tar.gz, unpacked it and set the folder on the settings page. so my problem is now, i get no thumbnails and if i edit a image after clicking the gree check button i get the red error msg:
    “No Image Available”

    ???

    Posted on 11-Jan-06 at 13:07 | Permalink
  18. solved the problem:
    ending slash on the IM directory.

    (write this in the description: “with ending slash”. saves a lot of time…)

    Posted on 11-Jan-06 at 15:13 | Permalink
  19. I’m setting up a website where pictures import quite much. Very nice work. It helps me a lot.

    Posted on 11-Jan-06 at 19:36 | Permalink
  20. I have the same problem mentioned above. The error from the console says:

    Error: selectImage is not defined

    Any ideas on this one?
    Thanks a lot! I am running Firefox 1.5 on Windows XP.

    Posted on 12-Jan-06 at 1:28 | Permalink
  21. nepf

    when i click on the ImageManagerIcon in the editor i get this error:

    Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/Files.php) is not within the allowed path(s): (/var/www/web15/html/:/var/www/web15/phptmp/:/var/www/web15/files/:/var/www/web15/atd/) in /var/www/web15/html/blah/wp-content/plugins/ImageManager/Classes/ImageManager.php on line 9

    Warning: main(Files.php) [function.main]: failed to open stream: Operation not permitted in /var/www/web15/html/blah/wp-content/plugins/ImageManager/Classes/ImageManager.php on line 9

    Fatal error: main() [function.require]: Failed opening required ‘Files.php’ (include_path=’.:/usr/lib/php’) in /var/www/web15/html/blah/wp-content/plugins/ImageManager/Classes/ImageManager.php on line 9

    Posted on 12-Jan-06 at 19:04 | Permalink
  22. PS

    tobsn: Thank you for pointing out these bugs, I’ll try to release a bugfix later today(night), I allready have the code for appending a missing slash, just forgot to implement it for library path. I’ll lower case all the filenames and do the same in the include calls.

    nepf: the problem you encounter have two reasons, the bug above (upper vs lower case in filenames) and ‘open_basedir restriction in effect’, read more about it at http://www.php.net/features.safe-mode

    Posted on 12-Jan-06 at 22:10 | Permalink
  23. Shoshanna

    I have just installed this plugin and it works very well… In TinyMCE I see the button, but I don’t see the ImageManager quicktag button when I disable the WYSIWIG editor. Any help wold be very much appreciated

    Posted on 14-Jan-06 at 11:14 | Permalink
  24. Susan

    I just downloaded and installed your plugin for WP 2.0. I am running Safari 2.0.2 on Mac 10.4.3. I configured the plugin, but I’m not seeing the Imagemanager icon. Not sure if this is a Mac/WP issue, or if something is configured incorrectly somewhere along the line.
    Any ideas?

    Posted on 15-Jan-06 at 2:43 | Permalink
  25. Hi cool stuff but is usefulfor Multi User WordPress ?

    Posted on 15-Jan-06 at 15:55 | Permalink
  26. PS

    Shoshanna: I’m looking into it, I’ll post an update it this is related to ImageManager (might be a WP 2.0 bug)

    Susan: Sorry but I can’t help you with Mac issues, I don’t have access to a Mac.

    brano: Can’t see why not, but I haven’t played with wpmu for some time. You should ask at the wpmu forum

    Posted on 15-Jan-06 at 17:10 | Permalink
  27. i have 2 problems: the plugin don´t create thumbs. and: i can´t upload files in new directorys. i think the problem is safe_mode on. but my provider says “no” to safe_mode “off”. have you a idee or solution for the problem. because i like to use this great plugin.

    tusen takk for hjelp :)
    hilsen,
    markus

    Posted on 15-Jan-06 at 18:26 | Permalink
  28. Chris

    I get errors in the post-page and the link on the imagemanager icon only states “javascript;;”, any ideas?

    Posted on 15-Jan-06 at 20:39 | Permalink
  29. I just upgraded to 2.11 and thumbs no longer got created. Seems the problem is due to the code setting the ‘driver’ name to “GD” or “IM” etc., but the code itself now has lowercase filenames everywhere, so “GD.php” can’t be included for example. This might not break on OSX servers that don’t care much about letter case (or on Windows), but on Linux with EXT3, it cares.

    My “quick fix” that works so far was to change line 130 in classes/transform.php to read:

    include_once strtolower(“$driver.php”);

    i.e., adding the strtolower call. Fixed it for me, but that may not be the only problem. Seems to be the only include like that though, in the code, at least that a quick grep exposed.

    Posted on 16-Jan-06 at 7:25 | Permalink
  30. PS

    Ben: Thank you for finding this bug, I feared something like this might happen when I lowercased every file. I’ll release an upgrade tomorrow

    Markus: Google around and look for how to disable safe mode for php

    Chris: What kind of errors? ““javascript;;”” is ok

    Posted on 17-Jan-06 at 0:36 | Permalink
  31. This plugin looks amazing. Would there be any way to turn off WordPress’s native image uploader if this plugin is enabled?

    That would simply the interface for the user and lead to less confusion if I want the user using only your plugin to upload images.

    Thanks again for sharing something that fixes WordPresses rather broken image uploader!

    Posted on 17-Jan-06 at 7:02 | Permalink
  32. PS

    Good idea Ocellated, I will include an option for this in the next release.

    Posted on 17-Jan-06 at 12:10 | Permalink
  33. And PS, while we’re talking about it, I encountered a problem yesterday with file uploads. I certainly don’t know if it has anything to do with your plugin, or if it’s WordPress. I was wondering if you could confirm…

    I gave a request for support at the following address and described the problems:

    http://redalt.com/support/topic/70

    Posted on 17-Jan-06 at 17:28 | Permalink
  34. PS

    Ocellated, I agree, it must be a bug if you’ve disabled upload and you can still do it in WP. Since ImageManager adhere to the roles given and WP doesn’t you should report this bug to the wp-hackers list . You find the list at: http://codex.wordpress.org/Mailing_Lists

    Posted on 17-Jan-06 at 21:50 | Permalink
  35. hi again,

    @per søderlind: i´m not the hoster, i have just rent space from a hoster. he means – safe_mode “on”. he also means with php6 it is not possible safe_mode “off” – it is everytime “on”. so i think maybe it will be a big problem in the future but i´m not sure.

    hilsen,
    markus

    Posted on 18-Jan-06 at 0:32 | Permalink
  36. Thanks for v2.12… I do like the “hide wordpress upload” feature. But even cooler, what I really want (!) is to *replace* the WP upload widget with the ImageManager one, directly in the post page. Ideally it wouldn’t load the thumbs on every page view (I guess), as that would be a bit heavy, but at least on Firefox on the Mac, it takes FOREVER (sometimes 5-10 seconds) to open a new browser window; having it embedded in the current page would be awesome. I’m thinking it wouldn’t even be that difficult (ha!), but I’ve never tried to extend WP, so what do I know (not a lot). Just something to think about, if others agree, maybe this would be something doable/advisable…

    Posted on 19-Jan-06 at 4:44 | Permalink
  37. Sorry to bug but I am having some issues :(

    The files upload, but no thumbs? I think I had thumbs working with an eariler version however? I do have my image directory set to 777 so the files upload fine.

    Are you supposed to see image preview/thumbnails in the window? Becuase all I get is a filename to click?

    Just seeing if anyone has worked around these. I am hosted at PowWeb if that helps.

    Posted on 20-Jan-06 at 2:36 | Permalink
  38. ch

    Hi, nice plugin, thanks for this. Unfortunately, I’ve some problems:

    The first thing is, that no thumbs are generated when I upload pics. The other thing: When I click on the “edit” button, I get the following error:

    “Parse error: parse error, unexpected T_VARIABLE in /home/www/blah/wp-content/plugins/ImageManager/classes/transform.php on line 130″

    Environment: Safe Mode is off, directory is chmoded 777. I am able to uploade pics and to insert new folders.

    Any ideas?

    Thanks+Regards
    ch

    Posted on 20-Jan-06 at 10:29 | Permalink
  39. PS

    ch: Thank you for finding this bug, a new release should be available soon.

    MKJones: The new release (availbe soon) might fix your problem.

    Posted on 20-Jan-06 at 12:17 | Permalink
  40. PS, I can confirm what ch has just reported. I see both of those bugs myself, so it’s a problem wider than just one person…

    I do however really appreciate the option to turn off the image uploader! Thanks for taking my suggestion. It’ll save no end of frustration on the blogs I manage.

    I found just one thing that I’m wondering about. I’ve used the plugin IImage Browser with WordPress 1.5 for some time now. One of the things it can do which I don’t think ImageManager can do is provide some options when adding a picture to a post.

    For example, you can add a thumbnail that links to the big picture. You can add just a thumbnail. You can also add a text link that links to either the thumbnail or the picture.

    It seems that ImageManager only links to the picture you’ve uploaded (or edited)? It would be nice on the main screen of ImageManager, after you’ve selected a picture to add to a post, if you had an interface for allowing this functionality when adding images to posts.

    Maybe this is too difficult or time consuming… What are your thoughts on this?

    And thanks again for the plugin!

    Posted on 20-Jan-06 at 16:46 | Permalink
  41. PS

    Ocellated, the bugs are fixed in the latest release (2.13).

    I like the idea; having an option on how to link the image. I’ll look into it and see if it can be done without a larger rewrite.

    Posted on 20-Jan-06 at 20:00 | Permalink
  42. Hi, i’m trying to integrate the image manager with EditorMonkey (and FCKEditor).
    does anyone try this? thanks!

    Posted on 22-Jan-06 at 20:13 | Permalink
  43. PS

    I did a FCKEditor <-> ImageManager integration some time ago, but since WP 2.0 is doing TinyMCE, I droped that.

    Posted on 22-Jan-06 at 23:07 | Permalink
  44. mainmanc

    I love this plug-in, I am suprised WP2 didnt have this type of ability out of the proverbial box. But…I am having a strange problem:

    Everything in the plug in works fine. I can create/delete items, add any exsisting images into my posts, etc. But when I upload an image, it appears to take the time to upload (bigger files take longer, etc) but once the window refreshes, there is nothing there.

    I know my permissions are good, as I can use the built in file manager just fine. My PHP setup in Safe Mode=off.

    Now I do have to say my set up is a little out of the norm for most WP users. I run a WIMP server. So my PHP is running on Windows. But I have no problem using the build in image control, so I am not sure why its not working.

    Any ideas would be awesome, I really, really want to use this plug in. I cant stand the built in one now that I have seen this :)

    Cheers.

    Posted on 23-Jan-06 at 20:55 | Permalink
  45. PS

    Hi mainmanc, what kind of wimp are you running? I’ve tested the plugin using http://www.apachefriends.org/en/xampp-windows.html and PHP 4.x (xampp allows you to switch between PHP 5.x and PHP 4.x). I’ve not tested the plugin with PHP 5.x

    Posted on 23-Jan-06 at 22:45 | Permalink
  46. mainmanc

    Thanks for the information. The bummer is that I dont have that type of access to my server. It just runs straight IIS5.

    I assume I am out of luck. So the plugin requires Apache to run?

    Cheers.

    Posted on 24-Jan-06 at 5:05 | Permalink
  47. PS

    mainmanc, are you able to create directories using the wp filemanager?

    Posted on 24-Jan-06 at 9:22 | Permalink
  48. sam s

    Hi,

    What a fanastic plugin really good stuff!!

    Is it possible to have the dialog image popup accept vars of an existing image? For example when you have an image in the MCE editor (already inserted in the document) and you click on the built in mce image insert button the url and size of the mage is put in the dialog box.

    When using the lastest version of the ImageManager this is not set.

    you’ve set me on the way to creating my first plugin for wordpress.
    a real inspiration, thx – Sam

    Posted on 25-Jan-06 at 5:37 | Permalink
  49. Travis

    I deleted my ImageManager folder and uploaded the new archive. I see the dropdown with the choices for inserting image, thumbnail, and/or link, however, changing the select box doesn’t have any result once I click “Ok”– I just wind up with the image inserted into the editor. Everything else seems to work. Firefox 1.5 on XP.

    Anyone else have the same problem? Any ideas where to look into this not functioning? Seems like it would be a very nifty feature…

    Thanks!

    Posted on 25-Jan-06 at 10:49 | Permalink
  50. Hi PS. Thanks for a really good plugin, it’s made my life a lot easier! ;)
    I’m glad to see that you’ve added support for thumbnail/link alternatives,
    however, I cannot get these to work.

    För example; When selecting an image, with option “thumbnail+link” and pressing OK in the imagemanager window, the image inserted in my article doesnt get a link and is of the same filesize as the main image. Am I doing something wrong here?

    Posted on 25-Jan-06 at 10:53 | Permalink
  51. Great plugin.. installed flawlessly and worked when WP’s native upload wouldn’t.

    Now what I would really like is being able to upload other types of documents, e.g. PDFs, any ideas?

    Posted on 25-Jan-06 at 20:26 | Permalink
  52. PS

    Travis and dow, you might have to clear the browser cache to make this work (or maby the browser log a javascript error ?, if so please post the error here).

    At the moment I’m trying to localize the plugin, I’ll look into this and other issues and wishes when localization is done.

    Posted on 26-Jan-06 at 0:41 | Permalink
  53. Great plugin btw.

    Just wondering whether there is any way to set the ‘default’ size of the thumbnails. Mind you not the thumbnail size for the preview window, but the thumbnail that is created in the post itself. The general idea is to give some creative freedom whilst retaining the objective of the thumbnail.

    It would be great to have a way to set margins as well.

    I know all the above can be done manually, but still, it’ll be great tool. Just shows you, there’s no pleasing us lazy bastards.

    Posted on 26-Jan-06 at 11:05 | Permalink
  54. PS

    D Magnus, I knew that this deman would come :) I’ll see if I can figure out a userfriendly method for setting the thumbnail size. .. but first I ‘ve to finish the localization.

    I’ll post a todo/wish list soon.

    Posted on 26-Jan-06 at 16:56 | Permalink
  55. Is it possible to upload an image from a URL?

    Posted on 27-Jan-06 at 18:30 | Permalink
  56. PS

    WebGuyNJ, no it is not. There’s a thin line between userfriendliness and too much functionality, but I might add that.

    Posted on 28-Jan-06 at 2:27 | Permalink
  57. I don’t know PS… You might be crossing that line. As my dad (who’s a software developer) always says, everybody wants a button.

    Most of those buttons end up causing more confusion for end users. Unless of course it’s my button. :)

    Seriously, you’ve done an awesome servous to the WordPress community.

    Posted on 28-Jan-06 at 4:22 | Permalink
  58. Most times I write about something I see on another site and I hate to link back to another site for images, but it would be great to grab a cop (of a non protected or watermarked image) and reference it on my site easily.

    Posted on 28-Jan-06 at 6:43 | Permalink
  59. Robert

    Hey

    Great plugin. Just wondering if what to do if I want to style each image with say, a dotted border. When I manually add a class or id=” to each image using the html button in the editor it works. But are the images styled by one of your built in CSS files as I couldnt get that to work. I can style each imge of course, but my client wont have any clue on how to add class=”" etc.

    Any thoughts would be great.

    Thanks

    Rob

    Posted on 28-Jan-06 at 8:43 | Permalink
  60. Silver

    I think I have the same problem with ImageManger like the above…
    My PHP-Version 4.3.10-16 running with safe_mode = on

    ImageManager works fine except I cannot see the uploaded images in the upload folder or in the thumbs folder in the popup-window.
    I don’t know why because everything else is all OK !
    So I can transform images with the build in editor, I can insert the images in the Editor og WP and the images are all shown on the published webpages – even thumbs !

    How can I fix the problem, ‘cos I want to see the images first so I can select the right one for my postings.

    Posted on 28-Jan-06 at 15:09 | Permalink
  61. classes/imagemanager.php:
    function fetchImage( $url ) {
    $tmpFile = ‘/tmp/’.uniqid(‘tobsn_roxx’);

    // -e “url” sends a referer header pointing at the same URL.
    // This is usually enough to satisfy the anti-hotlink mod_rewrites.
    // -sS supresses nomal output (-s), but shows errors (-S).
    $url = str_replace( ‘$’, ‘\$’, $url );
    $command = ‘curl -sS -o ‘.$tmpFile.’ -e “‘.$url.’” “‘.$url.’”;chmod 777 ‘.$tmpFile;
    exec( $command, $output, $return );

    // Easy test to see if curl suceeded.
    if(file_exists($tmpFile)) {
    $file['name'] = $_POST['file_name'];
    $file['tmp_name'] = $tmpFile;
    $file['size'] = filesize( $tmpFile );
    $file['error'] = 0;
    return $file;
    }
    else {
    return;
    }
    }

    Posted on 28-Jan-06 at 22:07 | Permalink
  62. classes/imagemanager.php:
    function processFetches()
    {
    if($this->isValidBase() == false)
    return;

    $relative = null;

    if(isset($_POST['dir'])) {
    $relative = rawurldecode($_POST['dir']);
    }
    else {
    return;
    }

    //check for the file, and must have valid relative path
    if(!empty($_POST['fetch']) && $this->validRelativePath($relative))
    {
    $file = $this->fetchImage($_POST['fetch']);
    if( is_array( $file ) )
    $this->_processFiles($relative, $file);
    }
    }

    Posted on 28-Jan-06 at 22:08 | Permalink
  63. assets/manager.js

    function doFetch()
    {

    var fetchForm = document.getElementById(‘uploadForm’);
    var fetchName = document.getElementById(‘fetch’).value;
    fetchName = fetchName.substring( fetchName.lastIndexOf(‘/’)+1, fetchName.length );
    var fileName = prompt(“File Name”,fetchName);
    document.getElementById(‘file_name’).value = fileName;
    if(fetchForm)
    showMessage(‘Fetching’);
    }

    manager.php:
    Fetch

     Fetch

    etc.

    do the rest in your updated files ;)

    Posted on 28-Jan-06 at 22:11 | Permalink
  64. rocky2889

    TOBSN,

    How do you install the imagemagick on your own site. Because my host doesn’t has the imagemagick install. Can you share with us your method of installation. Anybody can help if you know.
    Thanks

    Rocky

    Posted on 29-Jan-06 at 4:23 | Permalink
  65. get the precompiled binaries. ;)

    Posted on 29-Jan-06 at 16:54 | Permalink
  66. Hi :)
    First of all: the plugin is exactly what i have been looking for !
    Unfortunately i cant use it verymuch since i have exactly the same problem as MKJones. :(

    For some reasons i just cant preview some pictures and i cant make thumbnails for them, while other pictures work without problem.

    It seems to me that bigger pictures make problems. Here is an example:
    http://img513.imageshack.us/img513/2631/whatswrong9lr.jpg

    Any ideas maybe?

    Regards, rascal

    Posted on 29-Jan-06 at 20:39 | Permalink
  67. I have an issue with the plugin where everything works great, except that the image editor creates multiple duplicate temp files after working on an image. When I FTP to the site I can’t see or delete them, but they show up in the Lazy Gallery plugin. This is wordpress 2.0.1, and the latest version of this plugin. Is there any way that I can control what happens with these temp files besides the prefix they get? Or perhaps have them go into a separate folder?

    Posted on 01-Feb-06 at 10:08 | Permalink
  68. PS

    Jacob, on a UNIX system I guess you know that files prefixed with a dot is “hidden”, that’s why the temp files and thumbnail folder has a dot as their default prefix. I belive that Lazy Gallery should obey this and ignore these files.

    Posted on 02-Feb-06 at 2:22 | Permalink
  69. sam s

    Wishlist for ImageManager

    #1 set a path for a temp folder (for thumbs and images made from editing originals)
    #2 intergration with Lightbox JS, allows you to use lightbox js when you click on images in post
    #3 ability to show small version of image in excerpt, and larger version in the full post
    #4 tighter intergration with the image editor thingy

    if I find a momment to have a bash at enabling these features

    Posted on 03-Feb-06 at 2:09 | Permalink
  70. Rocky2889

    TOBSN,
    Can you please be more elaborate on how to install in my own domain. I can use a ftp to upload the file. Sorry I am newbie to linux :) . Thanks for your help
    Rocky

    Posted on 03-Feb-06 at 4:27 | Permalink
  71. sam s

    I see that you can set the directory for the thumbs. It would still be great to be able to save the edited images to a temp folder. I was thinking something along the lines of taking the full path of the image and changin the slashes ‘/’ to userscores ‘_’ and using that as the images filename and saving that in the temp folder. If another option was added to allow certain folders to be excempt from thumbnail creation then ImageManage could be used to browse any image database once configured with the path.

    Temp, Gallery and otherwise browserable folders folders could be configured in the option panel

    This would be really neat and supremely user friendly & expansive enharncement for an already robust & feature rich plugin.

    Posted on 03-Feb-06 at 5:43 | Permalink
  72. Sam S

    Hi, I have just discovered an issue with ImageManager. After uploading an image the folders and files disappear (you can’t browser them select) pressing refresh does not resolve the issue. To add to the confusion it does’nt always happen but it happens enough to make it an issue.

    This is on a WAMP server. Any ideas??

    Posted on 05-Feb-06 at 0:04 | Permalink
  73. Sam S

    Update: After it happens you can go to the options page (values have not changed) and save them. It works again until it encounters whatever makes it Bork then it borks until options are saved again.

    PS this comment whould be merged into the above comment

    Posted on 05-Feb-06 at 0:24 | Permalink
  74. Rocky2889

    I am experienced similar as with Sam. When I upload an images to the isp server I see the full image but sometime I don’t see it at all. Also the thumbnail creation sometimes is create the thumbnail and other time doesn’t at all. I really don’t know what happen

    Posted on 05-Feb-06 at 18:12 | Permalink
  75. Hey there,

    Love the plugin, thanks. However I am trying to use the EditorMonkey TinyMCE implimentation and I cant figure out how to integrate the Image manager. Any suggestions?

    Thanks

    R

    Posted on 08-Feb-06 at 7:59 | Permalink
  76. PS

    BraveCreatures, I haven’t looked at the EditorMonkey TinyMCE implementation. I use the Buttonsnap library to add the ImageManager button to the WordPress TinyMCE editor.

    Posted on 08-Feb-06 at 11:58 | Permalink
  77. I have had a quick look at Button Snap but cant find install instructuctions. I am assuming that you mean installing this in with the EditorMonkey implimentation might do the trick.

    R

    Posted on 08-Feb-06 at 14:08 | Permalink
  78. Rocky2889

    I ran into this problem I don’t know what is going wrong here but I can upload the image via ImageManager. I can see and select the images from the ImageManger just uploaded. But when I try to browse the thumbnail folder see this message “No Images Found” but when FTP into my server I can see the thumbnails created. So I assumed there might be a bug. I am using WP2.01.
    Thanks

    Posted on 13-Feb-06 at 5:51 | Permalink
  79. PS

    Rocky2889, Are you running on Windows or Linux?

    Posted on 14-Feb-06 at 1:01 | Permalink
  80. PS

    Sam S, What kind of WAMP installation are you running on?

    Posted on 14-Feb-06 at 1:04 | Permalink
  81. Sam S

    Mines Win2K, I have a couple of different wordpress blogs that I am working on concurrently. I have used ImageManager in various installs in some cases it works OK although I get the senario described above on occassion. I am making my own plugin for wordpress and borrowing some of the technics used in ImageManager. I have (re)double checked that the settings and found nothing odd in any cases (that I can see)

    Posted on 14-Feb-06 at 1:28 | Permalink
  82. PS

    Sam S, I suspect the code that’s converting the path. I’ll have a look at it as soon as possible.

    Posted on 14-Feb-06 at 1:41 | Permalink
  83. Rocky2889

    PS, here is my spec for the server.

    Linux OS
    Apache 1.3.33
    MySQL 4.1.11

    I did CHMOD the directory 777.

    Thanks for looking into that.
    Rocky

    Posted on 14-Feb-06 at 4:28 | Permalink
  84. PS

    Rocky2889, You should consider upgrading your server / moving to a host that can give you a newer OS, MySQL and Apache. I suspect that your PHP doesn’t have GD 2.x. You can check this by creating a PHP file with this content:

    < phpinfo(); >

    Also, download a copy of the created thumbnail and check if it really is an image.

    Posted on 14-Feb-06 at 9:43 | Permalink
  85. Rocky2889

    PS: I download a copy of the created thumbnail and it is a good thumbnail. GB is 2.0.28 version and PHP Version 4.3.11

    Thanks

    Posted on 14-Feb-06 at 14:50 | Permalink
  86. thank´s a lot for the great plugin. it works perfect! if you plan a update, can you integreat “title=”…”" tag field like Alt.

    hilsen fra tyskland.
    markus

    Posted on 15-Feb-06 at 13:46 | Permalink
  87. PS

    Markus, god ide (that’s good idea in Norwegian, not Gods idea ;-) ), I’ll add it to my list.

    Posted on 15-Feb-06 at 16:39 | Permalink
  88. Hi, Very impressive plugin, thanks a lot.
    It works perfectly (WordPress 2.01) when I use it with the normal tinyMCE integrated with wordpress.
    However, when I use it with EditorMonkey (using TinyMCE), I have the normal icon in the toolbar, but this icon is inactive. When I click on it the pop up window doesn’t come.
    Any idea? I checked at the button snap library and the tinyMCE web sites but the doc in both cases is almost inexistant…
    Thank you!
    Nicolas

    Posted on 16-Feb-06 at 15:35 | Permalink
  89. rocky2889

    PS, can you please tell which style (CSS) file to edite so my image display has some padding so the texts are butt against the image. thanks

    Posted on 16-Feb-06 at 18:42 | Permalink
  90. Rocky2889

    Hi PS, I would like to request a feature that may be you can incorporate in next release if possible.

    In the current “Insert As: with four dropdown selections” Is possible to have another function like this “Insert thumbnail in Index.php page and full image in Single.php”

    For example on the index.php (front page) usually there are several posts so it is nice to see small thumbnail but when you in the Single.php (main post) you see the full post so is nice to be able to see the full image. What do you think is this a possible solution?

    Thanks
    Rocky

    Posted on 17-Feb-06 at 6:31 | Permalink
  91. PS

    rocky2889, If you are asking about spacing around the inserted image (inserted into an article), you do this by adding hspace and vspace.

    I like your idea  “Insert thumbnail in Index.php page and full image in Single.php”,  I might do this  using  another  plugin, not sure yet.

    Posted on 17-Feb-06 at 19:40 | Permalink
  92. PS

    niko, I had a look at editormonkey. I might create a fix for editormonkey but I can’t promise anything yet. Pri one is the default wp editor.

    Posted on 17-Feb-06 at 19:48 | Permalink
  93. rocky2889

    PS, I understand you can use Hspace and Vspace, but when you use Vspace the space is on both side of the image. For example let say I have image on the left I like to have the space on the right of the image but not the left of the image verse for image on the right side.
    You can see the example here http://rickyhsu.com/padding.jpg

    Thanks

    Posted on 17-Feb-06 at 19:56 | Permalink
  94. PS

    rocky2889, I get your point. Added to my to-do list: I’ll add a class field to the ImageManger which will allow you to use your own styles.

    Posted on 17-Feb-06 at 21:08 | Permalink
  95. rocky2889

    PS, thank for accepting my suggestion.

    Posted on 18-Feb-06 at 2:38 | Permalink
  96. Hi,

    I just installed and configured the plugin for WP 2.0.1.

    I can add existing images (previously uploaded with the default WP file uploader), but I can’t upload new images. I don’t get an error, but nothing gets uploaded. The upload directory is 777. I can upload the same image using the default file uploader, and it will then show up when I click on the ImageManger icon…but I can’t get ImageManager to upload anything itself.

    Some of my settings are as follows:

    I’m using GD (the default).

    “Can Create…” and “Can Upload…” are both checked.

    I’ve tried it with and without “Validate Images” checked.

    Any ideas? I’d love for this to replace the built-in file uploader…

    Posted on 18-Feb-06 at 20:54 | Permalink
  97. Thanks! This plugin rulez!

    Posted on 22-Feb-06 at 1:52 | Permalink
  98. I tried turning off WP’s default upload image feature, but I still can’t upload anything with ImageManager.

    Posted on 22-Feb-06 at 6:27 | Permalink
  99. Henrik

    Hey ! ..
    trying to get the plugin to work .. but having some problems with running it.
    Install ok
    Setup ok
    Edit -> Click img button -> i get this in the popup

    Warning: main(files.php): failed to open stream: No such file or directory in /usr/local/home/2011953/www/main/wp-content/plugins/ImageManager/classes/imagemanager.php on line 9

    Fatal error: main(): Failed opening required ‘files.php’ (include_path=”) in /usr/local/home/2011953/www/main/wp-content/plugins/ImageManager/classes/imagemanager.php on line 9

    is it a path issue or just my webserv provider that is blocking something ?

    Posted on 22-Feb-06 at 15:35 | Permalink
  100. PS

    Henrik, your include_path is empty. ask your provider why it is. More on include path at:
    http://php.net/manual/en/ini.core.php#ini.include-path

    Posted on 22-Feb-06 at 18:15 | Permalink
  101. Henrik

    hi again !
    is there a way to set the include_path in the script manual ?
    if i understand it correct ..is the script taking the include_path from the system …

    my provider dont allow phpinfo .. unf :-( ( so im att loss..

    Posted on 23-Feb-06 at 10:47 | Permalink
  102. rocky2889

    PS, first of all I like thanks you to include the “Style” and “Class” in the new release. I need some tutorial on how to use that. Where and what file do put the Style and class in?

    I try to put this classes in the “style.css” and it does work.

    img.aligntextright:{
    padding: 0 8px 0 0;
    margin: 8px 8px 8px 8px;
    }

    img.aligntextleft {
    padding: 0 0 0 8px;
    }
    On the ImageManager I type in “img.aligntextleft” or “img.aligntextright” but the image on the post doesn’t change.

    May be do the wrong thing if you can provide some example or tutorial document I would be appreciated.

    Again thank you.

    Rocky

    Posted on 23-Feb-06 at 18:20 | Permalink
  103. PS

    Henrik, have a look here: http://www.supportem.com/kbase/article/00101

    at least add a dot (.) to your path (i.e. look in current directory).

    btw, if my provider was that strict, I’d move to another.

    Posted on 23-Feb-06 at 18:22 | Permalink
  104. PS

    rocky2889 & co, here’s a short ImageManager inline style / class name tutorial.

    Inline style (the Style field):
    Here you can add style elements to the image i.e: border: 2px dotted #ff0000

    Class name (the Class field):
    Add a class name, and style it in your templates style sheet (default is /wp-content/themes/default/style.css), i.e. you add the class name rightaligned in ImageManger, select Align Right in ImageManager and then in your style sheet, do this:

    .rightaligned {

    padding: 4px 0px 4px 2px;
    border: thin solid #000;

    }

    You’ll find a good guide on CSS at http://www.w3schools.com/css/

    Posted on 23-Feb-06 at 22:59 | Permalink
  105. Jackie

    Thank you so much for this plug in. It’s the best image manager I have found. The install was very easy.

    Is it possible to configure the popup image manager to stay open once you insert an image? I am moving an intense graphic site to a WordPress layout and it is taking me forever to place all my images in each post. It is a bit frustrating to have to load all the images in each folder again and again with each post.

    Thanks for your help and once again thanks for this plugin. :o )

    Posted on 26-Feb-06 at 8:32 | Permalink
  106. Great plugin! How about the ability to upload an image from a web address as well as from the local hard drive. Sometimes when writing posts, I find images on Google Images, and this would save me having to download the images first.

    Thanks again for the plugin!

    Posted on 26-Feb-06 at 15:09 | Permalink
  107. PS

    Comments closed

    It’s getting hard to keep track on each request and comment here, so I’ve installed a forum. Please post bugs, and general comments there:

    http://soderlind.no/forum

    Posted on 26-Feb-06 at 15:37 | Permalink

@soderlind on Twitter:

Powered by Twitter Tools

Rodney's 404 Handler Plugin plugged in.