Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-423

The path saxed for BinaryData can not be resolved by URI resolvers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • None
    • None
    • None
    • 4.3 M4

      The site.illustrationToSax method return the following

      <illustration mime-type="image/jpeg" lastmodified="2018-12-10T16:28:11.000000519Z" type="site-metadata" size="294626" path="anyware/ametys:illustration" filename="34a (2).jpg"></illustration>
      

      The given path is the JCR path, including the site name. It should be the logical path "illustration"

      I can not use anymore the resolver like

      <img src="{resolver:resolveCroppedImage(illustration/@type, illustration/@path, '272', '400', false(), true())}" alt="" />

      because the excepted path here is "illustration".

            cedric Cédric Damioli
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: