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

tiny patch proposal
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=78
Page 1 of 1

Author:  sophana [ 28. Oct 2005, 23:04 ]
Post subject:  tiny patch proposal

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);

Author:  TinyWebGallery [ 31. Oct 2005, 12:18 ]
Post subject: 

i'll take a look at it ...

Thanks,
/Michael

Author:  TinyWebGallery [ 31. Oct 2005, 13:02 ]
Post subject: 

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

Author:  sophana [ 1. Nov 2005, 00:27 ]
Post subject: 

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.

Author:  TinyWebGallery [ 2. Nov 2005, 10:05 ]
Post subject: 

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

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