View Full Version : Auto resize strange behavior..
MrHobbie
06-28-2008, 12:21 AM
First of all, auto resize is working. The strange behavior is, that it only fires the resize code if I select upload the original. In doing that, I get the resized image, the fullsize image and the thumbnail are created. If I don't say "yes" to upload original, the original is uploaded, no confirmation message and it is not prefixed by fullsize. Kinda like the add-on is off.
puzzling...
thanks
John
Dkozikowski
06-28-2008, 07:57 AM
That is very strange. That setting should have zero effect on the way the addon operates.
What version are you using?
MrHobbie
06-28-2008, 08:32 PM
I am using 1.7.1 of pixel post and 2.1.3 SE of the add-in.
Here is a screen capture of two uploads, one right after the other. The first using the defaults, the second uploading the original. As you can see on the second one, the thumbnail is created also.
http://tinypic.com/view.php?pic=2isfgu9&s=3
If it is nothing obvious, then don't worry about it, I'll just resize before uploading.
thanks your help and consideration...
John
MrHobbie
06-29-2008, 02:32 AM
I tried back to 2.10 (altered the version test in the admin php file to allow it run) and the same behavior.
fwiw..
John
Dkozikowski
06-29-2008, 05:45 AM
Are you raising your memory limit when resizing?
I took a look at the code and as I suspected, this should not be happening. The only difference between resizing w/ the fullsize option to ON is you are forced to raise your memory limit.
Try resizing and setting the memory limit to something greater than 45M.
MrHobbie
06-29-2008, 11:09 PM
I altered the memory limit to 55m and it WORKED!
I will now update the defaults to match.
Many thanks for your persistence in helping resolve this issue.
John
JFMichaud
06-29-2008, 11:59 PM
I was having a problem similar...Using autoresize, with no upload of the original and memory limit to 45m....
All i was having is a blank screen exept the header of the admin panel...beside in the images folder the original image was uploaded no other image...(in the archive page the image still have a place (blank image))
I raised the limit to 65 and it seems to solved the problem.
I'm testing in a local environnement, with wamp server.
By the way it's a great addon.
Thank
Dkozikowski
06-30-2008, 05:01 AM
Great news MrHobbie and JFMichaud. Thank you both for the kind comments.
troca
07-16-2008, 10:15 AM
Hi dwilkinsjr! I just sent you a pm, then I found this thread.
I have the option "upload original" off, raised the space to 55M, but no cigar.
No resizing, no thumbnail and a VERY big picture.
http://web.telia.com/~u15706500/Untitled-1.jpg
Dkozikowski
07-16-2008, 10:55 PM
Raise to 65M then and try.
What are the photos dimensions you are trying to upload?
troca
07-18-2008, 01:09 PM
Raised the limit but not good.
[Ändra] [Förhandstitt] [Ta bort]
#81
Swedish Namn: Fog
Filnamn: 20080718150117_img_7197.jpg
Dimensioner: 3373 x 2249, 1259.37 KB
Publiceras: 2008-07-17 22:06:57
Kategorier:
Swedish Taggar:
I thought perhaps it was something with the color profile, so I changed it to sRGB, but that didn´t help.
The largest size it can resize automatically is 1000 x 1000, and that's not good enough for me, coming right out of RAW with good quality jpgs, I don't want to resize them again. That's why I wanted the resize-addon in the first place...
http://web.telia.com/~u15706500/probls.jpg
The photoblog
http://marieandersson.se/trocafish/index.php?x=browse
Dkozikowski
07-21-2008, 08:11 PM
That's strange as I know people who resize 3373 x 2249 photos without a problem.
It's possible you're running into other PHP limitations such as max_execution_time.
It's also possible that you simply need more memory on your server (i can't see why 65M wouldn't be enough though).
Do you know how to access your PHP information? If not, create a file called info.php and place the following code within: <?php phpinfo(); ?> Upload to your server and point your browser to the file. Search the file for the max_execution_time setting and let me know what it says. Once you've found the information, delete the file from your server.
troca
07-25-2008, 02:31 PM
it says 30
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.