Skip to content

placeholder=blur from Jahia thumbnails #764

Description

@romain-pm

Part of #734. A low-quality placeholder while the real image loads.

next/image ships placeholder: "blur" | "empty" | \data:image/...`withblurDataURL. Jahia already generates thumbnail renditions, and ?t=thumbnail` is the one resize a plain instance performs offline (#735) — so the LQIP source exists without any new infrastructure.

  • placeholder="blur", backed by the smallest available thumbnail, applied as a background-image on the <img> the way Next does.
  • blurDataURL for a caller-supplied data URI.
  • Decide whether reading the thumbnail's bytes at render time is acceptable in the GraalJS server runtime, or whether this has to be a URL reference rather than an inlined data URI. That answer decides whether the feature is possible at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featA new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions