auto sizing images

fgross

Joined: 2006-06-26
Posts: 6
Posted: Fri, 2006-06-30 14:25
 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Thu, 2006-07-06 12:44

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

 
fgross

Joined: 2006-06-26
Posts: 6
Posted: Fri, 2006-07-14 20:14

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?

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sat, 2006-07-15 03:36

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.

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sun, 2006-07-16 01:19

0pps. Double post.

 
fgross

Joined: 2006-06-26
Posts: 6
Posted: Sat, 2006-07-15 22:18

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.

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sun, 2006-07-16 02:17
Quote:
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

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

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sun, 2006-07-16 03:01

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.