[GH-ISSUE #300] Thumbnail view for File #218

Closed
opened 2026-03-02 15:56:58 +03:00 by kerem · 2 comments
Owner

Originally created by @marcbth on GitHub (Jan 31, 2020).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/300

Hello,

...I might have a question for you. Maybe I'm too stupid.

tinyfilemanager is in the directory

/var/www/test/tiniyfilemanager

if I changed
$root_path = $_SERVER['DOCUMENT_ROOT'];

in
$root_path = 'home/usertest/files';

I will no longer see thumbnails or
the complete preview does not work anymore.

http://ip/home/usertest/files/folder.jpg as output

no file

i use nginx and php 7.3

Thanks for the effort

Cliff

Originally created by @marcbth on GitHub (Jan 31, 2020). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/300 Hello, ...I might have a question for you. Maybe I'm too stupid. tinyfilemanager is in the directory /var/www/test/tiniyfilemanager if I changed $root_path = $_SERVER['DOCUMENT_ROOT']; in $root_path = 'home/usertest/files'; I will no longer see thumbnails or the complete preview does not work anymore. http://ip/home/usertest/files/folder.jpg as output no file i use nginx and php 7.3 Thanks for the effort Cliff
kerem closed this issue 2026-03-02 15:56:58 +03:00
Author
Owner

@prasathmani commented on GitHub (Jan 31, 2020):

media(image, video, audio) preview will not work if file is outside web root.

<!-- gh-comment-id:580769621 --> @prasathmani commented on GitHub (Jan 31, 2020): media(image, video, audio) preview will not work if file is outside web root.
Author
Owner

@marcbth commented on GitHub (Jan 31, 2020):

thank you for the quick response.

is unfortunately a pity, wanted to include the tinyfilemanager in ompd (www.ompd.pl).
Unfortunately embedding does not work either. there are errors in url.

thanks again

<!-- gh-comment-id:580872835 --> @marcbth commented on GitHub (Jan 31, 2020): thank you for the quick response. is unfortunately a pity, wanted to include the tinyfilemanager in ompd (www.ompd.pl). Unfortunately embedding does not work either. there are errors in url. thanks again
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#218
No description provided.