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: Random thumb on different server  (Read 2859 times)

0 Members and 1 Guest are viewing this topic.

herbie

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Random thumb on different server
« on: August 20, 2004, 06:55:55 am »

How would I go about calling a random public thumbnail and link from a site on another server?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Random thumb on different server
« Reply #1 on: August 20, 2004, 08:58:09 am »

accessing from another server would mean having mySQL access from another server - usually only localhost (your server) has access to the database. You might want to look into the rss mod or the random image include mod though (both of them in the mods board), which will let you create one or more random thumbnails on a custom php page on your server. You could then pull the content of this file from the remote server (using php includes or whatever technology you can think of).

GauGau
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Random thumb on different server
« Reply #2 on: August 20, 2004, 09:15:28 am »

Use RSS mod
Logged
SANIsoft PHP applications for E Biz
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.