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, 03:20

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  [ 5 posts ] 
Author Message
 Post subject: tiny patch proposal
PostPosted: 28. Oct 2005, 23:04 
Offline

Joined: 19. Oct 2005, 22:44
Posts: 8
Hi

I made some very light modification in inc/index.inc.php

first is about the folder titles css class.
It is actualy twg_bold which is shared with some other things.
I replaced it into a new twg_title at lines 46 and 843. also added into style.css

This way I can make the folder title bigger.

second small change is that I display captions under the thumbnails at line 909. Maybe this could be made optional?


Code:
                    <table summary='' class='thumbnails' cellpadding='2' cellspacing='1'><tr><td class='thumbnails' width=180px onMouseOver=\"this.className='twg_hoverThumbnail'\" onMouseOut=\"this.className='twg_unhoverThumbnail'\"><a href='%s?twg_album=%s&amp;twg_show=%s%s'><img src='%s' %s /><br>%s</a></td></tr></table></td>", $_SERVER['PHP_SELF'], $album_enc, $aktimage, $twg_standalone, $src_value, $beschreibung , $beschreibung_orig);


Top
 Profile  
 
 Post subject:
PostPosted: 31. Oct 2005, 12:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'll take a look at it ...

Thanks,
/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 31. Oct 2005, 13:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I added the style change to my local build - it will be included in the next update.

I don't actually like to have the captions on the thumbnail page because they do really mess up the layout. This is why i only have it in the tooltip!

Making it optional is maybe o.k. but I don't want to introduce a new parameter right now.
If you like you could write a small howto in the howto section like
"Howto display the caption on the thumbnail page ..."

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 1. Nov 2005, 00:27 
Offline

Joined: 19. Oct 2005, 22:44
Posts: 8
The thumbnails with captions layout is not so messy.
I did change the vertical layout from centered to top aligned in the css, and the thumbnails are all corectly aligned.

To have the text split over several lines, I had to add a fixed width to the table cell. I also increased the thumbnail size...

The result is not so bad.


Top
 Profile  
 
 Post subject:
PostPosted: 2. Nov 2005, 10:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I tried the lines you send me - but I don't like the hover effect because it is that big.

But everone can adapt the gallery how he/she likes it best ;).
btw. I added some bugs in 1.3a which i fixed again.

Check the new dl if something is in there that bothers you ;).


/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 27 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:
powered by phpbb | Datenschutz/ Privacy policy