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

Building the image url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • 1.0.13
    • None
    • None

      I have a problem accessing the images of the Focal Point extension.

      I added Focal Point 1.0.13 to my project, the default configurations are set.

       

      When I print out the path of the asset it is like "/image.jpg", so no folders or anything.

      However, when I try building the image url according to the documentation (https://wiki.magnolia-cms.com/display/EX/Focal+Points) , I cannot access the image in any way that would look logical to me.

      I tried the following (context path = /localAuthor):

       

      /localAuthor/.imaging/responsive/dam/768by1024/768x1024/dam/image.jpg

      /localAuthor/.imaging/responsive/dam/768by1024/dam/image.jpg

      /localAuthor/.imaging/responsive/dam/768by1024/image.jpg

       

      I also checked in the assets module, to verify that I am seeing the Focal Point tab, and even changed some of the images there and saved it.

       

      We are also using

      info.magnolia.templating.imaging.VariationAwareImagingSupport

      in the project. Is it possible that this is causing problems with the extension?

       

      Steps to reproduce:

      1. Install Focal Points Extension
      2. Try to use a focal point image in one of your templates, using the paths above

        Acceptance criteria

          1. focalPoint.PNG
            162 kB
            Chregi Glatthard
          2. focalPointConfig.PNG
            16 kB
            Chregi Glatthard

              amanzoni Adrien Manzoni
              platzh1rsch Chregi Glatthard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD