PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.5.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/)
-   -   little bug or confusion in image maintainance... (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/118996-little-bug-confusion-image-maintainance.html)

Luciano August 19th, 2005 12:40 AM

little bug or confusion in image maintainance...
 
for me its a little bug.. but i could workaround it by removing a feature ;)

ok..
what happened:
i upload 10 images into an empty gallery.
jpg size is set to 800x800 - save original - quality 80%
the originals are 1400x1200

I upload them.. and everything is perfect.

I then go to the maintainance and regenerate the thumbnails..
works fine...

the user sees the thumbnail.. he clicks on it he gets a picture about 800x600 and if he cklicks on that picture he sees the original 1400x1200

that is the way it should be...
-------------------------------------

Now for some reason i feal that the 800x600 is to big.. so i decide to change the jpg size to 700x700 (its just an example)

and i go to regenerate the normal pictures...

What i would expect is:
The user sees a thumbnail... when he clicks on it.. he gets a picture that is 700x5xx and when he clicks on that picture he sees the original that is still 1400x1200

But no.. what he gets is:
The user sees a thumbnail... when he clicks on it he gets the normal picture that is 700x5xx as expected.. and then when he clicks on that picture he doesn't see the original any more.. but a 800x600 picture.. :confused:

i looked at the code.. and what it does is..
if i resize the normal picture to a size that is smaller that the one it was.. it takes the old normal picture and replaces the original... with the old normal picture..

my original that i wanted to save is gone... !!!! and was replaced by the old normal picture...

and instead of regenerating the normal picture from the full sized original.. it resizes it from itsself.. (which means 2x quality loss.. example..I change filesize 5 times in a row... if normal pic was always generated from original.. it would always have the same quality)


maybe i misunderstood what the _original was meant for..

.. for the moment i just remmed out the line @copy normal to original..

______________________

and.. suggestion.. it would be nice that if you do not change quality of the original, and if the _original exists, that the thumbnail would be generated from the original instead of the normal picture that can have been allready manipulated and resized..

Luc

Brian August 19th, 2005 09:49 AM

Re: little bug or confusion in image maintainance...
 
Could you please update your license information? The site that is currently listed with your license is running phpBB.

Luciano August 19th, 2005 01:15 PM

Re: little bug or confusion in image maintainance...
 
actually vb and this gallery should replace that site as soon as vb 3.5 gold is out.. until then i'm only testing

Luc

Brian August 19th, 2005 03:26 PM

Re: little bug or confusion in image maintainance...
 
I was thinking this was an older bug that was fixed in the current version (which is why I tried to check your site, to see the version number), but apparently it's not as old as I thought. There's a fix posted in the 3.x bugs forum, and works for the 3.5 version as well.
http://www.vbadvanced.com/forum/show...intenance+size

Luciano August 20th, 2005 12:11 AM

Re: little bug or confusion in image maintainance...
 
thx


All times are GMT -5. The time now is 12:58 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97