Open jeherve opened 10 years ago
In my tests, adding a gallery to a page, and switching for a template using a 625px content width to a full-width 960px content width (with Twenty Twelve), the number of columns in the gallery didn't increase; instead, the size of the images in the gallery increased.
The option I mentioned above would allow users to limit the size of the images used in a gallery.
It would be even cooler if the layout is adjusted completely automatically by looking at natural image dimensions. This wouldn't cause so much trouble for the mosaic layout, but might be tricky for square and circle galleries.
Currently the Tiled Gallery has shapes named Two, Three, Four, Five. Last two can get some adjusting so that they are more used with wider themes. We could also add a shape that puts variable number of photos per row.
Here is a similar yet opposite request: Could the programmers please consider adding a setting where site admins can specify a minimum size for gallery mosaic thumbnails? +2293790
What do you mean?
Has any of this made its way into the jetpack gallery code?
I'd love to have an option where I could set the number of images per row as well as the max image size for example. And also when using lets say 5 images per gallery, it would NOT resize 2 images over the top to make it fit the content width, but instead allow the images to be same sized and have one spot just empty int he row. 3 in one row, 2 in the other without resizing overboard.
@s-a-s-k-i-a We haven't made any of the changes mentioned here yet, but we'll post here when we do.
thanks for your reply. In the meantime I am using a transparent placeholder image when using square tiled gallery and having an odd total number of images. That way all images are same sized.
Instead of a transparent image occupying the even spot to keep that gallery design from breaking, one could also use an image showing some kind of info. For example in a staff display gallery, you could add an image which expresses that there are positions available at the company and that they are currenty hiring.
It's not yet possible to adjust the max number of tiles per row, or max image width, or anything that would allow to fit more images per row. Please, can someone which is part of the team give an insight if there are chances this feature request is going to be implemented?
Please, can someone which is part of the team give an insight if there are chances this feature request is going to be implemented?
That's not on our roadmap at the moment, but this issue is still open and we'll consider it when we start working on Tiled Galleries again. Since you've commented here, you should receive a notification for each new comment here so you'll be one of the first to know when we pick this task up!
2913495-t
WP Tiles is a gallery plugin which allows a short text code to define the sizes of the items within the gallery. Perhaps Tiled Gallery could borrow/adapt this particular idea to allow finer control of the widths/columns that images take.
For example, sometimes when we use two landscape pictures then a portrait, Tiled Galleries will stack the two landscapes and put the portrait to the right:
LLL|P
---|P
LLL|P
What would be nice is to define the min/max column widths one image could take. For instance, if I wanted the first Landscape to mimic this layout of Landscape image taking up full width at top, with landscape next to portrait:
LLLLL
LLLLL
-----
LLL|P
It'd be nice to specify something like a layout
attribute in the shortcode:
[gallery type="rectangular" ids="1,2,3" layout="F,A,A"]
F: full width
A: auto width
What would be alternately/additionally cool is to insert breaks into the image sequence, to force an image to go to the next row. Perhaps that could just be in the ids
attribute:
[gallery type="rectangular" ids="1,LB,2,3"]
LB: line break
It could be that this layout
value can be repeated when it reaches the end of the attribute's definition, i.e. cycles back to the start of the layout scheme when placing images, e.g:
LLLLL // 1: F => Landscape sized Full width
LLLLL //
----- //
LLL|P // 2 & 3: A => Landscape and Portrait sized Auto width
----- //
PPPPP // 4: F => Portrait sized Full width (since layout scheme has 3 items, it now loops/cycles/wraps)
PPPPP //
PPPPP //
PPPPP //
----- //
PP|PP // 5: A => Portrait sized Auto width
PP|PP // 6: A => Portrait sized Auto width
----- //
LLLLL // 7: F => Landscape sized Full width (since layout scheme has 3 items, it now loops/cycles/wraps again)
LLLLL //
----- //
LL|LL // 8 & 9: A => Landscapes sized Auto width
[gallery type="rectangular" ids="1,2,3,4,5,6,7,8,9" layout="F,A,A"]
3248543-t
Also reported and asked on https://wordpress.org/support/topic/max-images-across-tiled-mosaic/ User would like to have the option of selecting the number of images to place in any rows as per this previous comment/request :)
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
It would be nice to add an option to limit the size of the images generated, to avoid too large images in a Tiled Gallery. That would also be an indirect way to split the gallery into more columns.
Suggested here: