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

Image preview doesn't work with flysystem and dropbox

    XMLWordPrintable

    Details

      Description

      Image preview doesn't work with flysystem and dropbox.

      Prereq.: Set up flysystem with dropbox as desribed in: https://doc.ezplatform.com/en/latest/guide/file_management/#native-io-handler, https://github.com/1up-lab/OneupFlysystemBundle/blob/master/Resources/doc/index.md, https://github.com/1up-lab/OneupFlysystemBundle/blob/master/Resources/doc/adapter_dropbox.md. Also generating dropbox token is required.

      Steps:

      1. Go to Content / Content structure.
      2. Create new Image.
      3. Upload valid file.
      4. Publish.
      5. Check preview in view mode in admin UI and on frontend.

      Actual result: Preview is empty (404 in browser console). Although the file is stored on dropbox correctly.
      Expected result: When using flysystem with dropbox system doesn't attempt to load images from local storage for preview.

      Remarks: Affects also Image Asset field type.
      Could be a missing configuration / doc issue.

        Attachments

        1. EZP-30863.png
          EZP-30863.png
          66 kB
        2. EZP-30863 2.png
          EZP-30863 2.png
          66 kB
        3. EZP-30863 3.png
          EZP-30863 3.png
          16 kB
        4. EZP-30863 4.png
          EZP-30863 4.png
          14 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michal.szoltysek@ez.no Michał Szołtysek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: