K4kArot2015 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

Scaling according to one dimension #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
In earlier versions of SigPlus very comfortable option was to establish only 
one needed the size of the preview, the second was calculated automatically.
eg
To determine the maximum height of the thumbnails should enter:
         {gallery preview-height=250 preview-width= 

Currently there is only one parameter preview-width  parameter preview-height 
is ignored.

According to me, it was a practical option, through which I could quickly 
determine the size I demand a gallery.

best Regards!

Original issue reported on code.google.com by ten.mari...@gmail.com on 29 May 2014 at 2:32

GoogleCodeExporter commented 9 years ago
I am not sure I fully understand your point, please feel free to clarify. The 
parameters "preview-height" and "preview-width" act as maximum values, and 
define the encapsulating boundary rectangle dimensions. In other words, all 
images must fit into the rectangle defined by "preview-height" and 
"preview-width", and the fit is accomplished either with cropping or scaling 
the image. This means that the preview image size is always calculated 
automatically and it is always the "overflowing" dimension that truly matters.

Original comment by huny...@gmail.com on 29 May 2014 at 2:41