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)
The 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, 68,431 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, 30,294 downloads)
- Added support for WPMU 1.3.3:
Installation:- Copy the ImageManager tree into mu-plugins
- Edit ImageManager/wpmu/imagemanager-config-php
- 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,934 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, 2,555 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,843 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.
- 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
- 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.
- 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.
- 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.
- Added support for the Role Manager Plugin.
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,767 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!
3.1.2006 at 12:04
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.
3.1.2006 at 12:10
arg the validator stripped my post: i meant you should replace >? with >?php
3.1.2006 at 15:12
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.
3.1.2006 at 18:20
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.
3.1.2006 at 18:28
(sorry…I just submit too soon)
I’ve checked permissions and error logs and don’t see anything that would suggest a problem.
3.1.2006 at 23:23
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.
3.1.2006 at 23:57
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.
4.1.2006 at 2:41
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.
4.1.2006 at 3:25
Success, success!
Thats what I call service!!
4.1.2006 at 6:00
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.
6.1.2006 at 5:30
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
9.1.2006 at 2:43
it seems really cool, unfortunately the large popup doesn’t work with my firefox too. On rollover the status bar says “javascript:;”.
9.1.2006 at 23:05
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
9.1.2006 at 23:46
windows ox, firefox 1.5
9.1.2006 at 23:48
xp i meant
10.1.2006 at 9:46
christian: strange, that’s my config too and it works like a charm. Does the javascript console (Tools > JavaScript Console) report any errors ?
11.1.2006 at 13:07
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”
???
11.1.2006 at 15:13
solved the problem:
ending slash on the IM directory.
(write this in the description: “with ending slash”. saves a lot of time…)
11.1.2006 at 19:36
I’m setting up a website where pictures import quite much. Very nice work. It helps me a lot.
12.1.2006 at 1:28
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.
12.1.2006 at 19:04
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
12.1.2006 at 22:10
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
Pingback: pagina.wordpress.com » Anxious to try ImageManager 2.0
14.1.2006 at 11:14
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
15.1.2006 at 2:43
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?
15.1.2006 at 15:55
Hi cool stuff but is usefulfor Multi User WordPress ?
15.1.2006 at 17:10
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
15.1.2006 at 18:26
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
15.1.2006 at 20:39
I get errors in the post-page and the link on the imagemanager icon only states “javascript;;”, any ideas?
16.1.2006 at 7:25
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.
17.1.2006 at 0:36
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
17.1.2006 at 7:02
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!
17.1.2006 at 12:10
Good idea Ocellated, I will include an option for this in the next release.
17.1.2006 at 17:28
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
17.1.2006 at 21:50
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
18.1.2006 at 0:32
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
19.1.2006 at 4:44
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…
20.1.2006 at 2:36
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.
20.1.2006 at 10:29
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
20.1.2006 at 12:17
ch: Thank you for finding this bug, a new release should be available soon.
MKJones: The new release (availbe soon) might fix your problem.
20.1.2006 at 16:46
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!
20.1.2006 at 20:00
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.
22.1.2006 at 20:13
Hi, i’m trying to integrate the image manager with EditorMonkey (and FCKEditor).
does anyone try this? thanks!
22.1.2006 at 23:07
I did a FCKEditor <-> ImageManager integration some time ago, but since WP 2.0 is doing TinyMCE, I droped that.
23.1.2006 at 20:55
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.
23.1.2006 at 22:45
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
24.1.2006 at 5:05
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.
24.1.2006 at 9:22
mainmanc, are you able to create directories using the wp filemanager?
25.1.2006 at 5:37
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
25.1.2006 at 10:49
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!
25.1.2006 at 10:53
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?
25.1.2006 at 20:26
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?
26.1.2006 at 0:41
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.
26.1.2006 at 11:05
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.
26.1.2006 at 16:56
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.
27.1.2006 at 18:30
Is it possible to upload an image from a URL?
28.1.2006 at 2:27
WebGuyNJ, no it is not. There’s a thin line between userfriendliness and too much functionality, but I might add that.
28.1.2006 at 4:22
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.
28.1.2006 at 6:43
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.
Pingback: X’s klog » Blog Archive » This klog
28.1.2006 at 8:43
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
28.1.2006 at 15:09
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.
28.1.2006 at 22:07
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;
}
}
28.1.2006 at 22:08
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);
}
}
28.1.2006 at 22:11
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
29.1.2006 at 4:23
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
29.1.2006 at 16:54
get the precompiled binaries.
29.1.2006 at 20:39
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
1.2.2006 at 10:08
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?
2.2.2006 at 2:22
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.
3.2.2006 at 2:09
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
3.2.2006 at 4:27
TOBSN,
. Thanks for your help
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
Rocky
3.2.2006 at 5:43
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.
5.2.2006 at 0:04
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??
5.2.2006 at 0:24
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
5.2.2006 at 18:12
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
Pingback: oldlovas meets minny » Blog Archive » 민순이
8.2.2006 at 7:59
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
8.2.2006 at 11:58
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.
8.2.2006 at 14:08
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
Pingback: alwaysBETA » Building aB: Customizing Lightbox
13.2.2006 at 5:51
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
14.2.2006 at 1:01
Rocky2889, Are you running on Windows or Linux?
14.2.2006 at 1:04
Sam S, What kind of WAMP installation are you running on?
14.2.2006 at 1:28
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)
14.2.2006 at 1:41
Sam S, I suspect the code that’s converting the path. I’ll have a look at it as soon as possible.
14.2.2006 at 4:28
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
14.2.2006 at 9:43
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.
14.2.2006 at 14:50
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
15.2.2006 at 13:46
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
15.2.2006 at 16:39
Markus, god ide (that’s good idea in Norwegian, not Gods idea
), I’ll add it to my list.
16.2.2006 at 15:35
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
16.2.2006 at 18:42
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
17.2.2006 at 6:31
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
17.2.2006 at 19:40
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.
17.2.2006 at 19:48
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.
17.2.2006 at 19:56
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
17.2.2006 at 21:08
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.
18.2.2006 at 2:38
PS, thank for accepting my suggestion.
18.2.2006 at 20:54
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…
Pingback: Rocky Lam » Blog Archive » Wordpress Goodies
22.2.2006 at 1:52
Thanks! This plugin rulez!
22.2.2006 at 6:27
I tried turning off WP’s default upload image feature, but I still can’t upload anything with ImageManager.
22.2.2006 at 15:35
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 ?
22.2.2006 at 18:15
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
23.2.2006 at 10:47
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..
23.2.2006 at 18:20
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
23.2.2006 at 18:22
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.
23.2.2006 at 22:59
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 {
}
You’ll find a good guide on CSS at http://www.w3schools.com/css/
Pingback: André SC » Blog Archive » New media and art
26.2.2006 at 8:32
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.
)
26.2.2006 at 15:09
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!
26.2.2006 at 15:37
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
Pingback: jdreng » Blog Archive »
Pingback: Image Manager v2.3.3 at Geo News
Pingback: Much to do about nothing » Posting Images
Pingback: Davilac.net » Edición de imágenes online
Pingback: Vidablog | desde México » ImageManager 2.0: Edita imagenes desde WP
Pingback: aNieto2K » ImageManager 2.0: Edita imagenes desde WP
Pingback: Tinta Fantasma » ImageManager, subir y editar imagenes desde el mismo WordPress
Pingback: technorati.it » plugin gestione immagini per wordpress
Pingback: NuEvAyOl BlOg » Blog Archive » Edita Imagine Para WordPress Con ImageManager
Pingback: Rumore » Blog Archive » Upgrade to wp 2.0.1
Pingback: CruZavi - » ImageManager
Pingback: Rumore » Blog Archive » links for 2006-03-10
Pingback: ImageManager 2.0 for WordPress (8 Ways to Sunday)
Pingback: web@work » Upload delle immagini su WordPress con ImageManager 2.0
Pingback: View from the Potting Shed » Blog Archive » Upgrade to WordPress 2
Pingback: RERIC.COM | 워드프레스플러그인 ImageManager
Pingback: Justku—隨便寫寫 - 一個愛攝影的工程師 » 【Blog】WP Blog Resource
Pingback: André SC’s PixelPLEXUS » Blog Archive » David Krut Publishing on WordPress
Pingback: Benjamin Muskalla » ImageManager for Wordpress
Pingback: …time is what you make of it… » Archivio del blog » Plugin per Wordpress e Live Local
Pingback: cotidiano delirante » Arquivo » Image Manager
Pingback: ImageManager-Plugin für WordPress übersetzt at RAINonline
Pingback: CriS` projects… » WordPress 2.0.2, ImageManager & LightboxJS
Pingback: CruZavi » Archivo del weblog » ImageManager 2.0
Pingback: BirDesign » ImageManager plugin - 日本語版
Pingback: Blogging Pro China » Blog Archive » WordPress Plugin: ImageManager
Pingback: UnlimitedInfinity » Blog Archive » Wordpress Widgets at K2
Pingback: Jackcorto » Articles WordPress
Pingback: cotidiano delirante » Arquivo » Top plugins
Pingback: harddisk’s yard » Blog Archive » 记录一下安装wordpress,和碰到的几个小问题
Pingback: : tokitamaweblog : · links for 2006-04-04
Pingback: Blublog » Blog Archive » Gestione immagini in Wordpress con ImageManager
Pingback: Junkylife Development Blog » Traffic Report and Image Manager
Pingback: Metamorphose » Bilder präsentieren
Pingback: Vinkkeli » ImageManager
Pingback: WordPress Lightbox and Image Manager Plugins at The WeBlog of John
Pingback: Laurin blogi » Arkisto » Kuvat kuntoon
Pingback: Alexplus - Блог » Blog Archive » Image manager plugin
Pingback: 1983
Pingback: Velcro City Tourist Board » Blog Archive »
Pingback: /dev/nikc/blog » Kuvasatoa
Pingback: 走向云和山的彼端 » Blog Archive » Some Good Plugin
Pingback: BloGuzman » Image Manager, plugin de subida y edición de imagenes para WordPress
Pingback: Heights Online Blog » Image Manager Test
Pingback: Stora Sökguiden » Blog Archive » Att göra
Pingback: bopo.net :: I like to fiddle with things
Pingback: WordPress插件中文站 » Blog Archive » ImageManager
Pingback: BloggingPro China » Blog Archive » WordPress Plugin: IMAGEMANAGER
Pingback: ex id (izbijusi identitāte) » Arhīvs » Lightbox JS v.2.0 un ImageManager 2.0
Pingback: BusinessBlogHive.com » Blog Archive » ImageManager Plugin Review
Pingback: Imthiaz Blog » Wordpress Image Manager
Pingback: 无聊小站 » Blog Archive » 我用的plugins
Pingback: Beautiful Images Gallery Implemented at Astronomy Notes
Pingback: » Nytt bildverktyg till Wordpress
Pingback: New Look with Wordpress » SoNet Journal
Pingback: Fnix » Da var ferien over.. | Mitt lille nøtteskall.
Pingback: Image Manager | Likoma
Pingback: danny’s space » ImageManager
Pingback: Blog of Sin » Blog Archive » Updates to da blog
Pingback: .daniel goes philippines » Blog Archive » WP Plugin
Pingback: Wordpress Plugin: ImageManager 2.0 | fundsachen | XSBlog2.0beta
Pingback: WordPress Overview | Likoma
Pingback: -=Discobeats=-
Pingback: sorenvind.dk » Wordpress
Pingback: Vorsprung durch Hektik » Systemupdate
Pingback: Webmasterfind Blog » Bild Manager für Wordpress 2
Pingback: the LoneLiness bLogger » ImageManager 2.0
Pingback: mein Notizblog » Bilderverwaltung für Wordpress
Pingback: The Crime in your Coffee » Blog Archive » Heißa juchei: Blog-Umbau abgeschlossen
Pingback: Tonys blogg om coola prylar » Blog Archive » Grymt bra imagemanager!
Pingback: PPvG.nl » Performancing for Firefox
Pingback: Wordpress Plugin: Scissors - Brücken nach Übersee