coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: haters on March 12, 2014, 09:13:32 PM

Title: Images in Gallery but hosted elsewhere?
Post by: haters on March 12, 2014, 09:13:32 PM
Hiya,

Not sure if this is possible but is their anyway to upload images to a service such as sendspace or any others, but somehow have albums on CPG linking to those images? Like all images (full size, re-sized, thumbs) have their own sendspace (etc) link?


Sort of like how music blogs have links to music but the songs are actually hosted elsewhere.
Title: Re: Images in Gallery but hosted elsewhere?
Post by: haters on March 13, 2014, 03:38:36 AM
By sendspace I mean imgbam and sites like that.
Title: Re: Images in Gallery but hosted elsewhere?
Post by: ΑndrĂ© on March 13, 2014, 09:10:28 AM
That's not supported out of the box. There's a plugin that adds a prefix to all images files, so you could use a CDN to server your image files. But this needs the exact same file/folder structure as the original albums directory, which is most likely not the case on (free) picture hosting services.

Of course you could create a mod or plugin to achieve your goal, but you'd need some detailed knowledge how the hosting services works.

Example: there's a "Remote videos plugin" which let's you embed video files from YouTube, Vimeo, and so on. This could of course also be done with pictures, assumed the image hosting provider stores the files in a structured way. This means, you just add ("upload") an ID to Coppermine and Coppermine can automatically calculate the URLs of the thumbnail, intermediate and full-sized picture files.