Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiled Galleries: Square tiled galleries stretch top image if there's only one in the first row #5975

Closed
jillb opened this issue Dec 21, 2016 · 5 comments
Labels
[Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. [Pri] Low [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Type] Good First Bug

Comments

@jillb
Copy link

jillb commented Dec 21, 2016

Steps to reproduce the issue

Create an image gallery using Square Tiles. Upload a number of images that results in one image in the top row. (3n + 1 ;) )

What I expected

properimage

What happened instead

image

Solutions

  1. This is the CSS workaround I used for my clients' sites, in case it's helpful:

.gallery-row,
.gallery-row .gallery-group,
.tiled-gallery.type-square .gallery-row:first-child .gallery-group .tiled-gallery-item img {
height: auto !important;
}

  1. The other option is to crop it as a square, just as all the other images in the gallery are cropped squares. Without being stretched vertically as it is now.
@jeherve jeherve added [Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. [Pri] Low [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it labels Dec 22, 2016
@jeherve jeherve added this to the Not Currently Planned milestone Dec 22, 2016
@jeherve
Copy link
Member

jeherve commented Feb 13, 2017

Closing as we can't seem to be able to reproduce the issue anymore:
#6022 (comment)

Feel free to reopen if this is still happening to you!

@jeherve jeherve closed this as completed Feb 13, 2017
@jillb
Copy link
Author

jillb commented Feb 13, 2017

Hello,

Thanks for looking into the issue. It is in fact still an issue for me on WordPress.com sites. I tried it again in the customizer of the above mentioned site (removing my CSS I had put in to fix the issue) and in the customizer preview it is still doing the exact same thing:

https://edsoconstruction.com/portfolio/

Scroll down to the second photo gallery on the page.

Thanks!

@jillb
Copy link
Author

jillb commented Feb 13, 2017

I don't think I have the capability of reopening this ticket as it was closed by you, not by me.

isaacs/github#583

Please reopen it. Thanks

@jeherve
Copy link
Member

jeherve commented Feb 14, 2017

Thanks for the extra details. Since this issue is specific to WordPress.com sites and can't be reproduced on Jetpack sites, I've moved it to our internal bug tracker on WordPress.com: 7844-wpcom

I'll let you know as soon as this is fixed.

@jillb
Copy link
Author

jillb commented Feb 14, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. [Pri] Low [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Type] Good First Bug
Projects
None yet
Development

No branches or pull requests

2 participants