Issues with showSideBar and maxSize

MartinTomes

Joined: 2005-06-09
Posts: 2
Posted: Thu, 2005-06-09 13:37

I am embedding gallery 2 in my Camera Club website. I have a couple of questions.

1. Why is it that the administrative pages don't respect showSideBar of false? Is it just that G2 isn't finished yet or will it always be that way?

2. What does g2_maxSize in an @readfile of a g2_view=imageblock.Externa mean? I would like to specify the maximum width or maximum height of the image depending on the context, it appears that maxSize becomes the length of the shortest side of the image. g2_maxWidth and g2_maxHeight would be very handy.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-06-09 13:57

1. because this isn't possible in G2 at the moment. perhaps a current change in the layout will improve this, we will see.

2. isn't he explanation in site admin -> random / popular enough?

 
MartinTomes

Joined: 2005-06-09
Posts: 2
Posted: Thu, 2005-06-09 14:47

I really need to be able to specify either the maximum width or maximum height of an image, is there any way to do that?

 
transmorphic

Joined: 2006-03-14
Posts: 3
Posted: Fri, 2006-03-31 05:23

If the length-to-width ratios of your images are all the same (or very close) you can specify the dimensions for the images in CSS. Just apply the width property. Firefox will scale your images nicely, though IE's results leave something to be desired.