Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Addons (http://www.pixelpost.org/forum/forumdisplay.php?f=13)
-   -   v1.5.x - Auto Resize Admin Addon (http://www.pixelpost.org/forum/showthread.php?t=2936)

raminia 12-18-2005 08:01 PM

v1.5.x - Auto Resize Admin Addon
 
Requires Pixelpost 1.5
Resizes uploaded photo on fly. All photos after uploading are resized to a predefined size set in the Options >> Thumbnails in the admin panel. The special thing about this addon is that it preserives the EXIF data. (Thanks to Romain for the autoresize hack for 1.4.x)

in this version you can edit the admin_autoresize.php to keep the fullsize image or not. default it keeps the fullsize as fullsize_imagename.jpg

check out the line that reads:
$keepfullsizeimage = TRUE; // change it FALSE if you don't want to keep the fullsize image.
in admin_autoresize.php

Download Link:
http://www.pixelpost.org/v1/index.ph...ds&details=134

se.nsuo.us 12-19-2005 09:45 AM

Thanks and a small bug
 
thanks for this great addon there is a small bug though

you need to have "global $keepfullsizeimage;" in the function resizeImage() otherwise the fullsize images will never be saved

se.nsuo.us 12-20-2005 06:01 AM

Link for full size picture
 
http://se.nsuo.us/contrib/fullsize_link.php.zip is a very simple addon to add link for the fullsizeimage created by Auto Resize addon...

raminia 12-20-2005 06:11 AM

Quote:

Originally Posted by se.nsuo.us
thanks for this great addon there is a small bug though

you need to have "global $keepfullsizeimage;" in the function resizeImage() otherwise the fullsize images will never be saved

Thanks for bug report.
download link is now fixed.

subneural 12-21-2005 09:40 PM

I currently have the admin_autoresize option enabled WITHOUT saving the original file. It looks like the EXIF data gets lost (just check out my images at www.subneural.com).

I just wanted to share - thanks for supporting such a great bit of code!

se.nsuo.us 12-22-2005 12:05 AM

Can't see the resized picture at your site - I see that you are using a D50, somethings were changed a wee bit about EXIF in that model perphaps the EXIF reinjection script it failing - let us have a link to your resized example (with the origianl) and I will try to look into it later today

subneural 12-22-2005 04:10 AM

I will do. I've made a few too many experimental changes to the various files, so I am going to first wipe & reinstall v1.5 from scratch. I'll post back here once everything is back up.

Thanks for all your support!

raminia 12-22-2005 05:25 AM

Quote:

Originally Posted by se.nsuo.us
Can't see the resized picture at your site - I see that you are using a D50, somethings were changed a wee bit about EXIF in that model perphaps the EXIF reinjection script it failing - let us have a link to your resized example (with the origianl) and I will try to look into it later today

D50 might be the case. that nikons alswasy have issue with exif...

303nate 12-22-2005 04:48 PM

When I go into my addons I get

Quote:

Fatal error: Call to undefined function: add_admin_functions() in /home/virtual/site34/fst/var/www/html/303nate.com/pb/addons/admin_autoresize.php on line 100
for quick reference for anyone helping line 100 is...
Quote:

99 - // add the function
100- add_admin_functions($addon_function_name,$addon_wo rkspace,$addon_menu,$addon_admin_submenu);
101-
102- //

raminia 12-22-2005 08:30 PM

Quote:

Originally Posted by 303nate
When I go into my addons I get



for quick reference for anyone helping line 100 is...

'cause as it's mentioned at the top
Requires Pixelpost 1.5

and you don't have Pixelpost 1.5 or you did not upgrade with copying all files.


All times are GMT. The time now is 06:26 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.