rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: parade on January 02, 2008, 09:51:04 AM

Title: Preview size of JPGs
Post by: parade on January 02, 2008, 09:51:04 AM
As the resolution of the monitors get higher and higher (my 20" has 1600:1200), the preview size of the JPGs gets rather small with 320x240.
Therefore I would like to make the preview a little bit larger. I think this is possible without loosing too much performance.

What do I have to change in ToG?
Title: Re: Preview size of JPGs
Post by: TSG on January 02, 2008, 01:30:27 PM
I don't think you have to change anything, try it and post the results. The previews are dynamically sized with images.
Title: Re: Preview size of JPGs
Post by: parade on January 02, 2008, 02:49:03 PM
I don't think you have to change anything, try it and post the results. The previews are dynamically sized with images.
You are right.
The only thing that I should change is the position of the preview-picture on the screen, because a greater picture exceeds the upper limit of the browser-window with JPGs listed in the upper part of the window.

And it would be nice, if your Thumbnail and Preview Generator could also create previews in an adjustable size - not only quality. ;)

Greetings
parade
Title: Re: Preview size of JPGs
Post by: TSG on January 03, 2008, 02:21:28 AM
Look for a line like this,
Box.style.top = Box.offsetTop-(Box.offsetHeight+46)/2+"px";

And have a play with the math.

The next build of the generator will have that.