Uploaded image for project: 'DAM Focal'
  1. DAM Focal
  2. RESPDAM-78

Image doesn't always match the closest option if no variation is specified on the URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • 2.3.1
    • commons
    • None

      Steps to reproduce:

      1 - Add the attached light module to your Magnolia instance.

      2 - Request any image through the focalpoint with an url similar to this:
      .imaging/focalpoint/400x239/dam/jcr:ab2c4750-f59a-4b45-87f3-ec27de99d1a5/kitchen.jpg
       
      Even though the requested width is defined by the last variation on the configuration file, it returns the image with a 700 pixels width rather than 400.
      This behaviour is altered if you play around moving the variations order, like defining the variation that allows 400px width on the first place rather than the last.

        Acceptance criteria

              amanzoni Adrien Manzoni
              rgaona Roberto Gaona
              Services
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD