Alternative web/storage locations Alternative web/storage locations
 

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

Main Menu

Alternative web/storage locations

Started by mardyhardy, May 31, 2005, 01:49:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mardyhardy

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