View Full Version : Auto Resize Addon
Dkozikowski
01-02-2008, 10:33 AM
AUTO RESIZE v2.1.1 SE
Last updated on: January 12th, 2008
http://pixelpost.dkozikowski.com/images/auto_resize.jpg
FEATURES & REQUIREMENTS
Main features:
Resize your photos on the fly!
Fully integrated into your upload and editing work flow!
When applicable, your memory limit is automatically raised to handle large photo resizes!
Ability to apply an UnSharp mask!
EXIF data preserved!
Resize by width, height, fixed or auto!
Minimum requirements:
Pixelpost v1.7 RC1 or better.
Javascript enabled.
ADDON INFO
Addon Type:
Admin Addon
Description:
This addon will automatically take a full-sized photograph and resize it to your desired width while maintaining a perfect aspect ratio.
Addon Details:
Version: 2.1.1 SE
Updated: January 12th 2008
Changes: See change log @ bottom
Requires Pixelpost: v1.7
DOCUMENTATION
Online documentation:
AutoResize User Guide (http://dwilkinsjr.com/public/pixelpost/docs/autoResizeManual.html)
Other documentation:
The same manual above is included with your download.
DOWNLOAD
Download:
Auto Resize v2.1.3 SE (http://www.pixelpost.org/extend/addons/auto-resize-addon/)
DO YOUR PART
Donate:
Help keep this and other addons current (http://donations.dkozikowski.com)
Review:
Let me know what you think. Write a review (http://www.pixelpost.org/extend/addons/auto-resize-addon/reviews/#write)
VERSION HISTORY
Key:
[!] Important
[+] New
[-] Fixed error
Changes
Version 2.1.1 SE
[+] Original EXIF data re-injected into photo as well as stored within Pixelpost's database.
Version 2.1.0 SE
[+] Added Default Settings (http://dwilkinsjr.com/public/pixelpost/docs/autoResizeManual.html#defaultSettings) pane (Admin » Options » Auto-Resize).
[!] Changed how resize options are used. New Image options override Default Settings.
Version 2.08 SE
[+] Added fullsize [Delete] option within Images pane.
[+] Added optional fullsize_link.php addon.
[-] Fixed internal pixelpost version check.
[!] Added additional security measure.
Version 2.07 SE
[+] Added "Resize by" option (Auto, Width, Height, Fixed)
[+] Added a "Review" link within the addon description.
Version 2.06 SE
[+] Added "Restore defaults" option
Raised max memory limit from 55M to 65M.
Version 2.05 SE:
[+] Added UnSharp Mask.
[+] Added PHP Memory Limit increase.
[+] Added full-sized image link within Images pane
[-] Fixed resize bug when editing images.
Removed many stored variables. Only the important ones are recorded.
MAJOR code cleanup and optimization.
Version 2.03 Beta
[!] Initial release and takeover from Raminia's v1.21 auto-resize addon (http://www.pixelpost.org/extend/addons/auto-resize-admin-addon/).
two40
01-06-2008, 01:07 AM
Just wanted to thank you for this wonderful addon. It certainly saves me a lot of time.
One little request for a future update if I may. The resized image is stripped off the exif data. Would be great if that could be preserved. Or am I missing something and that's already a feature?
Dkozikowski
01-06-2008, 09:51 PM
Just wanted to thank you for this wonderful addon. It certainly saves me a lot of time.
One little request for a future update if I may. The resized image is stripped off the exif data. Would be great if that could be preserved. Or am I missing something and that's already a feature?
I'm glad my addon can help.
Pixelpost stores the EXIF data into the database before the photo is resized. The resized photo may be stripped of its EXIF info, I'm not sure as I have not tested, but the data is already stored in the database so it was never a concern to me.
Is there a reason you need the photos to retain the data even though Pixelpost already has it stored? The only glitch that I can see is using the "Update EXIF" addon. Trying to regenerate the EXIF info would fail as it's not stored in the image after the resize operation.
Dkozikowski
01-09-2008, 06:27 AM
AUTO RESIZE v2.1.0 SE RELEASED!
Released on: January 9th, 2008
VERSION HISTORY
Key:
[!]Important
[+]New
[-]Fixed error
Changes
Version 2.1.0 SE
[+] Added Default Settings (http://dwilkinsjr.com/public/pixelpost/docs/autoResizeManual.html#defaultSettings) pane (Admin » Options » Auto-Resize).
[!] Changed how resize options are used. New Image options override Default Settings.
MINIMUM REQUIREMENTS
Requirements:
Pixelpost v1.7 RC1 or better.
Javascript enabled.
DOWNLOAD
Download:
Auto Resize v2.1.0 SE (http://www.pixelpost.org/extend/addons/auto-resize-addon/download/2.1.0/)
DO YOUR PART
Donate:
Help keep this and other addons current (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=dwilkinsjr%40dwilkinsjr%2ecom&item_name=Dwilkinsjr%27s%20Pixelpost%20Addons&page_style=PayPal&no_shipping=1&return=http%3a%2f%2fdwilkinsjr%2ecom%2fdonation%2f thankyou%2f&cancel_return=http%3a%2f%2fdwilkinsjr%2ecom%2fdona tion%2fcancel%2f&no_note=1&cn=Comments&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)
Review:
Let me know what you think. Write a review (http://www.pixelpost.org/extend/addons/auto-resize-addon/reviews/#write)
two40
01-09-2008, 10:53 AM
Thanks for the update :)
I tested the missing EXIF problem I had and it appears that it was a one time issue with one photo. I can replicate the problem but it works fine with all others. The photo in question has EXIF data embeded so I have no clue why it would do it.
Dennis
01-10-2008, 05:20 AM
Please send a copy of this photo to me for testing purposes. Thanks.
raoulw
01-12-2008, 08:42 AM
I'm also seeing all my EXIF and IPTC data get stripped. Happens to all photos. Keeping the embedded data is important to me to be able to track down & persecute copyright infringers. ;-)
R.
Dennis
01-12-2008, 09:47 AM
Basically it makes a copy of the image, not saving the exif and iptc. There is a way to re-inject those however.
Dkozikowski
01-12-2008, 09:55 AM
Correct, because pixelpost stores the EXIF info in the database, I did not see a need to re-inject it into the photo.
The old auto-resize addon did though and I'll reinstate this ability in a future update.
Dkozikowski
01-12-2008, 11:17 AM
AUTO RESIZE v2.1.1 SE RELEASED!
Released on: January 12th, 2008
VERSION HISTORY
Key:
[!]Important
[+]New
[-]Fixed error
Changes
Version 2.1.1 SE
[+] Original EXIF data re-injected into photo as well as stored within Pixelpost's database.
MINIMUM REQUIREMENTS
Requirements:
Pixelpost v1.7 RC1 or better.
Javascript enabled.
DOWNLOAD
Download:
Auto Resize v2.1.1 SE (http://www.pixelpost.org/extend/addons/auto-resize-addon/download/2.1.1/)
DO YOUR PART
Donate:
Help keep this and other addons current (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=dwilkinsjr%40dwilkinsjr%2ecom&item_name=Dwilkinsjr%27s%20Pixelpost%20Addons&page_style=PayPal&no_shipping=1&return=http%3a%2f%2fdwilkinsjr%2ecom%2fdonation%2f thankyou%2f&cancel_return=http%3a%2f%2fdwilkinsjr%2ecom%2fdona tion%2fcancel%2f&no_note=1&cn=Comments&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)
Review:
Let me know what you think. Write a review (http://www.pixelpost.org/extend/addons/auto-resize-addon/reviews/#write)
Dkozikowski
01-12-2008, 11:25 AM
I'm also seeing all my EXIF and IPTC data get stripped. Happens to all photos. Keeping the embedded data is important to me to be able to track down & persecute copyright infringers. ;-)
R.
AutoResize v2.1.1 Should re-inject your EXIF & IPTC data. Please run some test and don't forget to write a review (http://www.pixelpost.org/extend/addons/auto-resize-addon/reviews/#write).
raoulw
01-12-2008, 12:50 PM
One hour and 22 minutes between announcing the next version and releasing it. Brilliant!!! I've tested and works correctly.
Many thanks :)
R.
Hi I am using 1.7.1 and 2.1.2
The problem is,
- sometimes 2MB images do not get resized.
- when I edit an image and change the size in Autoresize options on edit image page and update ... it does not get resized
- also it does not work with "Pixelpost Copy Folder Contents"
Can u comment pls.
Dkozikowski
01-21-2008, 09:05 PM
Please send me the image via email, dwilkinsjr [at] dwilkinsjr [dot] com
I'll do some testing to be sure but I can almost guarantee that you are running out of memory.
What people do not realize is, It's not so much the file size of the photo that you need to be worried about, its the dimensions.
Please send me the image via email, dwilkinsjr [at] dwilkinsjr [dot] com
I'll do some testing to be sure but I can almost guarantee that you are running out of memory.
What people do not realize is, It's not so much the file size of the photo that you need to be worried about, its the dimensions.
Thanks for the reply. What should be the max dimensions of the image. The memory size my host has limited is to 30M and it cannot be increased even by using php.ini file.
Kindly comment on my other points also.
- when I edit an image and change the size in Autoresize options on edit image page and update ... it does not get resized
- also it does not work with "Pixelpost Copy Folder Contents"
Dkozikowski
01-22-2008, 12:43 AM
The memory size my host has limited is to 30M and it cannot be increased even by using php.ini file.
Thats your problem on all accounts.
All these process take large amounts of resources and memory.
Is the AutoResize Raise Memory Limit drop-down box grayed out and disabled when viewing the New Image page?
Thats your problem on all accounts.
All these process take large amounts of resources and memory.
Is the AutoResize Raise Memory Limit drop-down box grayed out and disabled when viewing the New Image page?
I understand thats my problem by all means :-) .
- But can u be kind to tell what r the max dimensions of the image that can be resized.
Is the AutoResize Raise Memory Limit drop-down box grayed out and disabled when viewing the New Image page?
- No
- when I edit an image (any small or large) and change the size in Autoresize options on edit image page and update ... it does not get resized
- also it does not work with "Pixelpost Copy Folder Contents"
Is it supposed to be like this only ?
Dkozikowski
01-22-2008, 01:44 AM
I understand thats my problem by all means :-) .
- But can u be kind to tell what r the max dimensions of the image that can be resized.
I have no idea. There are too many variables to give you an exact size. It's different for everyone. You'll have to figure this out on your own.
- when I edit an image (any small or large) and change the size in Autoresize options on edit image page and update ... it does not get resized
Maybe you should private message me a temp admin username/password so I can play around and see what's happening.
- also it does not work with "Pixelpost Copy Folder Contents"
Is it supposed to be like this only ?
Copy folder needs a lot of memory also. the more images you have, the more resources need. try putting a small amount of files in the folder being read by the addon. once copy folder has copied them, take them back out of the folder and place a new set back in, repeat until all photos have been copied.
Vernon.Trent
01-22-2008, 09:27 AM
not a problem, but maybe the description and version check needs some adjustments :)
Auto Resize Addon (Special Edition) (_autoresize/admin_auto_resize - version 2.1.1) - status: ON
This addon has been designed to work specifically with Pixelpost v1.7. You appear to be running v1.71.
Please download the latest version of this addon from pixelpost.org
Dkozikowski
01-22-2008, 12:47 PM
not a problem, but maybe the description and version check needs some adjustments :)
AutoResize v2.1.2 fixes this.
If you did what the message told you, you would be all set ;)
It wud be great if you cud make this addon compatible with Copy Folder addon so that the images copied from the copy folder addon also get resized. I know you can do it :-)
Dkozikowski
01-23-2008, 10:40 AM
Sorry, I cannot and will not at this time.
It's a headache waiting to happen with support questions flooding in about max script execution times and memory limit allocations, etc.
I'm busy enough as it is :p
rickrock
02-16-2008, 11:08 PM
Hi! I have an unfortunated error while using Autoresize V212 with PP 1.7.1..
After setting clicking on "upload", I get a pagefull of codes (seems likes the .php page does not load correctly: a mix of php codes and text), with the Admin menu on the bottom.
The thumbnail is not created, the resized picture either, but I get the original image with the EXIF though...
Any idea?
When I set the Addon to OFF it works like before!
Dkozikowski
02-18-2008, 03:01 PM
I'll be releasing an update soon. I'm not sure if it will fix your current error as I have no idea why it's doing what you have stated but if it doesn't we'll go from there.
digitaltechnocrat
02-18-2008, 03:51 PM
Hey,
Thanks for this wonderful addon. But i cant seem to get it 2 work. I face the same error as rickrock. A garbled page with the admin panel at the bottom. Can you help?
Dkozikowski
02-18-2008, 08:28 PM
i need a screenshot or better yet, temp admin access. you can supply me with the login details via PM
digitaltechnocrat
02-20-2008, 07:32 AM
Ok i got it working on my webhost. But when i try to run it on localhost under the latest version of wampserver, the addon crashes. Which makes me believe it has something to do with the settings in php.ini file. Does this addon need any special php.ini settings?
Settings of server where this addon works out of the box:
Php Version = 5.2.5
Mysql version = 4.1.22
Hosting OS = linux
Settings on server where this addon does not work:
Php version = 5.2.5
Mysql version = 5.0.25
Hosting OS = windows XP
Any special setting in the php.ini file that i should be looking at? or does the Hosting OS and Mysql version make a difference?
digitaltechnocrat
02-20-2008, 07:36 AM
Also the only difference between the two php.ini settings are
upload_max_filesize which is set to 10M on the server where this addon does not work
and is set to 74M on the server where this addon works out of the box
Dkozikowski
02-20-2008, 02:14 PM
It could be a windows hosting issue. As i do not have windows hosting I cannot tell you but the php / mysql versions look just fine.
Also, 10M should be plenty.
If you want to PM me your FTP and admin access credentials, I can toy with the addon file and see what I can do to get it working under your windows installation.
Edit, I just read that the windows install is local. Looks like you're on your own for the time being while i look into possible compatibility issues.
Try the following though, download this older but functional version, http://www.pixelpost.org/extend/addons/auto-resize-addon/download/2.1.0/
Open the _autoresize/ folder and find the admin_auto_resize.php file within. Open this file in a simple text editor like notepad.
Find and change the following line of code if($installed_version != '1.7'){ to if($installed_version <= '1.69' || $installed_version >= '1.8') and install the addon.
Does it work now?
Dkozikowski
02-20-2008, 02:21 PM
Hi! I have an unfortunated error while using Autoresize V212 with PP 1.7.1..
After setting clicking on "upload", I get a pagefull of codes (seems likes the .php page does not load correctly: a mix of php codes and text), with the Admin menu on the bottom.
The thumbnail is not created, the resized picture either, but I get the original image with the EXIF though...
Any idea?
When I set the Addon to OFF it works like before!
OK, also try my suggestion above. http://www.pixelpost.org/forum/showpost.php?p=55167&postcount=29
digitaltechnocrat
02-20-2008, 04:02 PM
It could be a windows hosting issue. As i do not have windows hosting I cannot tell you but the php / mysql versions look just fine.
Also, 10M should be plenty.
If you want to PM me your FTP and admin access credentials, I can toy with the addon file and see what I can do to get it working under your windows installation.
Edit, I just read that the windows install is local. Looks like you're on your own for the time being while i look into possible compatibility issues.
Try the following though, download this older but functional version, http://www.pixelpost.org/extend/addons/auto-resize-addon/download/2.1.0/
Open the _autoresize/ folder and find the admin_auto_resize.php file within. Open this file in a simple text editor like notepad.
Find and change the following line of code if($installed_version != '1.7'){ to if($installed_version <= '1.69' || $installed_version >= '1.8') and install the addon.
Does it work now?
Works Like a Charm :-) what seemed to be wrong?
Dkozikowski
02-20-2008, 04:16 PM
The 3rd party EXIF library I am using. Looks like I need to get to the root of the problem or drop the library for a different one or all together.
pixelsthatrock
03-12-2008, 10:10 AM
Hi there
I've just upgraded to pp 1.7.1, and now installed a fresh version of AutoResize v2.1.3 SE.
In the Addons page, I see this message (after I click the OFF link):
"no name specified (_autoresize/admin_auto_resize - version ?) - status: ON
This addon provides no further information. Please have a look into the addon file for what it is meant to be and blame the addon author for that."
In the Options section I do not see the section for AutoResize...
Can anyone give an indication of what's wrong?
Hosting is on Windows Server 2003, PHP Version 4.4.2 CGI/FastCGI, MySQL 4.1.22
I've also created a fresh pp install separately to check if the problem was with my upgrade, but that had the same effect.
Thanks
Simon
Dkozikowski
03-12-2008, 02:22 PM
OK. For starters, you said you clicked OFF. So, the Options menu will not be there unless the addon is turned ON.
I have no clue as to why you are receiving the "No Name Specified" and "This addon provides no further information. Please have a look into the addon file for what it is meant to be and blame the addon author for that."
You should only see this when the addon does not provide a addon name or description. Both of which my addon have unless A) you downloaded a modified version or B) you modified it yourself.
Please post a list of all the addons you see in your admin panel. Also, post a list of all the addon files you see in your addons folder.
pixelsthatrock
03-12-2008, 04:40 PM
Sorry, I wasn't being clear. Initially the addon was listed with a red OFF link. I clicked that to turn it ON, and then the message I quoted appeared.
Is anything special needed in the PHP department that may not be avail. in my Windows version?
This is what I see in my addon page:
Advanced stats (advanced_stat - version 1.0) - status: ON
Pixelpost Calendar (calendar - version 1.1.6) - status: ON
Update EXIF (admin_update_exif - version 0.2) - status: ON
_autoresize/admin_auto_resize (_autoresize/admin_auto_resize - version ?) - status: ON
Admin Sample 12CropImage addon (admin_12CropImage - version 1.0) - status: OFF
Fullsize Link (_autoresize/fullsize_link - version 1.0) - status: OFF
Pixelpost Akismet comment filter (Admin Side) (_akismet/admin_akismet_comment - version 1.4) - status: OFF
Pixelpost Akismet comment filter (Front Side) (_akismet/front_akismet_comment - version 1.3) - status: OFF
Pixelpost Copy Folder Contents (copy_folder - version 1.1) - status: OFF
Pixelpost Defensio comment filter (Front Side) (_defensio/front_defensio - version 1.3.1) - status: OFF
Directory listing of addons:
_akismet
_autoresize
_defensio
admin_12CropImage.php
admin_ping.php
admin_update_exif.php
advanced_stat.php
calendar.php
copy_folder.php
current_datetime.php
index.html
paged_archive.php
Dkozikowski
03-12-2008, 06:48 PM
Well that is certainly odd and at this point in time have no answer for you.
You can try removing all addons (except for the resize addon) from your addons folder. Does the resize addon still function oddly?
If you wish to grant me temporary admin access, I may be able to figure out something. You can private message me the details.
KingSky
07-28-2008, 09:46 PM
I am having a problem... when I activate the auto resize plugin it seems to work and says it is functioning normally.
But then when I click the options link I just get a blank screen. I couldn't find any similar posts about this.
I tried adding &error to the end of my url but it is still completely blank, just white screen.
Thanks.
Sirenon
07-31-2008, 02:35 AM
Hi, Ihave a problem with the fullsize addon. When I installed Auto Resizo all works fine include the fullsize feature. But now, when I use the <FULLSIZE_PATH> or <FULLSIZE_LINK> tags don't work.
Here you can see exactly the problem: http://gusi.freehostia.com/pixelpost/index.php. When you click on the image don't show the fullsize image.
Thank you.
Sirenon
07-31-2008, 07:39 AM
OK, I found the problem. The addon files was in a wrong folder.
kuntardo
08-18-2008, 11:21 AM
Did you ever resolve the issue with Auto Resize Addon installed on Windows server?
I have a fresh PP 1.7.1 install on my Windows host account. I removed all addons and installed the latest Auto Resize but it doesn't work.
Please take a look at screen shots after install.
http://www.kuntu.net/img/addons.jpg
http://www.kuntu.net/img/options.jpg
http://www.kuntu.net/img/dir.jpg
alyssey
10-26-2008, 05:04 PM
Hello,
I am trying to use the auto resize 2.1.3 addon but it doesn't seem to work, I'm uploading from my cellphone thanks to the POP3 Post addon, but the images come out 2592 x 1944. I was trying to have them autoresized to "Auto" - Maximum size 700px.
On the default settings I have:
Resize Photos - Yes
Upload original photo: YEs
Raise memory limit: 65m
UnSharp mask: Do not apply
Resize by: Auto
Maximum image size: 700 pixels
JPG photo quality: 80%
Pixelpost is installed here:
http://www.alyssey.net/moblog/
Could someone please help?
radiotito
01-02-2009, 10:56 PM
I use Auto Resize 2.1.3 with PixelPost 1.7.1 It works fine and resize works OK, but EXIF data is removed . What could I do to solve this ?
Dkozikowski
04-08-2009, 10:44 AM
I've got a new AutoResize version on the burner...
The new version does not add any "new" features per say.
The EXIF data is no longer stripped during the resize process and the code has been completely reworked and has been built to be more efficient!
I'll need a few beta testers within the next couple of days so if you currently use version 2.1.3 of my Auto Resize Addon (http://www.pixelpost.org/extend/addons/auto-resize-addon/) and would like to be a guinea pig for the latest and greatest, please PM me.
Please note:
The new Autoresize addon requires PHP 5.0. If you're not sure if you meet this minimum requirement, install the addon anyway and it will tell you if you're unable to use the new addon within the addons' description.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.