A different URL for each album A different URL for each album
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

A different URL for each album

Started by Jaguar, January 19, 2005, 11:52:42 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Jaguar

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"...).

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Jaguar

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!

Tranz

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?

Jaguar

Quote from: TranzNDance on January 20, 2005, 10:57:22 AM
5MB photos?
3 Mb in my example (5Mpixels camera, best quality jpeg).

Quote from: TranzNDance on January 20, 2005, 10:57:22 AM
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 :\'(

Quote from: TranzNDance on January 20, 2005, 10:57:22 AM
Also, you could get a webhost that provided more space.
A paying webhost in this case, several free in the other case ;D !!!

Tranz

Quote from: Jaguar on January 20, 2005, 11:20:03 AM
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?

OmegaGOD

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.

Quote from: Jaguar on January 20, 2005, 11:20:03 AM
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!
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

Jaguar

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']);}
}
-----------------