Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Fixed Gallery-width
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=36
Page 1 of 1

Author:  termineta [ 6. Sep 2005, 21:24 ]
Post subject:  Fixed Gallery-width

Hi,
i want the gallery to have the exact width of 600 px because of my frameset. I changed all 100% values to 600 px. It works except for the image-page.
What can I do?
Thanks in advance.

Author:  tinywebgallery [ 8. Sep 2005, 11:29 ]
Post subject: 

Hi,

Not changing all tables ;).

It depends how you include it. If you want a fixed width simply put TGW
in a table td with a fixed width of 600 (which is quite small btw ;) ).
If you want a fixed height and width is even better to use an iframe as include because you don't have any interference with css settings from your original page. Check the iframe include example in the main directory!

If you have a height I recommend to set $use_small_pic_size_as_height to true (is default).

If you need less thumbnails in the thumbnailscroller you should wait for 1.3 - its possible to use 3 instead of 5 there!

If you have finished your page it would be cool if you send me a link, maybe I know some settings of TWG that makes the gallery even fit better ;).

/Michael

Author:  termineta [ 8. Sep 2005, 22:43 ]
Post subject: 

Hi,
it finally works after changing the width of the motioncontainer of the cmotion gallery.

Author:  termineta [ 8. Sep 2005, 22:45 ]
Post subject: 

uups, little mistake in the url...
http://www.bvb-die-zweite.de

Author:  TinyWebGallery [ 9. Sep 2005, 10:21 ]
Post subject: 

Hi,

great - but you know that you could have had everything much easier (and without killing the layout at the bottom ;)).

You are using frames. Therefore TWG is running fine with 100%.
Turn on the border and you get a border of 25 px left and right (change the color to white in the framestyle.css - you can change the width there as well).

The "problem" is the small header "Bildergalerie" - TWG includes a file called header.htm if it exists (there is a howto). create a file an put your header in there. If you do this the layout of the 100% does include this text and your should not gat any scrollbars on the right anymore (only if needed). You have to include the "header" also to your other picture site.

If the size of the cmotion gallery is the problem. in 1.3 you can coose 3 instead of 5 images. I will release rc1 maybe today :). Check the forum

If you want any more details just send me a mail - btw. German is fine :).

/Michael

Author:  Guest [ 21. Sep 2005, 23:20 ]
Post subject: 

TinyWebGallery wrote:
If the size of the cmotion gallery is the problem. in 1.3 you can coose 3 instead of 5 images.


Or just change the numbers in line 732 of file inc/index.inc.php.

Where it says:
Code:
(5 * $thumb_pic_size + 4 * $space)

you can put other numbers instead of the 5 and 4. The first digit is the number of pics, and the second number is the number of spaces between them (so therefore 1 less).

Author:  TinyWebGallery [ 26. Sep 2005, 11:13 ]
Post subject: 

Hi,

not that easy. Your change will work on top but all the aranging, centering .. do not work with this change - in 1.3 this is done everywhere where it is needed :).

/michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/