Skip to content

Images bigger than 600px cannot be viewed by non-users #16

@dweiss96

Description

@dweiss96

The current configuration inside public/js/editor.js rewrites the path of images wider than 600px to /admin/asset/get-image-thumbnail?id=<asset-id>&width=600&aspectratio=true. This is written to the HTML which causes the image to only be viewable on the website if you are logged in as an backend user.

This issue is only present after the backend user did a reload after the image upload. Up until then the path seems to be used directly.

Pimcore:
Image

Browser with logged in backend user:
Image

Browser without logged in backend user:
Image

I do not know if there is a need for the 600px width limit other than having a workable width for large images.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions