Open softyoda opened 7 years ago
GD
extension installed and enabled?Ok it worked with $ sudo apt-get install php7.0-gd and $ sudo service nginx restart
Thank you
Thumbnails caching : No : You should let php create and use the 'thumbs" directory. MiniGal will be much faster.
I don't know why it don't save thumbnails in a folder.
www-data
)In my browser console, i have this error : TypeError: document.getElementById(...) is null
I did not found any log in my /var/log/nginx/error.log
And i have set all permision to chmod -R 775
The solutioni have find is to set all right to execute, but i prefere desactivate it in the public web, so i generate my tumbs with the right to execute and then, i desactivate after, because i don't want anybody to execute an injection.
@softyoda Having file mode 0775 is not enough, you need to ensure files have proper owner/group as well.
set all right to execute
If this works then you probably have wrong ownership on your files. The preferred way to restrict permissions to the minimum is:
mkdir /var/www/minigalnano/thumbs
root:www-data
: chown -R /var/www/minigalnano root:www-data
find /var/www/minigalnano -type f -print0 | xargs -0 chmod -c 640
find /var/www/minigalnano -type d -print0 | xargs -0 chmod -c 750
chown -R www-data:www-data /var/www/minigalnano/thumbs
Hello, i have a problem, i havn't any preview of the picture, and with folder with a folder.jpg, no thumbnails. I have the last version of Minigal and PHP and all flower are in chmod 775, i also use nginx.
I don't have any flower "thumb".