Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Alternative web/storage locations  (Read 2789 times)

0 Members and 1 Guest are viewing this topic.

mardyhardy

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
Alternative web/storage locations
« on: May 31, 2005, 01:49:58 pm »

Hi, first I love the product!  :)

I experienced myself with coding a online-photo album. Because there are good alternatives (like coppermine...only! ;)) I stopped my coding.
As a feature request I would like to have the oppertuanty to seperate the fysical storage locations of the pictures for the various albums. So most viewed pictures can be placed on a fast-server/website and slow ones on a different. I created it something like this on my own photo-site, because I ran it on my own server conected via ADSL to the internet. The latest pictures (most viewed) where stored on the server of my internet provider and the older ones on my own server. My idea was the following.

A site installation knows default locations for the pictures: one location for tumbnails , one for display-files and one location for the originals (almost like coppermine)
Per Album it was possible to change these default locations (eg tumbnails and display to my provider, the original to my own server)
Per picture the filenames were stored (tumb, disp, org). if the filename has a complete http:// syntax the website didnt put the default location in front, so it was picked up directly from that location.

I used it a lot to temperarily move the most-viewed pictures to a faster server, and to save this space i did it only for the tumbs and display pictures/files. After a while I moved the 'old' most-viewed back to my own server. Actually I only changed the file location in the database of the album for the tumbs and display pictures.

Hope this will be picked up, I would like it. it will only need some extra fields to the database and some if-statements in the php code.

Regards,
Martijn
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.