Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-645

Add a section about using imgfn on page "Working with images"

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None
    • Docu Sprint 10

    Description

      Main goal:
      Show how to get a link an a link for a variation (defined on site) for binaries stored on "any" workspace.

      A side nore from Philip Mundt:
      Actually, imgfn will work with (a binary node from) assets but damfn won't work with images in website workspace, IIRC
      Example:
      /tours/shark_brian_warrick_0824.JPG/jcr:content
      /tours/shark_brian_warrick_0824.JPG/jcr:content/jcr:data=<binary>

      asset.getJCRNode()
      imgfn <- asset.getJCRNode().getNode("jcr:content")

      => stuff from DAM also could be applied to damfn. However, vice versa is not possible.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jlegendre Julie Legendre
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR