Guys,
I'd like to host some video on my gallery as well as images.
My host has the max PHP upload size at 2MB so i can't upload via the "add photos" form. It also doesnt work if upload them via FTP them use the option to import via ftp/http from the local server as i get loads of out of memory errors.
I can FTP the movies up to the server. Is there any way i can then get them into the gallery without having to use the add photos form. Even a manual sort of hack?
Thanks in advance.
Chris
Posts: 487
Well, you can use the local upload form, but modify the save_photo.php file
or whichever it's called and rename move_uploaded_file to fs_copy to try
to bypass the upload restriction.
Posts: 114
Just Create a .htaccess file or if you already have one add the folowing to the file.
php_value post_max_size 50971520
php_value upload_max_filesize 50971520
That's for 50mb I just did a 30mb zip and it worked fine!
You can FTP all your files to the server then click on add photos and scroll down to "FTP images to a directory on your server then provide that path here! " then you can put the url or path to the folder and off you go.
Hope all this helps
Posts: 38
Thanks for the idea nukestud but it didnt work :???:
The only .htaccess file i have is in the gallery root....it's empty. Is this normal?
Posts: 8194
No, it's not supposed to be blank. Try rerunning the config wizard and see if it gets something in it...
Posts: 38
I didnt think it was normal...
My gallery is in the root of my web if that makes a difference... ie. / not /gallery
The only .htaccess files i can see are in the root which is blank and another in /albums/.users which just contains an allow/deny statement.
I've reran the config with no problems. Also, all the permissions on my gallery seem to work fine