Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #41  
Old 06-17-2006, 05:59 AM
blanc Offline
forum loafer
 
Join Date: Jun 2006
Posts: 7
I'm using that version (Sen 1.1), and I get the same "Keeping the fullsize image too? NO!" message, though it is keeping the original. I think I've figured out how to get it to work when posting using the pop3 addon and will post later for review.
Reply With Quote
  #42  
Old 06-17-2006, 03:51 PM
DerPatrick's Avatar
DerPatrick Offline
pp regular
 
Join Date: May 2006
Location: Rees/NRW/Germany
Posts: 38
Unhappy

and again ....

Quote:
Originally Posted by DerPatrick
I don't know what is wrong with my question and i think the only what i can do is repeat my question to get a answer anytime.

So, it is possible to change the function to get resized images with a specific hight and not only a specific
(anything) size(mostly the width)? (Because most offline resizing tools can this)


Thank you!
__________________
Captain: I thought you were going to upgrade this.
Trip: That is the upgrade.
Well, if you want, I can change the color.

-------------------------------------------------
My fotoblog
Reply With Quote
  #43  
Old 06-18-2006, 12:03 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
@ DerPatrick
and
@ blanc

Admin Auto Resize Addon
Version 1.2

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 set dimention of resize as by editing the admin_autoresize.php. You may also change the configuration to keep the fullsize image or not. default it keeps the fullsize as fullsize_imagename.jpg. For example if you image name was DCF0001.jpg the full size image will reside as fullsize_DCF0001.jpg inside the images directory.

check out the line that reads:
PHP Code:
// Version 1.2: Modified and bug fixed. Now you can set dimention of resize. By Ramin Mehran (pblog.raminia.com) - 2006/06/18
//

$keepfullsizeimage TRUE// change it FALSE if you don't want to keep the fullsize image.;
// usage:  (1) $DIRECTION_OF_MAXIMUM = 'height'; If you want to set the value for a fixed HEIGTH
//      (2) $DIRECTION_OF_MAXIMUM = 'width';  If you want to set the value for a fixed WIDTH
//     (3) $DIRECTION_OF_MAXIMUM = '';       If you want just to keep the maximum of width OR height at a specific size
$DIRECTION_OF_MAXIMUM '';  //  Default is empty. it will resize the longest size of height OR width to predefined size. 
Download:
http://www.pixelpost.org/v1/index.ph...ds&details=134
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #44  
Old 06-18-2006, 03:58 PM
costanza Offline
forum loafer
 
Join Date: Jun 2006
Posts: 4
@sen, I am using your version, the only one that works for me. the keepfullsizeimage is set to "1" (not "TRUE") and it does indeed keep the fullsize image. so, i am very satisfied with this addon, even though i'm confused by this line on my addon config page:

"Keeping the fullsize image too? NO!"

i checked it again to make sure i'm not crazy. (hey, i've been wrong before and will be wrong again)
Reply With Quote
  #45  
Old 06-18-2006, 05:06 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by costanza
@sen, I am using your version, the only one that works for me. the keepfullsizeimage is set to "1" (not "TRUE") and it does indeed keep the fullsize image. so, i am very satisfied with this addon, even though i'm confused by this line on my addon config page:

"Keeping the fullsize image too? NO!"

i checked it again to make sure i'm not crazy. (hey, i've been wrong before and will be wrong again)
it says
"Keeping the fullsize image too? NO!"
'cause $keepfullsizeimage is set to 1 at a wrong place!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #46  
Old 06-19-2006, 05:06 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Quote:
Originally Posted by costanza
"Keeping the fullsize image too? NO!"

i checked it again to make sure i'm not crazy. (hey, i've been wrong before and will be wrong again)
No you are not crazy - I fixed it but did not fix it good enough...
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #47  
Old 06-19-2006, 05:54 AM
derevaun Offline
pp regular
 
Join Date: Mar 2005
Location: oly, wa
Posts: 47
Odd; after installing version 1.2, I got an "unexpected $end" error in the admin page and the photoblog broke. I added a "}" before the last line of the script and the admin page worked, as does the photoblog, but the addon doesn't work. Is it just me?
__________________
http://asiftosay.com
Reply With Quote
  #48  
Old 06-19-2006, 12:36 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
oops
typo!
I'll correct it when i get home tonight!
sorry!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #49  
Old 06-20-2006, 09:19 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by derevaun
Odd; after installing version 1.2, I got an "unexpected $end" error in the admin page and the photoblog broke. I added a "}" before the last line of the script and the admin page worked, as does the photoblog, but the addon doesn't work. Is it just me?
Now I corrected the typo. a single } was missing in addons/admin_autoresize.php

Download the file from the same location and have fun.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #50  
Old 06-22-2006, 10:22 PM
JGruber15 Offline
forum loafer
 
Join Date: Jun 2006
Posts: 12
Well I have installed this addon, and I like it a lot. I also have added se.nsuo.us fullsize_link to this as well, but for some reason, I cannot get it to show the full size image when it is clicked. I'm VERY new at pixelpost, and I love it already, I'm sure its something small I am forgetting to add, is there a certin way to add the link to the image_template.html page?
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:06 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs