Hello. I'm running the latest stable version in 1.6.06 on this gallery http://lauramennell.org/gallery.
What I'm wanting to know is, I'm trying to upload some HI RES images to the gallery with dimensions of 5790x3870. All of these images in the screengrab below are the same size, yet some uploaded while others didn't. I've also increased the upload size in both my .htaccess and php.ini files. What can I do to get these images added?
Thanks.
We need to determine what is causing the problem. It could be limits on your server or you have limited image sizes in your config. Please follow the troubleshooting guidelines from the docs so we can test some uploads.
This is a screengrab for what I have in the config file settings:
I set up the test account and activated debug mode. Here are the deets:
user: test
password: testuser
I received this error when uploading:
Error executing ImageMagick - Return value: 9
Cmd line :
/usr/bin/convert -quality 100 -antialias -resize 150 -crop 150x150+0+8 'albums/userpics/10002/07192018_-_2018_Comic_Con_Los_Angeles_Times_012.jpg' 'albums/userpics/10002/thumb_07192018_-_2018_Comic_Con_Los_Angeles_Times_012.jpg'
The convert program said:
#0 /home/obscurad/public_html/lauramennell.org/gallery/uniload.php @498
You should look at how much memory is allowed for the php process (phpinfo).
Ron:
Where would I find that? When I look at the phpinfo file all it has in it is coding, no ways to change memory.
Quote from: nowordneeded on May 04, 2019, 03:51:28 AM
Where would I find that? When I look at the phpinfo file all it has in it is coding, no ways to change memory.
One of the admin menu items is
phpinfo. It will show you all the PHP settings. Look for
memory_limit. I recommend that it be at least 128M ... better is 256M. Depending on your system, it can be set either in a
php.ini file or a
.user.ini file.
I just checked and it said "no value".
Sorry, wrong line. I does say 256M.
I did not get any failure with a somewhat smaller file named like your problem files. Those are quite large files. Try increasing memory_limit to 384M.
You could also try using GD instead of ImageMagick as the image processor.
Where would I increase that? In .htaccess or the php.ini file?
That depends on your servers setup. There is also a problem with some hosts in that although you appear to have increased the memory limit, behind the scenes the host limits it elsewhere. Might be worth having a chat with them.
Phill:
I will do that. As for the issue, I think Ron's solution to change from Imagemagick to GD worked. I'm able to upload all the images I had wanted to. So for now things appear to be working as it should. Thank you again for all your help.
Marked as solved.