Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Thumbnails for Portrait Images Cuts off Top of Image v17

01 Oct 2006, 02:41

The thumbnails for portrait images in v17 cut off the top of the image. This was not a problem in v16. An example of this behavior can be seen at

http://www.merelyafleshwound.com

Go to Grab Bag - Stills - Weird People - Crashing Kristi and see pictures and see the last two pictures in this foulder.

It would be nice if this one could be fixed sooner rather than later.

Thanks
Alex
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
rp
Experienced
Posts: 31
Joined: 28 Sep 2006, 15:58

01 Oct 2006, 09:46

Have you already tried to change the settings in

/include/thumbnail.config.php
Code
// Choose between styles:
// scaletobox, scaleandcrop, exactfit

$thumbstyle = 'scaleandcrop';
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

01 Oct 2006, 12:40

thanks... I changed this file from...

$thumbstyle = 'scaleandcrop';

to

$thumbstyle = 'scaletobox';

however... the next time Imageveux is upgraded will I have to change this again?

Should this parameter be in a config file instead of in the php file?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

01 Oct 2006, 14:35

Its a good question and a good issue you mention here. With Imagevue 17, I chose to change default thumbnail creation mode to "scaleandcrop". This method creates identical-sized thumbnails, which generally look nicer in a gallery. However, it does like you say, cut of top and bottom of portrait style images.

The solution is as rp mentioned, to set thumbstyle to "scaletobox". I believe I might change it back to this setting by default, because it has been mentioned by a few users allready.
 
User avatar
Christopher
Experienced
Posts: 213
Joined: 30 Sep 2006, 18:58

01 Oct 2006, 17:03

Evening!

It's a bit cumbersome, but I actually create my thumbs from scratch. This way I can control the exact ratio, compression, and general quality of the thumbs. It's just an alternative to the automated process if you're so inclined. Not so useful of course if you have hundreds of shots to work with!

Christopher
 
User avatar
fabris.be
Posts: 17
Joined: 03 Oct 2006, 07:47

Thumbnail in 3/2 (158/105)

03 Oct 2006, 14:47

i work in 3/2 for my photos....with the 1.6 no problems ....with the new 1.7 the thumb are in 4/3 (158/118px )

i have change "scaletobox, scaleandcrop, exactfit" in include/thumbnail.config.php but no effect !

wath can i do to have thumb in 158/105 like before ? I have also try without succes in makethumb.php file.

Thank's

i hope your help,
Fab,
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

05 Oct 2006, 01:04

Please read this post for more information on the thumbnails topic:

viewtopic.php?t=83
fabris.be wrote:i have change "scaletobox, scaleandcrop, exactfit" in include/thumbnail.config.php but no effect !

wath can i do to have thumb in 158/105 like before ? I have also try without succes in makethumb.php file.
You must make sure to DELETE all your exsisting thumbnails (files starting with "tn_*" in your imagefolders) before the modified script will create new ones!
 
User avatar
fabris.be
Posts: 17
Joined: 03 Oct 2006, 07:47

05 Oct 2006, 16:50

Please read this post for more information on the thumbnails topic:
viewtopic.php?t=83
You must make sure to DELETE all your exsisting thumbnails (files starting with "tn_*" in your imagefolders) before the modified script will create new ones!
OK thanks ...all is in order !
Fab,