2 Replies Latest reply: Nov 20, 2012 10:07 AM by Pip RSS

    URLs for images in question banks

    Pip
      Hi

      I am hoping for some advice

      We currently hard code the URL for images used in our question banks. Whenever we clone the environment it continues to point at the source. Is there anyway that we can avoid this hard coding and instead reference the directory on the server that holds the images?

      Regards

      Pip Valleley

      Edited by: Pip on 31-Oct-2012 08:16
        • 1. Re: URLs for images in question banks
          scottymomo
          Assuming the images are not stored on the same host/domain as the application, I don't think there's much you can do in this regard. If they do happen to be on the same host as the application, then a relative URL could work.
          Another option would be store the images elsewhere (intranet/internet webserver) that way they could be accessed without having to make any changes on any environment.

          Scott
          http://www.seertechsolutions.com

          Edited by: scottymomo on Oct 31, 2012 9:00 AM
          • 2. Re: URLs for images in question banks
            Pip
            Hi Scott

            Can you give me an example of a relative URL when the images are stored on the same host/domain as the application?
            We currently store ours in a folder named OA_MEDIA and have attempted to do this but have so far been unsuccessful.

            Regards

            Pip