Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2672

Ability for integrated servers to access learning design's SVGs

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.6
    • Fix Version/s: 2.4, 2.3.6
    • Component/s: General
    • Labels:
      None

      Description

      Following this discussion on LC: http://lamscommunity.org/dotlrn/clubs/technicalcommunity/forums/message-view?message%5fid=1259248


      "We only create the images on request.
      So whenever the image is requested via de integration servlet, we create it there on the fly (once) and return the image. Of course, we keep the reference to the image for the LD_id. So if it's requested again, we don't have to generated again.
      If the lesson/sequence is changed, when it's saved again then we remove the image reference.
      This is a much simpler solution as we don't have to be doing things for a whole bunch of methods. We just do it when the image is requested and when the sequence is exported. That's all. "

      "Additionally, from the integration point of view (the LMS on the other
      end), it would be cool to have a servlet that we can pass two
      parameters (REST style): the LD_id and the format required (svg or
      png) and it returns the image. We need to make sure that this also
      does the whole authentication/hashing thing as well so other random
      people don't get the images."


      "where do we put the svg & png files?
      file system."

      "servlet should return the image itself"

        Activity

        Hide
        ernieg Ernie Ghiglione added a comment -
        Andrey, I have tested this and it's all working good. Please commit to HEAD as well and resolve the issue.

        Thanks!
        Show
        ernieg Ernie Ghiglione added a comment - Andrey, I have tested this and it's all working good. Please commit to HEAD as well and resolve the issue. Thanks!
        Hide
        dronych Andrey Balan added a comment -
        done
        Show
        dronych Andrey Balan added a comment - done
        Hide
        ernieg Ernie Ghiglione added a comment -
        Tested and closed
        Show
        ernieg Ernie Ghiglione added a comment - Tested and closed

          People

          • Assignee:
            dronych Andrey Balan
            Reporter:
            dronych Andrey Balan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development