[SOLVED] different sizes for thumbnails

hen-drik

Joined: 2005-06-27
Posts: 8
Posted: Tue, 2005-08-16 10:50

Hello,

I played around with Matrix and Slider-templates (on G2 beta3), the test side is http://fotos.netzweite.de.

Now my question is: I'd like to have very small thumbnails in the Slider-theme (about 30px) and larger thumbnails (about 100px) in the edit-captions-pages and the search-results-page (which on my side you will reach via the keywords-selectbox).

Where in the depths of G2 do I have to go? Could anyone help me with this?

Thanks,
Hendrik

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-08-16 15:11

if you're ok with browser-resizing then tell G2 to make 100px thumbnails and put maxSize=30 in your theme where it shows thumbnails.

 
hen-drik

Joined: 2005-06-27
Posts: 8
Posted: Tue, 2005-08-16 17:00

now in slider.tpl it looks like

{g->image item=$it image=$it.thumbnail class=hthumb maxSize=30}

and it works! Good G2!! thank you!!!