Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7361

Be able to convert multiple links in one <img> tag

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.6.11, 5.7.5, 6.1.1
    • 5.6, 5.7
    • core
    • None
    • Yes
    • Release 5.7.4 & LICMGMT, UI Framework 2
    • 5

      There can be scenarios where LinkUtil needs to be able handle more than one link conversion in a single <img> tag:

      Consider the following:

      <img 
        alt="promo" 
        src="test" 
        data-lazy="[${link:{uuid:{db52dd24-7d59-472b-bd53-c75f78849840},repository:{dam},path:{/destinations/south-central-america.png}}}, (default)],[${link:{uuid:{baa86f2d-b1c6-413e-9879-bc2b166f9f1d},repository:{dam},path:{/destinations/polar.png}}}, (medium)], [${link:{uuid:{61c6d945-e7aa-4947-98d4-fae2d0d2c9e6},repository:{dam},path:{/destinations/north-america.png}}}, (large)]" 
      />

      The property data-lazy has 3 links.

        Acceptance criteria

              rdhar Rishab Dhar
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 1.25h Remaining Estimate - 1h
                    1h
                    Logged:
                    Time Spent - 1.25h Remaining Estimate - 1h
                    1.25h