Oversized category images

On 3.1 stable the subcategory images is blown up in size. What is the desired/default behaviour supposed to look like?

It seems that in the <img> tag width and height parameters use a large value, not sure though where it’s pulled from.

2 Likes

Ah, yes, ouchie.

I don’t know if it worked previously, as category images don’t display nicely in many cases: Include category logo aspect ratio in setting description - #2 by Canapin

I’m not familiar with this theme component, but it could be resolved with this CSS:

.category-boxes .category-logo img {
    max-width: 100%;
    height: auto;
}

This particular issue seems to be related to the component, but maybe better handling of category images in general could make this component inherit from a new behavior and display images nicely by default.


Fixed with

3 Likes