Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29466

As a Developer, I would like to have configuration for absolute/relative URLs for generated images

    Details

      Description

      Currently, the system provides absolute URLs for images generated from LiipImagineBundle by default. As a Developer, I want to have configuration absolute/relative URLs at the YAML level.

        Issue Links

          Activity

          Hide
          André Rømcke added a comment - - edited

          Note: From my understanding most people ask for this to be changed to be relative, it would also simplify things for several of our cache layers.

          So ideally, for files hosted on same domain as the web page*, we should change to serve relative urls by default. No strong need for a config for this, it should rather be up to IO or Flysystem driver what should be used (see notes below).

          * As in files not hosted on external service like S3, or otherwise served over different domain. NOTE: In those two cases host name would not vary by current pages host name so the mentioned cache issues are not relevant, in other words in the two cases absolute urls should be expected still.

          Show
          André Rømcke added a comment - - edited Note: From my understanding most people ask for this to be changed to be relative, it would also simplify things for several of our cache layers. So ideally, for files hosted on same domain as the web page*, we should change to serve relative urls by default. No strong need for a config for this, it should rather be up to IO or Flysystem driver what should be used (see notes below) . * As in files not hosted on external service like S3, or otherwise served over different domain. NOTE: In those two cases host name would not vary by current pages host name so the mentioned cache issues are not relevant, in other words in the two cases absolute urls should be expected still.
          Hide
          Michał Szołtysek added a comment -

          QA Approved on 1.7.8, 1.13.4, 2.3.2 and 2.4.1 with diff.

          Show
          Michał Szołtysek added a comment - QA Approved on 1.7.8, 1.13.4, 2.3.2 and 2.4.1 with diff.

            People

            • Assignee:
              Unassigned
              Reporter:
              Konrad Oboza
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: