You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The situation:
ElFinder installed with the following configuration - commandOptions -> getfile -> onlyURL = false
If I select a file, then handler specified in getFileCallback gets js-object with information about the selected file. In particular, there is thumbnail image URL.
When I click on the file 1, I get the correct thumbnail URL
When I click on the file 2 - all ok.
When I click on the file 1 again, I get wrong thumbnail URL that looks like this:
{thumbnails folder URL}{thumbnails folder URL}{thumbnail file}
Once again I click on the file and thumbnail URL looks like this:
{thumbnails folder URL}{thumbnails folder URL}{thumbnails folder URL}{thumbnail file}
That is, every time I click on the file a thumbnails folder URL is added in front.
As far as I understand the error in the file js/commands/getfile.js in lines 71-73.
Need to add a check if the thumbnail URL (file.tmb) already contains a folder URL (tmb), then nothing to add.
The text was updated successfully, but these errors were encountered:
The situation:
ElFinder installed with the following configuration - commandOptions -> getfile -> onlyURL = false
If I select a file, then handler specified in getFileCallback gets js-object with information about the selected file. In particular, there is thumbnail image URL.
When I click on the file 1, I get the correct thumbnail URL
When I click on the file 2 - all ok.
When I click on the file 1 again, I get wrong thumbnail URL that looks like this:
{thumbnails folder URL}{thumbnails folder URL}{thumbnail file}
Once again I click on the file and thumbnail URL looks like this:
{thumbnails folder URL}{thumbnails folder URL}{thumbnails folder URL}{thumbnail file}
That is, every time I click on the file a thumbnails folder URL is added in front.
As far as I understand the error in the file js/commands/getfile.js in lines 71-73.
Need to add a check if the thumbnail URL (file.tmb) already contains a folder URL (tmb), then nothing to add.
The text was updated successfully, but these errors were encountered: