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

Thumbnails not centered if original ascpect ratio
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3646
Page 1 of 1

Author:  KayM [ 15. Feb 2014, 15:35 ]
Post subject:  Thumbnails not centered if original ascpect ratio

Hi Michael,

after changing thumbnails from clipped to original aspect ratio for a new Album with
"$show_clipped_images= false;" I noticed thumbnails are not centered on overwiew and top10 page.

On overview page thumbnails are placed middle-left, on top10 thumbnails are placed top-left.
even if it's not a biug, it looks not good and it's different on overview and top10.

My fix in my_css may be "to much" but it work's :-)

Code:
.thumbnails {
  vertical-align: middle !important;
  text-align:center !important;

  margin-left: auto !important;
  margin-right: auto !important;
}

Author:  TinyWebGallery [ 15. Feb 2014, 21:01 ]
Post subject:  Re: Thumbnails not centered if original ascpect ratio

Hi,

On the topX page I can reproduct this. I'll add a style for this.
But on the overview page?
Like here: www.tinywebgallery.com/demo2

Best, Michael

Author:  TinyWebGallery [ 15. Feb 2014, 22:01 ]
Post subject:  Re: Thumbnails not centered if original ascpect ratio

I know what you mean.

I alligned them on top by purpose if text is shown below the thumbnail.
like http://www.tinywebgallery.com/demo/twg_album/03_Mexico+%282004%29

I check how you style would look like ...

Best, Michael

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