Hello,
This is my second time using Gallery. In both instances I am utilizing the application which was provided by my web hosting service.
Previously with web.com the version of Gallery allowed me to upload up to 10 images at a time. This version on Bluehost.com wont allow more than 4 at a time. Can I adjust that?
More importantly is the issue I am having with auto sizing. On web.co all images auto sized upon uploading. The version on bluehost crops everything into a perfect square. It cuts the head off of people and chops the scenery in other pics (until it is clicked on and enlarged).
How can I set images to size up to their exact shape as it was on web.coms version?
The version bluehost provides is 2.0.2
I dont know what version web.com was providing but I'm sure it was a lower version that 2.0.2
Thanks
Fred
Posts: 49
FLUXrider
From the love of the ride good things come
You can go to site admin, display , square thumbnails and fit the images to square defining what the colour will be that pads it out. Sounds like yours is set to crop images.
Alternatively , you can go the site admin, modules , and deactivate square thumbnails.
This is for 2.2.1a at least. Not sure if its the same for 2.0.2 . Upgrade is best.
kate
Posts: 6
Thanks Flux that helped.
Can you help with this one?
the last version I used allowed me to upload up to 10 images at a time. this version only allows 4 at a time.
can I change that?
Posts: 49
Its not so much the number of images you can get as the size of all those images combined I think. The max upload is set at the server in the php.ini . Thats more often than not 2mb, but each server has its own configuration. You can either ask the host to raise this , or if you have control over the server , raise it yourself there. Do a search here at gallery on the following - php.info php.ini . Alternatively , you can set the path in admin for uploads from the local server , and ftp your images in - as many as you like at at whatever size you want. The Local server upload path is set at the site admin -> general settings. You ftp your files into that folder , and then at the add item page use the from local server instead of the from web browser. If you cant change the php.ini file thats the only way I think.
Hope this helps.
Posts: 49
0pps. Double post.
Posts: 6
this is the response I got from my provider,
We dont' have a limit on the number of file uploads at a particular time that I'm aware of. I do believe such a limit would be in the php script and as such you would need to change something from the administrative area of your gallery script to be able to upload more files at once.
Posts: 49
Create an empty file called php.info and in it write -
<?php print "PHP runs under the user: [" . system('whoami') . "]<br>"; phpinfo(); ?>
Put that file into your gallery2 folder , and then point your browser to it.
That will tell you who php is running under and give you information regarding the configuration of php core. In that you will find the post_max_size and the upload_max_filesize.
Its likely that those are set at 8mb for the post size limit and 2mb for the upload max filesize.
Take that phpinfo file out of the gallery folder btw .
When you use the upload in gallery it will reflect the settings of this php.ini in that it probably tells you no file larger than 2mb and max is 8mb.
Your host has to agree to change these settings if you dont have dirct access to the server settings , and its very likely they will not.
BTW Fred. I've only been at this for six weeks. I'm on a dedicated server so dont have these issues and my gallery is embedded now in drupal. I'm pretty sure of what I have posted , but I'm a newbie and learning all the time. I still think your prob is related to this , but it may be another setting in gallery that I haven't run across yet. provisos provisos .....
kate
Posts: 49
Bluehost look pretty good.
You can run a custom php.ini file there. If it does turn out that the upload sizes are set, you can get around it by popping a custom php.ini file into your directory.