NextGEN Resize – Wordpress Plugin to Resize NextGEN gallery images on the fly.

Current Version: 0.1b
NextGEN Resize is plugin that resizes your pictures, photos while they upload, on the fly depending on the options set using the NextGEN Resize control panel screen. It also resizes all images pre-existing or otherwise in a NextGen Gallery on a click of a button! This plugin requires Alex Rabe’s- NextGEN Gallery Plugin, without which the NextGEN Resize plugin simply will not work.
NextGEN Resize, says it all
– Every time you upload any and all images, it would resize them on the fly based on the options set on the settings page.
To report bugs/give feedback, please comment
Become a fan?
Features:
1. Easy/Simple to use.
2. Resize images, reduce their size and dimensions on the fly, while using NextGEN
3. Flexible settings, set dimentions, etc.
4. Easy to switch on and off.
Your donations do go a long way, it makes me want to develop more and develop better, for you. I also have a donors wall, where you can opt to be listed as a donor
Thank you for your support and have a nice day!
If you like the plugin and would like me to work on it more.., buy me a beer ..
Download
Tutorial on using the plugin
Help me support it?
Using NextGEN Resize?
Support and Help?
Subscribe for updates
Hi Denis,
Yes I am still supporting this, could we take this over email? mines i@designerfoo.com .. let me know!
Yes, I am supporting the plugin still. Sorry for the delay in getting back to you.
Need more details.
I’m trying to activate it and it won’t. WP gives me this error message (I replaced domain name):
Fatal error: Cannot redeclare adminmenu() (previously declared in /home/accountname/public_html/domain.com/wp-content/themes/photocrati-theme/functions/create-admin.php:13) in /home/accountname/public_html/domain.com/wp-content/plugins/nextgen-resize/nextgen-resize.php on line 53
NextGen came with Photocrati theme so I don’t know if I should ask for help here or at photocrati.
Its a problem with photocratti and nextgen-resize, both have the same function names, I can fix, need ftp access.
Hi
I have installed the next gen resize, however I am am trying to resize an existing album. I clicked on ‘resize all images in this gallery’
The fllowing error occrs:
600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600600
Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/90/7339390/html/candyshots/wp-content/plugins/nextgen-resize/simpleimage.php on line 83
I tried resizing to width 600, could you please tell me why the existing album is not resizing?
Thanks in advance
Hi Designerfoo!
Great plugin! Thanks a lot.
I have a problem resizing existing galleries. I have tried twice and its still huge. I wouldnt like to upload the images again. Any thoughts?
Also, it is possible to enlarge them afterwards?
Thank you!
e.
Hi Eva,
There is a button in the admin which resizes all the uploaded images(uploaded via NextGEN) auto. Use that!
Your plugin is perfect for what I need, but i always get an error when uploading photos.
You can view the error here: http://screencast.com/t/OlsTV3aGknAm
Any ideas on how to fix?
Any help would be appreciated!
Hi,
You should increase the memory limits in the php.ini file. Once done, this should work fine, another alternative is to use .htaccess file to increase the limit. Contact your host for details.
I’m having the same problem with a client’s site. Is there some universal code for increasing the memory limit via .htaccess, or will it depend on my host’s server configuration?
I tried creating a php.ini file with the code “php_value memory_limit 200M” and uploading it to the root folder, but it did nothing. Did I do that right?
Doesn’t NGG have a built-in automatic resize system? Check [Options / Images / Automatically resize]. I never checked if it actually works, but it claims to “automatically resize images on upload”.
Does not resize images and most clients want a quick solution. Its not perfect, but it works.
when using the resizer to resize an already existing gallery, i get the following error.
Fatal error: Call to undefined function: str_ireplace() in /home/content/m/l/a/mlane4136/html/wordpress/wp-content/plugins/nextgen-resize/nextgen-resize.php on line 148
i upgraded to wordpress 3.0.1. is this my problem?
thanks
ok, your PHP version is somewhat old. Either you can upgrade your php version or replace all occurrences of str_ireplace with str_replace, that should take care of it.
is it compatibile with WP 3.0.1?
yup
thx
hi!
excuse me, what’s the difference between built-in NextGEN resize feature (NG v.1.6.2) and your plugin?
thanks!
Basically, I realized that clients were not using the built in feature, as they weren’t able to find it, and now they don’t need to, as soon as any image is uploaded to the gallery it resizes based on the options specified. Hope this helps.
generally, if there were feature which could help to resize not after uploading but during it (I don’t know how
) it would be perfect, cause there’re still a lot of low bandwidth links.
I will keep that in mind, but NGG hook only allows me access after the image has been uploaded
So it will have to be a hack and hacks don’t last too long with plugin’s like NGG
I have a question. Let’s say I set the size to 640 x 480. When I upload an image that will not size to exactly 640 x 480, will the program recognize this and resize accordingly? Otherwise the photo would be “stretched” and look odd.
Hopefully that makes sense.
Nope, not currently but I am working on this feature and it should be out soon!
Thanks for the response. Will wait for the next release.
Ed
This is not working at all … I know it’s installed right ..
I have a client that is trying to upload high resolution images right off her camera … sounds like this plugin is what I need … it’s simply just not resizing anything …
thoughts ???
Hey Michael,
Thanks for sharing the access data, I solved this. The problem was your PHP MEM LIMIT was low, and the images uploaded by your customer were big, so I had to increase the LIMIT. Hope that helps, it should work fine now.
how did you set the limit higher – i guess i have the same problem
Hi Johannes,
You open up your .htaccess file wihtin the wordpress install… and then as the last line, below everything…copy paste this
php_value memory_limit 200M
This should take care of it. Let me know if you have any more trouble.
Hi! Turns out the issue Vange and I had with the display was due to the 100% width in the default style sheet on the singe pic view. Once I took that out the page stopped stretching the images.
Thanks!
Hey, your plug in is awesomeness except…it just randomly stopped working. I’m trying to sort it out and haven’t met with any success so here I am, begging guidance.
ON MY KNEES BEGGING
Hi Vange,
I did love to help you with this, could you let me have a look at what’s happening on your end?
Okay, here is a screen shot of the error in action:
http://img22.imageshack.us/img22/5341/picture1651page2havenof.png
Our content area is 560 pixels max. The settings for the plug in are:
Resize Images: Yes
Resize by :width
Pixels: 500
Height Pixels: 0
Our NG plug in itself settings look like this:
http://img52.imageshack.us/img52/9346/optionssuperficialgalle.png
Is there any way to make it that NG does not change the actual size or the displayed size of the images at all?
I appreciate any guidance you can provide–I’m losing it over this glitch and I love love love this tool!
Hi Vange,
Could you please tell me if there is an error? I can’t find any screenshot that tells me what’s happening, could you please mail me login details? so I can check for myself. Thanks!
Hello,
I’m sure this plug-in is great!
At the moment when I try to activate I get this error message…..
“Plugin could not be activated because it triggered a fatal error.”
Any help would be most appreciated.
Regards,
Nancie
Do you mind if I had a look? You can mail me and we can discuss the error further.
Hi Foo,
I’m so new to this so please excuse me if I’m in the wrong place.
If you go to my website, all my ‘vertical’ images are displayed incorrectly in the gallery if you are using ’slideshow’ (they are fine if you click on them or watch them using CoolIris)…
So does this plugin of yours help to display my vertical images correctly, or is it simply a faster way of uploading images to the gallery in an optimum size (I currently use a Photoshop action to ensure all my images are resized to the proper dimensions for NextGen gallery).
Here’s the deal: If you can help me get my vertical images to resize properly in the NextGen Gallery, you will have enough beer for some time – which may slow your development down and give you a fat arse, but hey, that’s what beers is for!
Namaste and Danjabat Baya.
Hey Richard, why don’t you mail me and I can work on the image display for you. Thanks!
I’ll second what “WhiteSphynX” said. I think the plugin is okay as it stands but the functionality is required so you can upload both landscape and portrait photos and for them to get resized accordingly. In it’s current state if you have both portrait and landscape and then set the height to say 640px – then the landscape photos are going to be 853×640 and the landscape 640×480.
Hi Alan,
Will make sure the next release has the same. The new version will be out next week, this week a new version of the other plugin is going live….
Hi, Do you have any idea of when the next version of Nextgen resize will be available?
Will the resize work regardless of which image library is being used? I know NG ships with GD as the default, but I’m using ImageMagick; does this matter?
Hi Ian,
I think it should, but the functions used in the plugin require GD 1.8 for a minimum that much I know. Why don’t your try it, and see if it works.
Hi DesignerFoo-
Great plugin it has been extremely useful.
However I started getting the following error and not for sure how long it has been going on, any advice you can give would be greatly appreciated.
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /wp-content/plugins/nextgen-resize/simpleimage.php on line 82
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /wp-content/plugins/nextgen-resize/simpleimage.php on line 83
Warning: imagejpeg(): supplied argument is not a valid Image resource in /wp-content/plugins/nextgen-resize/simpleimage.php on line 40
I deleted and reinstalled to no avail.
-Thanks, Bryan
Ok, What are you setting the width and/or the height as in the settings pane?
Hi Bryan,
Try the new version 1.3b which is out, may be that would help. Thanks!
The Update worked, Great Job, and very timely update for me ![]()
-Thanks
Thanks for the donation Bryan
That really means something to me, not the money part of it, but the fact that you are the first person to donate
thanks a ton!
Wow the very first? some of you need to step up
, come on what’s a beer. You’ld buy a friend a beer… does your friend spend his spare time building you a plugin that saves you time and makes your life a lill’ easier?
Thanks Bryan
really
)))
Thanks for creating this plugin, it’s exactly what I was looking for!
One question. Is there any way to only downsize, but not upsize? I have folders with mixed sized images. I’d like the big ones to be sized down, but I don’t want the smaller ones to be made bigger and possibly distored. Just wanted to ask in case I’m missing it!
Great plugin, thanks!
Hi Jeremy,
Thanks for the pat on the back! Currently no but I am working on it. You can select a particular width/height and if its above that or above a particular size, it would only then resize it. Thanks! I would request you join the facebook fan page and spread the word about the plugin. Thanks!
here’s my version that does the larger of width or height:
http://www.scriptkiddie.org/nextgen-resize-both.tar.gz
feel free to incorporate if you like.
Already have a version which does that, thanks for the share
really appreciate it!
I think that you might want to bump up max_execution_time/max_input_time and upload_max_filesize in php.ini for this plugin. My changes compared with php’s defaults look like this:
max_execution_time = 1500
max_input_time = 1500
memory_limit = 512M
post_max_size = 128M
upload_max_filesize = 1G
max_file_uploads = 1024
Its kind of annoying how php ships by default with limits that are extremely limiting to try to avoid abuse (and which were generally more appropriate back in 1999), which then tends to prevent what you want to do. Some of the limits that I’ve set indicate that I’d rather debug abusive issues when they occur than deal with continually running into php’s defaults.
Anyway, I know I had to tweak one of those to get nextgen-resize to work.
I also hacked up the previous version of nextgen-resize to take a “both” argument instead of just fixed height or width. Love to see this feature so that I don’t have to maintain a fork.
Hey Lamont,
Thanks, I have already incorporated the same in the new version
so you may not need to maintain the fork
I am also working on a major upgrade
have a great day and thanks a ton!
First of all, this plugin should beexactly what i need. It doesn’t work though for me. I’m getting the following error every time: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7776 bytes) in /public_html/wp-content/plugins/nextgen-resize/simpleimage.php on line 31
Hi Edwin,
I have made changes to the code to accomodate for this error. But if it persists you would have allocate more memory to PHP. Althought now it shouldn’t you can download the new version from wordpress, ver 1.2b.
Hope this helps. Have a great day!
Trying to use your plugin but it does not seem to work. I have images that were uploaded at 4200 x 2800 px and the resize option does not do so – just get an error message. On trying to upload imaes with the plugin enabled the images are not resized either, they remain at 1.3Mb size. I have tried the width and the height and width settings enabled at 800 and 600px but nether option seems to work. Any suggestions?
Could I check? if you don’t mind mailing me the admin login? I can check the same for you.
Thx Designerfoo you rock!
Thanks for the hard work.
Thank you, thank you, thank you! I kept getting a memory error when trying to resize using the NextGen native tool. This works like a charm!
Hi Alicia,
Glad it saved you time! Have a great day and thanks for using the plugin!
Does it work with NextGEN’s upload a zipfile option?
Hi Kzutter,
Nope, not yet. Sorry, will try to put in the next release though.
Be nice to have the option to adjust the ‘longer’ or ’shorter’ image lengths to account for vertical vs horizontal photos.
Thx
WSX
Hi,
I think that option has been given, if you look at the settings pane for the plugin you can opt to resize based on height or width. Hope this helps!
Might want to read the comment a little closer.
I see the Height and Width functions. I’m looking for one that will adjust the Longer or Shorter dimensions.
Maybe its vague for some so I will explain.
Say I have 5 photos and 3 are 640px wide and 480 px wide, 2 are 480px wide and 640px high. If I choose adjust the width to say 1024px wide then the 640px wide photos will be formated correctly to 1024×768 but the ‘vertical’ pictures which are 480px wide will now be 1024px wide and like 1600px high.
Get it? Probably just need a loop in the code to check which is the longer length then give an option in the plug in to adjust it. Otherwise, at least for my purposes, its kinda useless and I might as well just edit my photos before I upload them or I have to do them in select groups which again defeats the usefulness of the plug-in.
For a good example of this download Photoscape, a great open source photo and image editor, and check the resize funtions. It has both options.
I mean this comment strictly to help give feedback to make this great concept of a plug-in a more useful and better functioning one.
ThX
WSX
Hi,
Will try to put this in with the next release! Thanks!
You can use PHP’s init to increase mem in the functions.php file of your theme, but other than that you should really contact your host!












Every website I design/develop, I follow some essential steps to make your time and investment count. From free consultation to free post-production support. 
cannot get resize to work. won’t resize whilst uploading nor will it resize and established gallery.
photos are quite large 3000×2400 approx. so resizing to 1082×816 doesn’t seem to work. Are you still supporting this plugin? I seem to have much more luck on a local server.
please cntact me for more details if you need them.