
0
preview not loading full picture only thumbnails photos
when preview a larger pic( 01.jpeg), it not loading full picture only thumbnails photos, and zoom is not work 。
when previes a small pic (02.jpeg), it work well 。
Ver:2021.03.26
01.jpeg: is wrong
Debugging is on (1622307670) Request options: Array ( [skipNotification] => 1 [caching] => [debug] => 1 ) In use options: Array ( [skipNotification] => 1 [caching] => [debug] => 1 [width] => 400 [height] => 400 [geometry] => contain [pageNo] => 0 [forceExt] => jpg ) Processing: /www/wwwroot/media/Picture/test/01.jpg As: jpg File size: 1221774 bytes (1.2 MB) File is safe for web. File is smaller than 8 MB. Checking image resolution. Image size is 2048 x 1152 Requested size is 400 x 400 Original image is more than 3 times larger than the requested size. Creating lock: /www/wwwroot/media/Picture/test/.filerun.thumbnails/01.jpg/1221774/400_400_contain[1].png.lock Resizing using IMagick PHP Extension Resized image saved: /www/wwwroot/media/Picture/test/.filerun.thumbnails/01.jpg/1221774/400_400_contain[1].png Removing lock: /www/wwwroot/media/Picture/test/.filerun.thumbnails/01.jpg/1221774/400_400_contain[1].png.lock Caching is off. Removing resized image.
Debugging is on (1622307724) Request options: Array ( [type] => preview [width] => 1280 [height] => 720 [skipNotification] => 1 [caching] => [debug] => 1 ) In use options: Array ( [type] => preview [width] => 1240 [height] => 500 [skipNotification] => 1 [caching] => [debug] => 1 [geometry] => contain [pageNo] => 0 [forceExt] => jpg ) Processing: /www/wwwroot/media/Picture/test/01.jpg As: jpg File size: 1221774 bytes (1.2 MB) File is safe for web. File is smaller than 5 MB. Checking image resolution. Image size is 2048 x 1152 Requested size is 1240 x 500 Displaying actual file: /www/wwwroot/media/Picture/test/01.jpg
02.jprg
Debugging is on (1622307765) Request options: Array ( [skipNotification] => 1 [caching] => [debug] => 1 ) In use options: Array ( [skipNotification] => 1 [caching] => [debug] => 1 [width] => 400 [height] => 400 [geometry] => contain [pageNo] => 0 [forceExt] => jpg ) Processing: /www/wwwroot/media/Picture/test/02.jpg As: jpg File size: 205114 bytes (200 KB) File is safe for web. File is smaller than 8 MB. Checking image resolution. Image size is 1913 x 1080 Requested size is 400 x 400 Original image is more than 3 times larger than the requested size. Creating lock: /www/wwwroot/media/Picture/test/.filerun.thumbnails/02.jpg/205114/400_400_contain[1].png.lock Resizing using IMagick PHP Extension Resized image saved: /www/wwwroot/media/Picture/test/.filerun.thumbnails/02.jpg/205114/400_400_contain[1].png Removing lock: /www/wwwroot/media/Picture/test/.filerun.thumbnails/02.jpg/205114/400_400_contain[1].png.lock Caching is off. Removing resized image.
Debugging is on (1622307796) Request options: Array ( [type] => preview [width] => 1280 [height] => 720 [skipNotification] => 1 [caching] => [debug] => 1 ) In use options: Array ( [type] => preview [width] => 1240 [height] => 500 [skipNotification] => 1 [caching] => [debug] => 1 [geometry] => contain [pageNo] => 0 [forceExt] => jpg ) Processing: /www/wwwroot/media/Picture/test/02.jpg As: jpg File size: 205114 bytes (200 KB) File is safe for web. File is smaller than 5 MB. Checking image resolution. Image size is 1913 x 1080 Requested size is 1240 x 500 Displaying actual file: /www/wwwroot/media/Picture/test/02.jpg
Customer support service by UserEcho
Nginx -Tengine2.2.4(2.3.0)
MySQL 5.6.50
PHP-7.4
My web server is installed in docker (Ubuntu 18.04.4, nginx - tengine2.2.4 (2.3.0), MySQL 5.6.50, php-7.4), and filerun is also installed in this container / www / wwwroot / filerun. I map the host's / MNT / HDD / media folder to the container's / www / wwwroot / media. Is this related?
Now I find that in filerun WebGui, when I click "download" 01.jpg, there is an error prompt "cannot find the original file". Click "download" 02.jpg to download normally. Other files in the media directory can also be downloaded normally.
How to solve it?
The problem was finally solved
/var/log/nginx/error.log:
2021/05/31 19:21:44 [crit] 5831#0: *29709 open() "/www/server/nginx/fastcgi_temp/1/67/0000006671" failed (13: Permission denied) while reading upstream, client: 192.168.1.14, server: xxxxxx, request: "GET /?module=custom_actions&action=open_in_browser&path=%2FROOT%2FHOME%2FPicture%2Ftest%2F01.jpg HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:",
It's nginx / fastcgi_ The permission problem of temp directory, Chmod + R 777, works normally.