Uploaded image for project: 'Suggestion Box'
  1. Suggestion Box
  2. SUGGEST-173

API for adaptive image url generation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Neutral
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Recently we often stumbled about the issue that resizing Assets in Magnolia is not really efficient.

      Following things hit us:

      • resizing images wihtout GPU support (as done via AWT in Java) is neither efficient or accurate (overproportionally strong quality losses)
      • Heavy memory strain on the JVM
      • introducing external systems (asĀ https://github.com/imgproxy/imgproxy) requires us to subvert Magnolias DAM Link geneeration completly

      I therefore suggest an API that lets you:

      • introduce the notion that an external system can be the final delivery point for assets, regardless if these are hosted inside Magnolia or not
      • making common image transformation operations known to the DAM templating API, such as:
        • resizing (fit, auto)
        • crop
        • focus point (setting the contextual centre of an image that is regarded during resizing / croping)

      TL,DR: let us plugin into the image url generation

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            martyglaubitz Marty Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response: