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 28. Mar 2024, 23:11

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  [ 8 posts ] 
Author Message
PostPosted: 18. Feb 2010, 01:23 
Offline

Joined: 17. Feb 2010, 23:38
Posts: 3
Location: California
I need to keep the width of the gallery and it's contents within my template content area which is 775 pixels wide. How/where do I do this??


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 05:49 
Offline

Joined: 18. Feb 2010, 05:43
Posts: 3
i am trying to do the same thing!

by inserting the following into my_style.css:

Code:
html, body.twg {
  vertical-align:top;
  height:10%;
   width:700px;
  margin: 0px;
  padding: 0px;
}


it will constrain the width to a certain extent however i need it smaller! (700 pixels)

there is some width value which is overriding the 700px i am trying to do(?)

can i remove the top bar that says "Please select a gallery. / Upload" etc too?[/code]


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 07:03 
Offline

Joined: 17. Feb 2010, 23:38
Posts: 3
Location: California
I tried the code you provided (thank you very much), and I set the parameters to 300 pixels to test and it did not seem to make a difference.

Regarding top bar text, I have been able to turn off most options in the Config, but for can't find "Please select a gallery/Upload" yet either.

What would really help is being able to remove the background image (I am in the default "Holiday Pictures" gallery provided) that violates my template, and also where do I get that cool fanned-out page (Flash?) thumbnail used in some of the demo's. Any thoughts? I may have to re-post elsewhere


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 07:05 
Offline

Joined: 18. Feb 2010, 05:43
Posts: 3
try setting the skin to "Transparent"

that should help with any template problems.


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 07:13 
Offline

Joined: 17. Feb 2010, 23:38
Posts: 3
Location: California
I tried Transparent Skin, and No Skin, and I keep getting this huge, repeating image in the background.


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 20:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Are you playing around with my demo gallery folders?

because some have a background image in the folder.

Please read howto 0 first and then try with a new empty album!

And if you want that the gallery has 775 px simply put it into anything that has 775 px. (iframe, table/div if you use php include ).

or do you only want to have the gallery stanalone with a width of 775px?

Make sure to delete overview.htm where I have defined an example which uses a width of 740px. Without deleting this you will always need more than ~ 800 px.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 20:27 
Offline

Joined: 18. Feb 2010, 05:43
Posts: 3
I looked over your overview.htm file...it doesn't have a specified width inside of it. All I see is

Code:
<?php
// here you can add your own text, ad's or whatever you like.


echo "<style type='text/css'>";
echo ".twg_overviewhtml { vertical-align: bottom; padding: 5px;  color:#777777;}";
echo ".twg_overviewhtml a:link { color:#777777; }";
echo ".twg_overviewhtml a:visited { color:#777777; }";
echo "</style>";
echo getLinks();
?>


Are you sure it is this file that causes the overview to be 740px in width?


Top
 Profile  
 
 Post subject:
PostPosted: 18. Feb 2010, 20:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Yes - simply delete the file as I write in the demo text.

This is an example file how to place something on the main page.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 18 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