rejetto forum

Preview size of JPGs

parade · 4 · 6721

0 Members and 2 Guests are viewing this topic.

Offline parade

  • Tireless poster
  • ****
    • Posts: 138
    • View Profile
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?
« Last Edit: January 02, 2008, 11:56:05 AM by parade »


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
I don't think you have to change anything, try it and post the results. The previews are dynamically sized with images.


Offline parade

  • Tireless poster
  • ****
    • Posts: 138
    • View Profile
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


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.