Skip to content

Bug: Image thumbnails display #1303

@lbesson

Description

@lbesson

Describe the bug
Vertical images inserted into documents are often too big and blurry

Screenshots
Example 1 (https://www.camptocamp.org/routes/53823/fr/tete-des-fetoules-arete-w):
image

Example 2 (https://www.camptocamp.org/articles/269090/fr/les-coinceurs-protections-actives-coinceurs-mecaniques):
image

Additional context
Current css is:

figure[c2c\:size='MI'] {
  width: 25vw;
  max-width: 400px;
  img {
    width: 25vw;
    max-width: 400px;
  }
}

I don't know the reasoning behind (maybe some kind of mix between not too blurry, but still be 'big enough' one the page), but IMHO, we should have the same max-width and max-height.
Current state is well for horizontal images, but bad for vertical ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions