Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: A different URL for each album  (Read 5385 times)

0 Members and 1 Guest are viewing this topic.

Jaguar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
A different URL for each album
« 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"...).
« Last Edit: January 20, 2005, 02:24:27 am by kegobeer »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: A different URL for each album
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
Re: A different URL for each album
« Reply #2 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!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: A different URL for each album
« Reply #3 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?
Logged

Jaguar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
Re: A different URL for each album
« Reply #4 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 !!!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: A different URL for each album
« Reply #5 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?
Logged

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: A different URL for each album
« Reply #6 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!
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
Re: A different URL for each album
« Reply #7 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']);}
 }
-----------------
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.