forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Jaguar on January 19, 2005, 11:52:42 pm

Title: A different URL for each album
Post by: Jaguar on January 19, 2005, 11:52:42 pm
Hello,
To exceed the maximum size of my website (100 Mb), I would like to be able to store each album of my gallery on a different website.
For this, it would be necessary that one can specify a different URL for the directory of each album (for example http://www.site1.com/photos for "album 1", http://www.site2.com/user/photos for "album 2" and http://www.site3.com/images/album3 for "album3"...).
Title: Re: A different URL for each album
Post by: kegobeer on January 20, 2005, 02:23:58 am
Sorry, this kind of request has already been turned down.  We require the pictures to be on the same site, as this kind of behavior leads to leeching files.
Title: Re: A different URL for each album
Post by: Jaguar on January 20, 2005, 10:49:04 am
It is a pity really.
Today, with a camera basic (5 Mpixels) and an already large website of 300 Mb, Coppermine makes it possible to store less than 150 photos :-[ . What removes any interest to him...
Before thinking of leecher (which in any event will be able to always copy the photos from another site), you would make better think of truths users!
Title: Re: A different URL for each album
Post by: Tranz on January 20, 2005, 10:57:22 am
You could resize the images. Also, you could get a webhost that provided more space. Even with broadband, you think people really want to download/see 5MB photos?
Title: Re: A different URL for each album
Post by: Jaguar on January 20, 2005, 11:20:03 am
5MB photos?
3 Mb in my example (5Mpixels camera, best quality jpeg).

You could resize the images. Even with broadband, you think people really want to download/see 5MB photos?
All the people wishing to print photos want it!
So really people did not want that, then all the cameras would be still into 1 Mpixels :\'(

Also, you could get a webhost that provided more space.
A paying webhost in this case, several free in the other case ;D !!!
Title: Re: A different URL for each album
Post by: Tranz on January 20, 2005, 09:10:37 pm
A paying webhost in this case, several free in the other case ;D !!!
Well then, that's the price you pay for "free". Why should you expect to get the same benefits as people who actually pay for webhosting?
Title: Re: A different URL for each album
Post by: OmegaGOD on January 25, 2005, 12:07:36 pm
I run a photo gallery and own an 8.3 mega-pixel camera. I find it useless to post the full-size image to the web. I always resize my images to either 1024 or 1280; otherwise, the casual surfer will only see a fraction of your pictures and will have to scroll around to see the rest.

All the people wishing to print photos want it!

I agree.. I print my photos and sell them. Why would I want to put up the high res image so that other people can just DL them steal them and print them?

100MB webhost? Those are still around?... find a new one. Mine offers 1GB for 15 bucks!
Title: Re: A different URL for each album
Post by: Jaguar on February 07, 2005, 03:20:30 pm
in functions.inc.php, just replace :

-----------------
return $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
-----------------

by :

-----------------
 $cheminsite2 = 'http://www.mysite2.com/photos/albums/';
$cheminsite3 = 'http://www.mysite3.com/thomas/photos/albums/';

if (    ($pic_row['filepath'] == 'pologne/')      // Les photos de Pologne sont sur le site 2.
    or ($pic_row['filepath'] == 'asie/chine/')   // Les photos de Chine sont sur le site 2.
   )   
 { return $cheminsite2. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);}
 else   
 {
   if ($pic_row['filepath'] == 'asie/japon/')      // Les photos du Japon sont sur le site 3.
   { return $cheminsite3. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);}
    else   
   { return $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);}
 }
-----------------