coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: herbie on August 20, 2004, 06:55:55 AM

Title: Random thumb on different server
Post by: herbie 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?
Title: Re: Random thumb on different server
Post by: Joachim Müller 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
Title: Re: Random thumb on different server
Post by: Tarique Sani on August 20, 2004, 09:15:28 AM
Use RSS mod