Square thumbnails

Post Reply
John the R-T
Posts: 3
Joined: 31 Aug 2012, 17:32

Square thumbnails

Post by John the R-T » 31 Aug 2012, 17:47

Great programme. I have approx 60 years of photographs, slides and digital images. Some landscape, some vertical.
Is there a way to
1. Crop the original to a square.
2. Resize to 120 x120.
3. Save as a thumbnail.
At the moment ETG is chopping the heads off. :-(
I've tried 'Fixed size, fill background' and get a square thumbnail Ok but the fill is white which doesn't look good on a patterned background.

TIA
John
http://www.john-the-r-t.co.uk/

Maxim
Site Admin
Posts: 823
Joined: 02 Mar 2009, 17:02

Re: Square thumbnails

Post by Maxim » 02 Sep 2012, 20:47

Currently ETG works like this when auto-cropping:

1. Resize to necessary width or height.
2. Crop height or width respectively to match the desired size.
3. Save as thumbnail.

I think it doesn't matter if the program will resize first and then crop or vice versa... The heads will go anyway if you need square thumbnails.

So if you want to keeps the heads - use "Scale" resize method. And if you want you can make all thumbnail cells in a table have equal size using the gallery CSS file. Do you know how to do it?

John the R-T
Posts: 3
Joined: 31 Aug 2012, 17:32

Re: Square thumbnails

Post by John the R-T » 03 Sep 2012, 09:46

Thanks.
I've managed to create square thumbnails with 'Fixed size, fill background' and changed the colour to almost match the patterned background. Not what I wanted but Ok.
I'm not a fan of tables prefering to have free flowing pages.
Examples
http://www.john-the-r-t.co.uk/cruise/html/cruise01.html which I'me rewriting in .php
and
http://john-the-r-t.110mb.com/malta/page01.php

I'll look into the CSS gallery method.
Thanks again.

Maxim
Site Admin
Posts: 823
Joined: 02 Mar 2009, 17:02

Re: Square thumbnails

Post by Maxim » 03 Sep 2012, 10:39

OK, even if you use "Auto-wrap thumbnails" template, it still uses tables to display each thumbnail. And you still can add the following lines to the definition of the "td_thumbnail_image" class:

td.td_thumbnail_image {
......
width: 150px;
height: 150px;
}

You can do it in the built-in template editor (select the template and click Ctrl + E), in the "CSS file" section. If you do it - all thumbnails will be displayed in square cells 150x150 pixels, even when the thumbnails are not square.

John the R-T
Posts: 3
Joined: 31 Aug 2012, 17:32

Re: Square thumbnails

Post by John the R-T » 03 Sep 2012, 11:51

Ok thanks I'll try your suggestions.
I've already edited a template to html5 including a link to an external CSS file.

Post Reply