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: Random thumb on different server  (Read 3363 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: 47843
  • 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.026 seconds with 20 queries.