Elxis CMS Forum

Support => General => Topic started by: xmanhattan on August 07, 2008, 14:02:38

Title: Star Gallery batch upload
Post by: xmanhattan on August 07, 2008, 14:02:38
Hello all,

I started to upload pics on using the batch upload and found the strangest thing.  Out of 10 batches, only about 5 worked well but no other batches would appear afterwards.

settings on temp are 777 owner root
Show Details:     No
Pics per Page:    30
Pics per Row:    3
Toplist entries:    10
chars:            20

User Panel Access:             super admin
Admin Approval needed:      No
Max number of images:    100
Max filesize of images:    1,000,000
Max width of images:    480
Max height of images:        640

Pictures are batched using zip with no directory, and file names are standard like 2004_1010_0055.jpg
Total number of pictures are less than 100 per zip.

Questions:
I noticed that one of the batch files that did not show pictures in the gallery had pictures in the star_pictures directory but not in the thumbnails directory.  What does this mean?

Is the star gallery program displaying pictures by simply reading the file names or are the file names of the pictures being stored in the mysql database, and if so how and which table?

The parameter for file size above is for the picture file or does that apply to the zip file being uploaded?

Title: Re: Star Gallery batch upload
Post by: xmanhattan on August 09, 2008, 11:32:25
Fixed and solved.
 
The problem so that others know is that the php.ini file was limited to 2mb for uploads which means that this is affected by the size of the zip file and not the individual photo files.

This can be fixed either by editing the php.ini file or the .htaccess file and increasing the upload limit to say 10mb.

Petros
Title: Re: Star Gallery batch upload
Post by: kebic on August 09, 2008, 12:08:43
.htaccess  ;)

php_value upload_max_filesize 10M
php_value post_max_size 10M