Meine ganz persönliche Ecke im Netz
After installing Wordpress and using it for a little while I noticed that the built-in management of images was basic to say the least. That is, I missed certain features like resizing or cropping of images, which I typically have to apply to taken pictures before sharing them with friends or including them in an article.
Now, you could argue that I should use one of the many excellent and free image edititing programs out there, such as Paint.NET (which is an awesome piece of free software), before uploading images to Wordpress. This would have the added benefit that these programs typically allow you to not only resize and crop pictures but also support filtering, contrast enhancement, etc. These operations are necessary to get the best out of one’s pictures. Nevertheless, if you’re happy with the look of your pictures – my Canon PowerShot A590 IS usually makes gorgeous pictures – and you want to get out an article quickly, resizing/cropping is typically all you need to do.
Not having to rely on additional programs in that case has a few advantages:
In this spirit I checked the Wordpress plugin repository to see if any of the available plugins would meet my needs: good integration with the Wordpress UI and good usability.
The first plugin I noticed is called “Flexible Upload“: It is quite powerful and supports automatic cropping and resizing at upload-time, custom thumbnail creation and embedding of watermarks. However, due to the fact that it is missing support for manual resizing/cropping it’s not useful in the use case I had in mind, which is retouching of images. Additionally it doesn’t integrate well with Wordpress because it changes the image upload dialog, which prohibits the use of the new flash uploader, and messes with WordPress’ generation of thumbnails and mini images.
“WP Vivtiger Image Resizer” is pretty close to what I had in mind: It integrates AJAX-based image resizing and cropping functionality into Wordpress and seems to be easy to use. The downside is that it hasn’t been updated in a while and does not work with the latest version of Wordpress, which I’m using. Pity. Additionally it does not seem to support editing of images on the media management page.
Curiously enough, the only other plugin for this task I found was “ImageManager“, a complicated to use plugin with support for resizing/croping/rotating/etc. of images but fails to integrate nicely with the existing Wordpress media library. In fact, it does not integrate at all and rolls its own simple, directory-based file management system. No, thanks! Try again …
Frustrated I decided to stop looking for an existing plugin and read up on the steps necessary to create my own, which seemed easy enough given my previous experience with PHP. The programmer in me was looking forward to working on something new besides shading languages and software renderers anyway (NOTE: PHP is a horrible language, at least from my point of view. Strong type systems ftw!).
Just a few hours later I had a preliminary version of my “Scissors” plugin ready for use, which I have been using ever since for about a week now. It seems to work alright and so I’m glad to be able to make the first version available for others to use.
A short rundown on its feature set:

Guess the city! I moved there in March to work at the Realtime Technology AG as a software engineer. And yeah, that scissor was added using the new watermarking feature.
As of October 30th, this plugin is listed in the official Wordpress Plugin Directory. Please head over there to download the plugin archive. Simply extract it, upload the “scissors” folder to your remote Wordpress plugins directory, and activate the plugin in the administration area. It requires PHP with the GD image manipulation library, which should be installed on most servers. WordPress versions 2.7 and newer are officially supported, although the plugin may well work with older versions of WordPress.
Acknowledgements:
And thanks to these fine people Scissors is available in languages other than English and German:
Comments are appreciated! If you wish to make a donation, buy some food for my cat.
Scissors in action (old version 0.9):
177 Kommentare für "Wordpress Plugin: Scissors"
Vielen Dank für das extrem fantastische PlugIn! Ich habe die selben Erfahrungen mit den bereits bestehenden PlugIns gemacht und genau nach etwas wier Scissors gesucht. Vielen Dank!
hi. Thanks for plugin
perfect.
Regards
Thanks for the plugin. I really needed something like this. Sometimes it’s a pain to crack open PhotoShop for a simple image resize.
The plugin is wonderful. Thank you for sharing the excellent work. I can’t wait until you add image rotation. I saw it on your todo list.
Great idea, and would love to use it, but the problem is after activating and going to test it out in the media gallery, I click to add an image and nothing appears. just a blank popup. I’m running Wordpress version 2.5.1
Any help would be great.
[...] Release page | Download plugin [...]
Hi Stephan.
This is a great and very usable plugin. I`ve been looking for something like this, and will be happy to localize it to Norweegian.
I`d also like to suggest an improvment. Scissors work great as it is but it would be even better if it could integrate with image edit function in WP to make one cropped thumb and a different cropped “original” image.
I believe the correct term for this would be: “Contextual Image Cropping” or “Relevance-Enhanced Image Cropping”
http://www.websiteoptimization.com/speed/tweak/crop/
http://drupal.org/node/210217
Keep up the good work
John Myrstad
Until now, I used “Flexible Upload”. Your plugin seems very nice, I think I will try it, but first I would like to know: does it embed watermarks like Flexible Upload?
Danke schön!
[...] Scissors [...]
Yes we need this plugin. It seems hard worked.
Thanks
hey there.
I would like to run this plugin and flexible upload in parallel, as I like the flexible upload feature to autoresize images.
After flexible upload has done its job I’d like to use scissors for finetuning if needed…
An excellent feature would be for example if I could crop a part of the image and save it as the thumbnail, as my gallery looks horrible with the mixed landscape/portrait thumbnails I currently have, i.e. http://pacura.ru/category/pictures/afrika-burns-festival/
oh, sorry forgot to mention that I create my galleries with another uploader, not the built-in one.
an option to browse with your plugin into a certain folder
woudl also be nice
Hi Stephan, very nice plugin!
thanks a lot
chuss!
Thanks so much for your nice comments and your ideas for improvement! I’ll try to incorporate them in the next version of the plugin to make it even more usable to you.
In particular, I like the idea of being able to crop the image and its thumbnails seperately as you suggest John. Thanks also for your offer to localize the plugin!
Compatibility with the “Flexible Upload” plugin is also something I’ll pay attention to, because I think it’s still very useful with its auto-resize and watermarking functionality.
So, you can expect a new version soon.
Thanks again,
Stephan
Nice plugin indeed!
But it could be much better if you add i8n support to it.
This way the integration of the plugin into WP interface would be 100% perfect.
(If you add i8n support I would contribute doing the spanish (es_ES) translation).
[...] Scissors [...]
[...] October 31, 20085:44 am WordPress Plugins 10/31 Scissors WordPress plugin adds cropping and resizing functionality to Wordpress’ image upload and [...]
[...] Scissors [...]
[...] Scissors [...]
[...] Scissors [...]
That is a fantastic plugin.
It was really helpful to play the movie video clip of the plugin in action. That helps to make the decision — clicking on download!
You made this plugin after a few hours of work?! Amazing. I guess that jQuery really does help.
Sincere thanks
[...] Scissors [...]
[...] Scissors [...]
“In version 0.9, which was released on October 31st…”
This functionality makes me let you marry my firstborn child
Hi, thanks for a terrific plug in. Just what I needed. I’ve been using it for a week or so now and have only run into one issue. There seems to be a file size limit of some sort. I’m able to crop and re-size images of around 500 pixels on the longest dimension, but when I upload a 3000×2000 file from my D70, I get a blank error message if it try to crop or resize. Is there a setting somewhere that I could change? I am using Firefox 3 and Windows XP.
Again, thank you for a great plug in
I found the plugin not working in all of my wordpress installs. Unfortunately I didn’t have the possibility to test if another plugin was causing this, however, I did notice you don’t use the wp_enqueue_script functionality to add your js files to the admin header, which might cause some unexpected problems. A nice article about implementing that can be found here.
Oops, just noticed the “// TODO: use wp_enqueue_script?”.
Sorry ’bout that
[...] Read more: Wordpress Plugin: Scissors – Brücken nach Übersee [...]
Thank you for writing this plugin, finally I can put ImageManager to sleep.
I will put a link on the ImageManager page pointing at your plugin in the Wordpress Plugin Directory.
Brilliant plugin — perfect for what I was trying to do.
Minor tweak — in the ‘lock aspect ratio’ fields — make them a little wider so you can ’see’ 16:9′ when you type the 16 in the text field box.
Also, a question: Can the aspect ratio be computed on the fly rather than automatically showing up as 4:3?
Again, very minor nits.
Hey, thanks a lot! Your suggestions already made it into the development version of the plugin, which you can download from the Wordpress site under “other versions”.
ok, I have some questions: what exactly does the checkbox: use automatic relevance-enhanced image reduction do?
I can’t see any effect if I check that.
And why does that checkbox disappear as soon as I select thumbnail, medium or large?
btw. when I select thumbnail even the lock aspect ratio check box disappears, so I can now only make square thumbnails
Please help.
btw. using wp 2.7 betta 3
ok, I think I start to understand what that checkbox does, but can you please explain in more detail? also can I somehow set it to be unchecked by default?
And how can I do 4:3 thumbnails again?
ovidiu:
Automatic relevance-enhanced image reduction automagically crops your images to have a more relevant and usable crop on medium and thumb images, than if you just rescaled. The ? mark links to this site for explanation: http://www.useit.com/alertbox/9611.html
As for ratio in thumbs it seems like you found a small bug…
John Myrstad
yes I read that ? link but I wasn’t sure what the “automatic” means
i.e. does it apply to the whole chain?
thx, will wait for the next version so I can crop 4:3 thumbs again
I’ve addressed the thing with custom ratios for thumbnails in the latest development version: If you specify “crop to exact dimensions” in your Wordpress settings, the thumbnail ratio when cropping with Scissors will be fixed to the specified width/height-values. Otherwise you’ll again be able to specify a custom ratio as before.
works fine now, thank you.
what about an option to have the Automatic relevance-enhanced image reduction on/off for new uploads by default?
I mean one day the multi uploader will work again and then it woudl be nice to be able to set a default option for this…
Right now I am uploading one-by-one anyway so I don’t need an option.
one more question: I imported my blog into another isntallation and all thumbs have been croped to 150×150px using Automatic relevance-enhanced image reduction.
Is there a way to re-crop them all again i.e. to max-width of 130px (which I have set up as my default size for thumbs)? with or without the Automatic relevance-enhanced image reduction option?
Right now I would have to crop them all manually to get them back into 4:3 format
oops. sorry for flooding you here with omments, but i.e. I recropped 10 images, respectively the thumbnails, and checked Automatic relevance-enhanced image reduction and now I go back and realize, the thumbs are square again. I thought checking Automatic relevance-enhanced image reduction might not apply to thumbs as that option is not visible when cropping thumbs
Any reason you didn’t include .gif editing functionality?
I added the ‘if post_mime_type’ and ‘imagegif()’ where applicable and seems to be working fine.
ovidu: Currently I have no plans for adding a “batch cropping” feature because I don’t think that it would be used on a regular basis. Also, the idea of this plugin is to provide simple and easy cropping/resizing functionality. For anything else there’s always software like Paint.NET, Paintshop Pro or Photoshop, just to name a few, that can do more advanced things.
Barry: Neat! How the quality of the resulting images? I was afraid that it would suffer too much when you repeatedly load/store a picture. If it’s alright, should I add gif-support to the plugin like you did?
[quote] ….If you specify “crop to exact dimensions” in your Wordpress settings, the thumbnail ratio when cropping with Scissors will be fixed to the specified width/height-values. Otherwise you’ll again be able to specify a custom ratio as before….. [quote]
Neat solution
John Myrstad
I just upgraded to 0.93 because the 0.92 version stopped working as soon as I installed the Flash 10 upgrade. It works fine, but I get one minor bug (using Firefox 3): When I resize an image, the size of the image after resizing is not reflected in the text of the interface window. If the image was 300×250 and I resize it to 200×180, the text will still show 300×250.
However, this is a wonderful plugin. Many thanks!
-Dave
Nice plugin!
It would be nice to be able to specify width/height and also maybe save those values like presets, so they can be used again.
Keep up the good work:)
I’ve tested the .gif functionality and seems to work just fine. As far as losing quality by resizing multiple times, I’d imagine that scissors would most likely be used to ‘correct’ the standard thumbs etc. WordPress crops on upload. Don’t see any issues with re-cropping etc. as long as the original image is retained?
I’m not getting the ‘Lock aspect ratio’ though, I’d expect this to default to the aspect ratio I set for a thumbnail when cropping a thumbnail for instance.
A cool feature would be to be able to set more (custom) image sizes than the standard original/large/medium/thumbnail (yay for wp2.7 adding one) when uploading an image. Very useful for ‘magazine-style’ themes which potentially need more image size variations, but I guess that’s a whole new plugin altogether
Scissors is definitely my favourite plugin, right before PageMash!
Wow, thanks for your kind comments! I’m really happy to see that so many people use Scissors for their blogs. Additionally, your positive comments and feature requests are very motivating, so keep them coming and I’ll see what I can do.
Dave: Thanks for the bug report. I’ll look into it and can hopefully come up with a solution for the next release of the plugin.
Jon: Presets are a nice idea. I don’t know if it’s possible to deliver this feature for cropping in the next release though because it would require me to use the Jcrop API. And in that area I’m currently hitting a wall due to a weird initialization requirement it has. Maybe I’ll be able to replace Jcrop with another jQuery based control. We’ll see …
Barry: Nice! You can expect GIF support in the next version of Scissors so you don’t have to add it manually anymore.
Concerning the aspect ratio thingy: For thumbnails you’ll already get the behavior you described in the latest development version. For larger images, which are proportionally down-scaled and do not have a fixed aspect ratio, it’s sometimes nice to be able to crop an image exactly to 4:3, 16:9 etc.
Additional custom image sizes would indeed be very cool; great idea! I may consider writing a separate plugin for that because it’s not really in the scope of Scissors.
[quote Stephan] …your positive comments and feature requests are very motivating, so keep them coming and I’ll see what I can do… ]
Feature requests/wishes:
1. Crop overlays Lightroom style. See: http://pendery.org/photography/october-2007/lightroom-11-12-crop-overlay-aid-composition.htm http://www.theglobalphotographer.com/the-global-photographer/2007/9/19/lightroom-crop-overlays.html
2. NextGen Gallery integration/support in some way… http://code.google.com/p/nextgen-gallery/issues/detail?id=167
John Myrstad
I ran into all of the problems you did, and then I chose this plugin. The only thing I would add is support for watermarks. So the user could resize the image and add a watermark to the resized image in one step.
can this option: Automatic relevance-enhanced image reduction be checked automatically somehow rather than having to enable it every time I upload a picture?
I noticed the plugin doesn’t take the extra ‘large’ size available in 2.7 into account. If ‘large’ is selected, the original image is cropped.
I got it working on wpmu
1) copied the scissors directory to muplugins/scissors
2) created a “loader” (muplugins/scissors-loader.php):
include_once (ABSPATH . MUPLUGINDIR . “/scissors/scissors.php”);
3) modified muplugins/scissors/scissors.php:
$scissors_dirname = plugin_basename(dirname(__FILE__));
if (function_exists(’is_site_admin’)) { // i.e. is WPMU
load_muplugin_textdomain(’scissors’, MUPLUGINDIR . ‘/’ . $scissors_dirname . ‘/i18n’);
$url = get_bloginfo(’wpurl’) . ‘/’ . MUPLUGINDIR . ‘/’ . $scissors_dirname;
} else {
load_plugin_textdomain(’scissors’, PLUGINDIR . ‘/’ . $scissors_dirname . ‘/i18n’);
$url = plugins_url($scissors_dirname);
}
Stephan,
I would like to change to scissors, and I love the interface. I have a blog with many users, it’s a club site, and finding the right images for individual users becomes a problem. We solved that with Pers image manager, which was able to create new folders for each user, and upload to those folders.
Will scissors ever be able to create folders, so that my users can find “their” pictures or are we stuck with the wordpress method of automatic sorting?
Image manager is a ‘little’ clunky, but its real advantage for a multi user site was the ability to manage the upload folder to sort the pictures.
I have a bit of an issue with wordpress control on this point, as its not difficult to nominate a folder *before* upload, or indeed create it before upload.
Hi Mark,
Thanks for your kind words! I’m glad you like the plugin.
The ability to create folders and manage your pictures is something I would conceptually separate from the functionality that scissors provides, which is all about modifying the pictures with simple cropping and resizing. Therefore, Scissors won’t come with this functionality in the future.
However, I could very well think about a second plugin (which at best should play along nicely with Scissors) that allows picture folder management. I’ll take a look at the Wordpress 2.7 code tomorrow to find out if the implementation of such a plugin would be possible without too much coding required (I’m kind of running short on time these days).
Take care,
Stephan
[...] Honorable mention: Scissors. [...]
Hey there Stephen
I’m with Mark on this one. I was sad to see my most favourite ImageManager with an RIP sign next to it. I only used the plugin for easy uploading into separate files (I have lots of photos, and sorting them the typical WP way of year/month is just not sorted enough for me).
The one downside for ImageManager was that you could only upload one photo at a time.
I would love love love to have a plugin where you could specify the folder the file was uploaded into, and it would be even better if it were easy to upload many files at once.
However, thankyou for Scissors. I’ve uploaded and working well. Thanks for your input to the Wordpress community!!
Heidi :0)
Use it. Love it. Thanks for an amazingly efficient and easy-to-use plugin.
Thanks for this plugin, it’s very handy.
I have a suggestion/feature request that you might consider.
My wife usually inserts her images into her post using the visual editor, and then plays with the sizing until the layout seems right. The downside of this is that users either end up downloading bigger images than they need (with the browser doing the resizing), or she has to resize and reupload the images.
I found scissors because I was looking for a way for her to resample/resize the images in Wordpress itself, and it does a great job, but I wonder if you’ve thought of integrating it even further, so that it would be possible to use the resizing built in to the visual editor, and then easily resample using scissors. It could be a button added to the overlay you get when you hover over an image in the visual HTML editor, or it could be added to the modal overlay you get when you click to edit an image in the visual editor. Having cropping accessible through this part of the UI would also be helpful.
It would also be cool if, when cropping, there was an option to create a copy and leave the original alone.
Thanks again!
Hey Heidi!
Thanks for your input! I’m investigating the possibility of creating a new plugin that would allow some sort of virtual folders for your Wordpress images. Or maybe something similar to image tagging for simple categorization of images.
Maybe I can post an early version on my blog soon, but don’t hold your breath. With Christmas coming up, I don’t really feel like spending a lot of my time on new projects. There are other things that need my attention now, heh.
Take care! Hope you have a great holiday season,
Stephan
Eas, thanks for your suggestion!
You’re making a great point there: I think a lot of people add images to their blog posts similarly to your wife, i.e. they insert the image and then resize it to fit the text flow. The obvious drawback of that method is the client-side image resizing that takes place, which negatively affects image quality and/or download size.
I’d be happy if Wordpress got rid of the notion of thumbnails/medium/large/full-sized images. I think it would be great if it was possible to insert an image into your article, resize and crop it in the editor and have it automatically stored in the optimal resolution on the server; just like you described it.
Sadly, it’s currently not possible to write plugins for the article editing interface. Any solution I could come up with would be some sort of hack that would require you to overwrite existing WP files. Something I’d discourage anyone to do; it would probably cause a lot of headaches in the long run.
Maybe it will be possible in the next version of Wordpress?
Anyway, have a great holiday season!
Stephan
Hello Stephan,
Just trying your plugin today because Flexible Upload is not updated anymore and does not work at all with 2.7. I do quit FU, now. I found your plugin and I got an error when I try to resize my pics. It says :
Fatal error: Call to undefined function imagecreatefromjpeg() in /Shared Items/web/helene/blog/wp-content/plugins/scissors/scissors.php on line 384
Crop does the same error… Do you have a solution ? Do I need GD on my server ? Thanks
I’m afraid installing the GD library on the server is the only solution for this problem because Scissors requires its png/jpeg/gif-functionality to do its job. I hope GD is an option for you …
Hello,
I’ve made a french translation. Can you send me an email so I can send you the files ?
Will you include a Lightbox option in a next release ? In this case, I won’t have to use Flexible Upload anymore
I love the idea behind the plugin. i have been searching for something like this for a long time.
However, whenever i try to crop an image, I get an error box that says “Invalid post ID.”
Any ideas?
Hallo Stephan!
I have no idea what GD is, but I’m seeing a similar js alert as Elise:
<br />
<b>Warning</b>: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: gd-jpeg: JPEG library reports unrecoverable error: in <b>/path-to/wp-content/plugins/scissors/scissors.php</b> on line <b>335</b><br />
done;full,368,207
The automatic installation via the plugin page in WP 2.7 didn’t work either. I’m on 1&1, PHP4, if that helps anything.
Grüße aus Wien!
Hey transalpin!
I think the problem you’re experiencing has something to do with the installation of the GD library on your server, which is used for all the image processing Scissors does under the hood. For a solution head over to http://www.phpbuilder.com/board/archive/index.php/t-10249838.html .
Grüße zurück aus Linz!
Stephan
Hi Stephan,
Hats off to your plugin! really really handy!
One question though! Can I actually make the uploader automatically resize picture on upload?
The thing is that I would have the exact place-holder on the site with exact width-height. Would it be possible for me to resize the uploaded picture automatically and not have to do one by one?
I will be very thankful for any of your assistance.
Kind Regards!
[...] Scissors [...]
[...] Scissors [...]
Good morning!
Resizing on upload is already a part of Wordpress! It allows you to specify the desired size of your medium and large image (in addition to the size of the thumbnail). You may want to look into that, or maybe consider the use of Flexible Upload, which is a plugin that addresses this problem.
Your second question is about suppressing the creation of thumbnails and medium and large versions of an uploaded image, if I understand you correctly, I don’t know of any plugin that does this.
Have a happy new year,
Stephan
[...] Plug-Ins zur Bildbearbeitung (Scissors) und Youtube-Einbindung (Smart Youtube) [...]
Hallo Stephan,
erstmal danke für dein Plugin. Super Sache, dass die Thumbnails einen bestimmten Bereich zeigen können!
Ich hab aber nen Bug gefunden: Wenn die Einstellung zum korrekten Beschneiden des Thumbnails in den WP-Einstellungen nicht anhakt, die Thumbnails also proportional zum Original werden, ergibt
$cropThumbnails = get_option("thumbnail_crop");leider nicht 0 sondern “”. Damit wird “scissors” nicht erzeugt und nichts geht mehr. Hat ne Weile gedauert bis ich raushatte, warum es in einem Blog geht und im anderen nicht. Hier besser mit empty() oder sowas prüfen.Weiter viel Spaß beim entwickeln!
[...] 404 Notifier All In One SEO Pack Attachment Extender cformsII Classy wp_list_pages Role Manager Scissors Share This Tiny MCE Advanced WordPress Database [...]
Very nice plugin! Thank you, Thank you, Thank you!
When I crop it says FAILED TO SAVE NEW IMAGE
Why is that?
Your plugin looks great! Haven’t used it yet because it’s not quite what I’m looking for .. I also need to add custom image sizes… and to change default cropping behavior (like instead of centering a crop, cropping from the bottom or top). I haven’t seen if your plugin can do the last thing yet, didn’t check. Anyway if you know of any plugins that allow one to set custom image sizes, please let me know — and if you add it, or create a new plugin for it, I’ll be watching! I may use this in the meantime.
Wonderful plugin! The way that it integrates with the default uploader is magical!
I agree with others that we need watermarking, but it’s possible that we might be able to get it from separate plugin.
I found the Marekki’s Watermark plugin and it almost does the job. It’s a good match for Scissors because it does one thing only: it just puts watermarks on the uploaded images. It does a great job and almost works with Scissors.
There are two problems with Marekki’s Watermark. First, you have to edit wp-admin/includes/media.php, one of the core wordpress files to make it work. You only need to add a single line, but still I hate modding the core files.
The other problem is that it puts the watermark on the image before Scissors has a chance to crop it. This isn’t a problem if you are using the resize feature of Scissors, but when you use Scissors to crop, you end up cropping the watermark.
My hope is that it might be relatively easy to add support Marekki’s Watermark to Scissors. If we’re lucky then all we would need to do is to add a single function call to Marekki’s Watermark at an appropriate place in Scissors. It could check to see if Marekki’s Watermark is installed and if it is then call it after the crop is performed.
This would have two benefits. It would give watermarking capability to Scissors through Marekki’s Watermark and it would eliminate the need to edit the core files when installing Marekki’s Watermark.
I haven’t had a chance yet to look at the Scissors code, but it seems like it might be an easy win.
Hi,
Whenever I click crop the loading bar just continues to scroll indefinitely.. No error is displayed.
Am I missing something?
Kath: Scissors should be able to do all that.
Shack: Haha, thanks! Watermarking support has been requested several time in the past. I never got around to implementing it, though, due to a lack of time and interest (I don’t think I’d use watermarking on my blog). Nevertheless, Marekki’s Watermark is a great find – thank you! – and I’ll try to integrate it with Scissors in the future.
Colin: No idea! Maybe you’re using an outdated browser, have JavaScript disabled (necessary for AJAX to work), or have a bad installation of Wordpress/Scissors …
Thanks for the reply Stephan, I’ve tested it multiple computers and asked multiple writers to try and they all bug at the same area.
Could it be possible it’s a memory or a write permission somewhere?
just found this superb plugin, but being a blog with lots of our own high quality photo’s we need a water marking feature. It’d be great if you could incorporate this into your plugin.
Regardless of this I may have a look at adding watermarking functionality to your plugin.
[...] Scissors This plugin adds cropping and resizing functionality to Wordpress’ image upload and management [...]
[...] Url: http://stephanreiter.info/2008/10/wordpress-plugin-scissors/ [...]
this plugin simply rocks!!!
Colin: the same issue.
I have fedora 10 + Wordpress 2.7.1 = scissors .95. I’ve tested it on several client/browsers (Firefox mac/linux, IE, Safari) – every time I want to use crop or resize “the loading bar just continues to scroll indefinitely..”.
I have gd/php-gd installed.
Any ideas?
[...] 導入してないですが、使えそうなので覚え書き。 Wordpress Plugin: Scissors – Brücken nach Übersee 画像アップ後にトリミングや、リサイズが出来る様です。 [...]
Maximus: Use the development version of the plugin. It might fix the problem for you.
Hi Stephan,
I just tried out your plugin it’s very promising.
I used “flexible upload” for a long time but its developmement stopped recently and the plugin compatibility for the forthcoming WP releases is probably compromised.
If I may, you should implement
- the watermark function, optional for each image (on upload or resize as many other comments suggest)
- custom (re)size on upload (for each thumbnails and full images)
- overlay libraries (lightbox, thixbox, greybox…)
Yeah bassically take over the main functions of the very usefull flexible upload. It would be great. Keep up the good work.
[...] Scissors – de mogelijkheid om je afbeelding (vanaf het uploaden) te croppen/resizen; [...]
@colin and maximus, the development version does in fact fix the stall after hitting crop.
Stephan, I stopped by to see if I could find out what’s changed in the new version of the plugin, but I wanted to comment on some of the feature requests here.
I hope you won’t give in to requests to add watermarking, a pretty pony, or other features that 1) you don’t think you’ll use yourself an/or 2) could reasonably be added via another plugin, like say, wp-superpony.
Before people jump down my throat for trying to deny them a pony, try looking at it this way. Would you rather Stephan put his energy into maintaining, and maybe even improving, what Scissors already does? Or would you rather he try to add new features and end up getting tired of working on all of them?
Personally, I’d rather have the former.
Thanks again for a great plugin.
Well, as Scissors did not want to work with me, I left it but everything is alright now with last version. But it does not do what I want
for the moment: I use Flexible Upload to resize the thumbnail (not the final image) and it seems I cannot manage this in your plugin (or I must use the crop menu ?).
Li-An: Scissors adheres to the thumbnail dimensions set in the WordPress configuration. So, if you want to change the size of your thumbnails you’re best off doing that there.
Erik: Thanks for the kind words and your support! I really appreciate that.
The motivation for introducing new features I wouldn’t use myself is not that big. Additionally, I don’t have a lot of time for serious plugin development right now, which is why there haven’t been a lot of updates lately. (It’s complicated …)
Watermarking will be a part of Scissors at some point in the future, most likely using Marekki’s Watermarking plugin that Shack mentioned … I don’t know *when* though, please be patient guys.
P.S. 0.96 was mostly a bug-fix release, which won’t affect installations where Scissors already works.
The problem is that I need two dimensions of thumbnails (you can see why here: http://www.li-an.fr/blog/?p=3111).
Well, I will go on with Flexible Upload for the moment
ON CROP, I have a popup :
Warning: Invalid argument supplied for foreach() in /home/xxxxxxxxxx/www/wp/wp-content/plugins/scissors/scissors.php on line 216
done;full,796,449
Wonderful! My main issue with Wordpress, image uploading, and Lightbox/Thickbox/etc. has been that the Full Size Image, when blown up into the lightbox pop-up, was too large (filled up entire screen). That’s why I used Flexible Upload. But your plugin integrates with the image uploader perfectly.
Therefore: I would like to be able to preset the width of the Full Size image when uploaded in a preferences section, so that it does it automatically every time!
I wish that this was a preference in the Wordpress settings (Thumb, Medium + Full sizes)
Put up a donate button on your site!
Thanks for your input! I’ve created a page where you can donate cat food for my cat Bruno at http://stephanreiter.info/donate
Also, I’m already at work to support the feature you requested! You can expect it to be present in the next version of the plugin. For a screenshot of the modified media options page go to http://skitch.com/stereo/bgeq7/media-settings-new
[...] Scissors [...]
Alrighty! The new feature is part of the current development version, which can be downloaded from http://downloads.wordpress.org/plugin/scissors.zip
Enjoy! Feedback is – as always – very welcome.
hello,
first, i want to thank you for this awsome plugin, i’ve been 3 hours googling to find something similair.
I want to send you an arabic translation, but i can’t edit the mo file.
Right click and save to french translation of 0.97 version here:
http://www.li-an.fr/blog/wp-content/traduc-lang/scissors-fr_FR.mo
http://www.li-an.fr/blog/wp-content/traduc-lang/scissors-fr_FR.po
I’m getting the following error when trying to activate the plugin:
Parse error: parse error in C:\inetpub\wwwroot\regis\wp-content\plugins\scissors\scissors.php on line 1266
Any ideas?
I’ve just fixed this problem in the new development version of the plugin. It was caused by the use of the short tag instead of the full
Thanks for reporting the problem, Dave!
Hi!
Could you please tell me how to add my pictures watermark?
I cant find instruction how to do that.
And there you say “Watermarking can also be configured and enabled in WordPress’ media settings” but i cant see this settings.
and yes i am activate plugin =)
Just downloaded this plugin and love it… much better than WP-Post-Thumbnail.
One question, let’s say I wanted to use the thumbnail generated from Scissors in a custom field.
Is there an easy way to get the thumbnail URL from the Media Library?
Michael: Just as it says in the readme-file – go to Settings -> Media …
Ray: Thanks!
An easy way to get the thumbnail URL for an image with FireFox is to go the Media Library, right-click on the thumbnail for the image in question and “Copy graphics address” or whatever it is called in English (I’m using the German version of FF).
Working with Wordpress MU 2.7 and the plugin does not seem to be saving the crop or the resize. Any known issues there?
First off, great plugin, I have been using for a few weeks and have been happy with it. I do, however, have a couple of requests.
I run a real estate site that allows agents to upload lots of pictures and I need a little more control over the formatting. I have the agents upload their pictures straight off of their camera (most of these agents have no idea how to edit images so I have to work around it as best I can). I currently have scissors resize these using a width constraint of 1920 (for full images to get HD quality for display on high end monitors), I would like to be able to crop the full images to 1920×1200, then have scissors resize down the chain. (this is not as important as the next request)
I currently get images that are 1920×1280 which is okay but not exactly what I want. The real problem is when the agents have portrait pictures. Since I’m only constraining in width, these images are HUGE still 1920×2880. What I want is to constrain portrait images to 1200 high and let the width float. (if I use the 1200 height constraint – it affects my landscape pictures – drops them to 1800×1200 which I don’t want)
So what I’m really asking for is the ability to detect a portrait image and then resize it to a reasonable height while not interfering with the landscape uploads.
Thanks again for all the work you have put into this great plugin.
Dan
Dan, thanks for your message! What you’re proposing makes a lot of sense and should be useful for a lot of other people, too. I’ll look into it and hope that I’ll be able to release a version of scissors with support for this portrait/landscape detection next week.
Patrick: MU is not supported, I’m not using it. Maybe you can find an MU-user with PHP development background to look at it.
Stephan,
That’s great, I thought of one more thing that you could work on possibly
It would be great to have the ability to rename the pictures as they come in. The camera naming schemes are not the greatest. I would love to be able to rename them using the MLS number, this is a unique number assigned to every house that is listed for sale.
I would envision it to be a base name that we can put in as an option then scissors would just add a numerical on the end. so first one in would be 28187222-01, then 28187222-02, etc.
Dan
[...] Download Scissors | Scissors WP Plugin HomePage [...]
[...] neue Fotos, die Du hochlädst irgendwie zu mühsam. Stephan Reiters WordPress Plugin Scissors bietet nicht nur die Möglichkeit die Fotos und Bilder nach dem Hochladen noch zuzuschneiden – [...]
Seems like 2.8 will use the Jcrop image cropping plugin for cropping not scriptalicious like 2.7…
Would be nice to have scissors included in core…
John Myrstad.
http://wpdevel.wordpress.com/2009/03/27/image-header-cropping-now-uses-jcrop/#comment-2033
For some reason scissors is no longer working as a plugin on my site. Its activated, but wordpress does not acknowledge its existence! Anyone know of any incompatabilities?
This is a great plugin and now with watermak support it make it even better, unfortunately if you are in wp 2.6 you will never find the water mark setting menu as the wp_settings_fields function used to insert the settings options only works in 2.7, as far as I know.
Any idea how can I include the watermark option as a normal settings menu using add_submenu_page?
Thanks
I apologize if this has been answered before. I am writing a small that builds on MM Forms to mange registration information for an arts festival I work with. Is there a way that I can call scissors into my plugin so that on a custom page I can allow image upload along with your cropping and resizing?
Thank you for you work and your time.
I’m trying this plugin, but so far couldn’t find any settings for it in 2.7.1. Does it work with that version of WP?
Steve, what’s the WP-version you’re using? Have you already tried to de- and reactive the plugin, or maybe install from scratch?
Ricky, I’ll look into it and probably just give Scissors its very own options page.
Lee, the usage scenario you are suggesting is currently not supported. However, feel free to use any Scissors code you need for your work. If you need specific functions, propose a Scissors API and I’ll see what I can do.
Edwin, Scissors works with WP 2.7.1, which is also the version I am using on my blog. The scissors settings extend WordPress’ very own media settings, so you should look for them in Settings -> Media.
Thanks for your patience! I’m still without internet access at my new home, but my future ISP already informed me that someone would setup my connection at the end of April.
Great plugin. I was able to hack it to solve a problem for several of my websites, but this is something that might be useful in the official release.
My authors upload images from youth sporting events that are 3000×2000px and 600-700K, but obviously they are not the dimensions or download size that should be included on a web page. Since we want to display the image using Lightbox we end up sending a 600-700K file to each visitor, and there could be as many as 10 photos in a post. Obviously this not an acceptable situation.
Thanks to Scissors I can resize the Full size image to 720×480 maximum so they display well in Lightbox. I also turn the quality down to a lower value (30) so each image sent to their browser is much smaller, ranging from 30 to 70K.
However, my visitors would like to be able to download the original full-sized image suitable for printing on photographic paper, because they all want a photo of their child/grandchild scoring a goal or a home run.
My solution was to add one line to scissors.php after 138 that saves the Full size image as an additional image inserting the word “-original” before the extension, so “goal.jpg” becomes “goal-original.jpg”. This way we can add a link below each photo — “Download original photo” — for the people who want one.
This solution does not break WordPress or any plugins because you still find the Full size image (adjusted to my website-compatible dimensions) located at “goal.jpg”, as well as the thumbnail and/or medium size photos; you just have an extra image that is the original photo for the people who need it.
[...] Scissors Scissors enhances WordPress’ handling of images by introducing cropping, resizing, and watermarking functionality. It does so blending in nicely with the existing image upload and management dialogs [...]
Version 1.0 is out!
A few features are still missing and will be added in future releases of the plugin, like the landscape/portrait format detection Dan wanted to see. I didn’t forget about them, but I’m still trying to come up with a way to integrated them nicely with WordPress. So, stay tuned …
[...] Scissors っていうプラグインを使用。 Ajax を使ったもので、WordPress [...]
He Stephan,
I would love a portrait thumbnail selection tool. Most template layout are worked around landscape layout, now shadowbox etc work perfectly (scaling) with portrait or landscape. Only i want to chose where wordpress crops my portrait images…
I have to upload 300+ fashion images and it keeps cutting of all the heads of the models
Hello,
First of all I wanted to thank you very much for sharing such a wonderful . I think it’s excellent.
I was wondering if it is possible to have multiple instances of the Cropping module or plugin on the edit page. I was wondering this because I have a plugin called “Unique Header Image”. The name is self explanatory but basically I like to separate the article’s or page’s image from the actual content and this way I force the article’s image to go on the top.
Anyway… I am looking for at least a lead as to how I can integrate Scissors to handle another Image input like the one create by Unique Header Image.
Thanks!
Thanks for an amazing plug-in! I have a small problem. I tried changing the file for the watermark by uploading a new one with a different name and now I get BOTH the old one and the new one. How do I remove the old watermark?
Please disregard my previous comment. I see what happened. when I uploaded the new watermark file I didn’t notice that Scissors had watermarked the new image with the previous one. Now I understand what happened and how to fix it.
Thanks for the kind words! I’m glad you find the plugin useful and I’ll try to add the features requested by you in the versions to come, as long as the make sense for a broader audience.
Eddie, look at the code where Scissors integrates itself into the image information dialog. You should be able to copy that PHP-extended HTML code more or less without changes to integrate another Scissors dialog into a page of your choosing. Just make sure to supply the ID of the image you wish to support editing of.
Have a nice weekend!
Thanks for plugin.I love wordpress
awesome plugin, thank you!!!
Stephan, thank you very much for your help! I’ll try to make sense out of it
Stephan,
Anything new in 1.0.2? can’t find a changelog anywhere. Still keeping my eyes out for the portrait/landscape addition.
Thanks
Dan
Hey Dan,
1.0.2 was a maintenance release and didn’t contain any new features visible to the user. Samuel cleaned up the code and Sergey contributed Russian language files. 1.0.3 will contain Greek language files (already part of the development version).
I just wished there was a better way of delivering language file updates … Hmmm, is there a plugin for that?
Stephan
Hi!
great plugin. I have just one request: changelog!!!
It’d be great if you put a changelog, either here or on the wordpress extension page (in the Other Notes section) for Scissors. A nice example of what you could do is here: http://wordpress.org/extend/plugins/vipers-video-quicktags/other_notes/
Thanks!
Great plugin, but no changelog
hi stephanreiter
your plugin nearly perfect !!!
but,if use small thumbnails on the pages,then show the same watermark on thumbnails and big images, that’s unreasonable.
i’m wating for you updata…..
now i had no choice but to disable the watermark .
expecteding…..
*** can the plugin set the image quality in the next version ? that will be super flexible for the users >_<
thankyou , you creat a great plugin!!!!
I am testing out wordpress 2.8 beta 2 and although the settings are set to max 1600×1024 for full size image, the uploaded pictures do not get automatically cropped
manually resizing after uploading works though.
I just installed WP 2.8 beta 2 locally to investigate this. Unfortunately I’m not able to reproduce your problem. Auto-resize works just fine for me (note: this is not cropping, it’s resizing) … Could you post a screenshot of your media settings? Maybe there’s something different between your and my configuration.
Thanks,
Stephan
Changelog who? Version 1.1 is out!
Hey, great, thanks for the changelog!!
Just want to thank you for this great plugin, version 1.1 is fantastic, all I needed ! Keep up the good work.
*just missing overlays (thickbox, lightbox, greybox…)
Great job on the 1.1 update, for those of you who want the ability to control the automatic resizing of both portrait an landscape pictures then this is the update you have been waiting for.
It will detect the aspect ratio and resize accordingly.
Thanks Stephan for the great update
Dan
tx8, here’s some information about overlays: http://www.youtube.com/watch?v=zDnXkFVEQ0Y Hope it’s useful!
[...] 2. Scissors [...]
Could you please explain, perhaps provide a real-world example for, the use for “Adaptive mode: Limit width of landscape images and height of portrait images” for the three non-thumbnail images sizes? THANKS!
thanks for you.a+
Hallo,
danke für das super plugin! Ich habe ein kleines Problem:
ich habe eine weitere bildgröße, wie hier http://wordpress.org/support/topic/235286 beschrieben, hinzugefügt, bei mir heißen die »mini_thumbs«…
Wenn ich nun die »normalen« thumbnails croppe, sollen die kleinen den gleichen ausschnitt bekommen…
Gibt es da einen hook, den ich irgendwie verwenden könnte?
Danke,
Jörn
Hi Jörn,
Freut mich zu hören, dass du das Plugin toll findest! Um deine “mini_thumbs” mit den normalen Vorschaubildern zu koppeln, kommst du um eine Modifikation des Scissors-Codes nicht herum, denn Hook gibt es dafür leider keinen. Ich werde mich bemühen, in der nächsten Scissors Version die Funktion “scissors_crop” für diesen Zweck etwas umzugestalten, bis dahin musst du aber selbst “herumbasteln”.
Schöne Grüße,
Stephan
Hi im pretty inexperienced with computers and making websites. I was changing some of the categories in my wordpress around and now i cant access my blog anymore the error reads
Parse error: syntax error, unexpected $end in /home/the17385/public_html/wp-content/plugins/scissors/scissors.php on line 1266
if anyone has any ideas how to help me fix this it would be much appreciated.
Danke für die fixe antwort, ich werd mal gucken, was ich machen kann und mich dann nochmal melden…
Jörn
Will, I think your scissors.php file is corrupted. Try deleting the scissors directory from your web space and reinstalling the plugin.
Is there a way to get a perfect square or a specific size from this plug in? All of my thumbnails look pixelated. I am using this with NextGen Gallery.
thanks
[...] Scissors Mit Scissors kann ich hochgeladene Bilder nachträglich bearbeiten: skalieren, beschneiden, drehen etc. Homepage [...]
hi,
When I upload images I found this error:
Warning: getimagesize() [function.getimagesize]: Read error! in /home/ettore/public_html/next1/wp-content/plugins/scissors/scissors.php on line 797
Warning: Division by zero in /home/ettore/public_html/next1/wp-content/plugins/scissors/scissors.php on line 850
Can you help me?
tks
Hi Sergio,
The file you have uploaded was corrupted: getimagesize() fails and returns 0×0 as width times height. The latest development version of Scissors, which you can download from http://downloads.wordpress.org/plugin/scissors.zip, is more resilient against this error and won’t die with a division-by-zero-error. Nevertheless, something is probably wrong with your image …
Regards,
Stephan
Hi,
I am wondering where to change the default values for the cropping aspect ratio. I found this line within scissors.php, but doesn’t appear to change them from 4:3:
$aspectX = isset($width) ? $width : 4;
$aspectY = isset($height) ? $height : 3;
Does anyone have a suggestion?
Thx!
The aspect ratio that’s displayed is determined on a per-image basis, so there’s nothing like a default ratio. If you get rid of those checks à la “isset($width) ? …” and force $aspectX to 4 or whatever, you should get exactly the effect you want – a default, fixed ratio.
Awesome! Thank-you Stephan and thanks again for a great plug-in.
Hello Stefen,
I have a problem with LightBox. Since I use Scissors that is very good by the way and does not stop to be better, LightBox does not work anymore.
Thanks if you have any idea (including a lightbox function in Scissors ?)
You know Stephen life is difficult for brilliant people, others always ask more from them
.
Hi, I love your plugin! Thank you! One thing I would love to see though is the ability to convert images from jpg and gif to PNG since PNG images take up less space and load faster.
Elise, you’re sweet! I’m glad you like the plugin and hopefully we’ll be able to sort out this problem you seem to have with your installation of LightBox.
I’d like to suggest two things for you to try:
a) Deactivate the Scissors plugin and check whether LightBox works after doing that. Scissors should theoretically be active only in the admin area and not interfere with plugins that affect the presentation of your live content.
b) If that doesn’t work, the problem might be with LightBox. Maybe you could try another image popup plugin, like WP-prettyPhoto that I’m using on my blog. It’s pretty cool! Don’t forget to deactivate the old LightBox plugin first to avoid conflicts …
Best,
Stephan
Nice idea! I’ll look into it … Thanks for the suggestion!
Thanks, you could say it will “trim” the file size of your images as well
just curios, is there a way, to excempt certain photo uploads from the scissors settigns?
I am asking because sometimes I am uploading panoramas, and I don’t want them restricted by those settings. so I have to go to the settigns, set them ridiculously high, then upload the panorama, then reset the settings…
[...] Scissors [...]
Fantastic plugin and great work. I’ve just migrated a friends website from an old version of wordpress to 2.8 no big issues. However now I’ve installed scissors it only seems to allow resizing/cropping of new images, not any of the one’s that already exist in the media library. The scissors controls do not appear when I edit pre-exising media content. Any advice would be greatly appreciated as there are over 650 images in this wordpress install and I’m trying to avoid telling my friend he’s going to have to manually re-upload them all.
Cheers, Benji
Thanks, Benji!
Regarding the problem you’re facing, I don’t have a solution ready at hand. The Scissors controls are hidden, if any of the following conditions is not satisfied:
MIME type of image/jpeg or png or gif.
The file exists.
The image’s width and height can be determined via getimagesize($filename) internally.
Maybe you can determine which condition evalutes to false by playing with the checks at the beginning of the function scissors_media_meta in scissors.php.
Thanks for the plugin.
I am having trouble with the watermark feature. I’m on wordpress 2.8 and scissors 1.1.9 and I use FireFox 3.5 as my browser. When I try to select an image to use as the watermark in the Settings -> Media page, I click “Insert Into Post” and the dialog box goes blank like so: http://www.elportofridays.com/scissors1.png .
I tried manually putting the path in the text field, but when I apply watermarks to images, it still doesn’t seem to work.
The image I am using for a watermark is a PNG file. Do I need to make sure I have special PHP libraries? Am I missing something simple? Any suggestions?
Thanks.
I need to ask the same question as @MisterPeabody, but I didn’t see a reply.
Can you explain “Adaptive mode: Limit width of landscape images and height of portrait images” compared to what is built into the WP image uploading capabilities?
a. If this option is selected, does this mean that, if the image is portrait (H>W), Scissors will automatically detect and will only resize on the height, and if image is landscape (W>H), Scissors will only resize on width?
If so, what a great feature!
b. So, what does WP do automatically, take the highest dimensiion (H or W, whichever is greater) and resize based on that?
Hey Jeff, I’m also using FF3.5 (Mac) and just tested this on my WP2.8 installation with Scissors 1.1.9: I didn’t encounter any problems, but it’s very well possible that some sort of conflict with other plugins causes the selection of the watermark image to fail. Could you use the FireBug plugin for FireFox to check if there are any JavaScript errors?
@Joe: Dan requested this feature in comment #109, so there’s your explanation. Basically it’s your a).
Stephan – good thinking. It looks like there are two major problems and one may be causing the other.
First, just on loading the Settings -> Media page I get this error:
$ is not a function
[Break on this error] $(’myForm’).addEvent(’submit’, function(e) {\n
Seems like jQuery is not initiallizing or setting properly.
Second, upon click “Insert Into Post” this error comes up:
win.send_to_custom_field is not a function
media-upload.php?type=image&tab=type&post_id=0()()media-up…post_id=0 (line 4)
[Break on this error] win.send_to_custom_field(”“);\n
I get a fatal error, line 73/74, when I try to apply a resize:
Call to undefined function imagecreatefrompng() in E:\web\*servername*\blog\wp-content\plugins\scissors\scissors.php on line 74
Help?
Jeff, could you try it again with the updated development version available at http://downloads.wordpress.org/plugin/scissors.zip ? I’ve added code to make sure jQuery is loaded in the admin section, which might fix your problem. Thanks!
Michael, that error message suggests that either you do not have the required GD library installed on your server or that it is outdated. Try resizing a JPEG or GIF file: If that works there’s simply no support for PNGs. If it doesn’t work then I’m afraid you won’t be able to use Scissors with your current hosting setup.
Hinterlasse eine Nachricht