deepsea887 / sigplus

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

gallery layout="fixed" pages=4 #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
I submit the idea to build a gallery by administering the number of pages pages.

Now:
{ gallery layout="fixed" rows=4 cols=3 preview_width=200 preview_height=200 
preview_crop=0 maxcount=0 alignment="center"

A new option:
{ gallery layout="fixed" page=10 preview_width=200 preview_height=200 
preview_crop=0 maxcount=0 alignment="center" 

After administration of the number of pages and the size of the thumbnail 
gallery will be built automatically by setting the number of columns and rows.

It would be great if there is a new option rotator, density thumbnail icon on 
the page.

Best Regards!

Original issue reported on code.google.com by ten.mari...@gmail.com on 30 Nov 2012 at 9:29

GoogleCodeExporter commented 9 years ago
join preview

Original comment by ten.mari...@gmail.com on 30 Nov 2012 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by huny...@gmail.com on 1 Dec 2012 at 11:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
A useful feature would also give the number of pages and the number of 
thumbnails on the page without specifying the size previews. With an option to 
crop or not.
Regards

Original comment by ten.mari...@gmail.com on 3 Dec 2012 at 11:42

GoogleCodeExporter commented 9 years ago
Unfortunately, this feature request is not entirely clear to me. (Please 
clarify, and I will re-open the issue.) How is sigplus supposed to guess the 
number of rows and columns, or even the size of the preview images? All this 
depends on the context of the sigplus activation tag, which is not available on 
the server side (where the plug-in runs), only at the time the gallery is 
rendered by the browser layout engine.

Indeed, such a feature as you propose would correspond to a fluid layout, which 
would dynamically adapt to its surroundings, not a fixed layout. On the other 
hand, there is already such a layout in sigplus called "flow layout". With flow 
layout, there are no rows or columns, images are arranged one next to the 
other, spanning available width. You must still specify preview image width and 
height though.

The proposal for the "density icon" sounds interesting but some clarification 
is needed as to how it would be supposed to work. As far as I see, this would 
expect sigplus to know information (such as total gallery width and height), 
which is not available at the time it runs on the server.

Original comment by huny...@gmail.com on 10 Nov 2013 at 11:13