core icon indicating copy to clipboard operation
core copied to clipboard

Selecting images from library results in wrong path to image, related with issue #3225

Open Sander-Hub opened this issue 2 years ago • 3 comments

When selecting an image from the library. This results in the following incorrect path to the image. Insering multiple forward slashes.

Capture_image_widget

When attempting several times to remove the incorrect entry and trying again this results in the 'from library' button getting greyed out.

Capture_borkk

Attemping to add the filepath manually via 'from URL' results in issue #3225 and receiving the following message

Capture_limit

Details

Question Answer
Relevant Bolt Version 5.1.9
Install type Composer install
PHP version 7.4
Web server Symfony

Sander-Hub avatar Jun 09 '22 17:06 Sander-Hub

I'm reopening this one since it seems this is not fixed on the mentioned PR.

The reason for the image path to be set with slashes seems to be happening when using a symlink for the files directory.

nestordedios avatar Jun 17 '22 09:06 nestordedios

Note: It's an important distinction that this only happens when the target is a symlink. :-)

I'll see how we can fix this!

bobdenotter avatar Jun 17 '22 10:06 bobdenotter

This is issue no longer occurs when using a symlink.

Sander-Hub avatar Jun 17 '22 15:06 Sander-Hub