Better image handling for products with galleries
Maybe I'm missing something, but I can't figure out how to create the product featured image size β and ideally the system creating the proper size aka add_image_size( 'fcart-product-featured-image', [image width], [image height], true ); β because having the customer do extra work to get their store products up is not good especially when they are coming from WooCommerce.
I also saw in another post that others are having trouble figuring out what image size should be used as well. https://community.wpmanageninja.com/portal/space/fluent-cart/post/what-size-of-images-should-be-used
Here is one of my client's websites:
Yeah I noticed that too. Was hoping it was just a free version issue. We need detentions/size inheritance vs just square. Also remove the borders and padding from around them.
I have this issue because, as an author, almost all my images are rectangular (book covers). Fortunately, you can use a little custom CSS:
.fc-product-gallery-thumb img {
object-fit: contain;
}
.fc-product-card img {
aspect-ratio: inherit;
height: 100%;
width: 100%;
border-top-left-radius: 0;
border-top-right-radius: 0;
-o-object-fit: contain;
object-fit: contain;
}
Experiment with these!
And yes, it would be much better if these were settings that could be applied on a per-product, per-image basis.
Matthew SelznickΒ Thank you. I'll check this out.