Hi all,
First I would like to say that this script is the best gallery script I have seen, including commercial ones..
I found a way to view in coppermine pictures stored in photobucket
First look at my gallery:
http://album.arieltm.net/ ( A bit of hebrew but you'll manage

)
You can see that all the pics there are not really stores on my server but on photobucket...
How did I do it??
The key is The "album directory" setting located under "Files and thumbnails advanced settings"
This setting, by default "album/", sets the directory that all the pictures are being stored at....
Normally this directory should be on your server... but what happens if you point the script to another server??? lets say photobucket??
(http://img301.imageshack.us/img301/8619/1ag5.jpg)
The main idea is to point this setting to your photobucket directory... in my case
http://i57.photobucket.com/albums/g224/arieltm/albums/This way the coppermine script will add at the begining of the src attribute in the IMG tag your photobucket directory....
(http://img301.imageshack.us/img301/121/2kh5.jpg)
And this is what you have to do:
- Open a Photobucket account
- Create in your acount the exact direcory structure as on your album dir on your server
- Upload all your pics, including the thumb_ and normal_ to photobuct in the exact direcory structure as your server (The Windows XP Publisher wizard is recommended: http://tutorials.photobucket.com/tutorial_40.html )
- Change the "album directory" setting to your photobucket folder
Photobucket structure:
(http://img301.imageshack.us/img301/4990/3pv8.jpg)
Now the problem is to upload new pictures to the gallery because coppermine thinks that your photobucket folder is on your server... and it wants to create the "thumb_" and "normal_"
I uploaded files only with the "batch add files" option so here's the way:
IMPORTANT: your files extension must be lowercase because photobucket renames all the pics extensions to lowercase
- Change the "album directory" setting back to "album/" so the script can access your server
- Upload all the new pics to a folder under "album/" IN YOUR SERVER (Don't forget to chmod)
- run the "batch add files" scrpit and add the pics to your gallery
- Open a new album in photobucket in the exact structure as on your server
- Upload the new pics to photobucket (including the "thumb_" and "normal_") to the new album in photobucket
- Change the "album directory" to your photobucket folder
Problems I experienced:
Few things I didn't check:
- Photobucket automaticly create thumbs called "th_{filename}", maybe you can use them instead on the ones created by coppermine
- I guess you can create a mod that will alter the upload scripts to upload directly to photobucket (using sockets)
I think that's it....
1 GB space with 10 GB Monthly bandwidth for free!!!
If you have more questions post them here...