Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 25. Nov 2024, 02:13

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Fixed Gallery-width
PostPosted: 6. Sep 2005, 21:24 
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.


Top
  
 
 Post subject:
PostPosted: 8. Sep 2005, 11:29 
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


Top
  
 
 Post subject:
PostPosted: 8. Sep 2005, 22:43 
Hi,
it finally works after changing the width of the motioncontainer of the cmotion gallery.


Top
  
 
 Post subject:
PostPosted: 8. Sep 2005, 22:45 
uups, little mistake in the url...
http://www.bvb-die-zweite.de


Top
  
 
 Post subject:
PostPosted: 9. Sep 2005, 10:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2005, 23:20 
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).


Top
  
 
 Post subject:
PostPosted: 26. Sep 2005, 11:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy