mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #1103] Hover not showing preview of image file #704
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#704
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @focussing on GitHub (Oct 27, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1103
This is a great project!
I have one issue which is blocking for me.
When I change the default
$root_path = $_SERVER['DOCUMENT_ROOT']to$root_path = $_SERVER['DOCUMENT_ROOT'].'/uploads';and hover over an image file the preview is not shown.Also when I select the image file it is not shown in the document viewer also.
When I leave the $root_path as original this all works fine.
Setting the root path is important for me because I only want the users to access the uploads folder.
How can I fix this?
@focussing commented on GitHub (Oct 27, 2023):
Found it!
This setting has to be changed as well. Maybe this can be simplified?
// Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder'
// Will not working if $root_path will be outside of server document root
$root_url = '/uploads';