How to integrate Coppermine Gallery to html page ? How to integrate Coppermine Gallery to html page ?
 

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

How to integrate Coppermine Gallery to html page ?

Started by dzvids, November 08, 2005, 07:45:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dzvids

I am currently designing a html page for my use.. I want to show only 1 image from my coppermine gallery but I dont know how to integrate it.. SOme one please help me in how to do it.

advance thanks for the help

Joachim Müller


dzvids

I am not sure which is the one easier & accompanies my requirement..

I want just a thumbnail of the image in my html page so some thread directed relevant to tht would b of good help to me

Joachim Müller

Well, if it's going to be always the same thumbnail, just hardcode it into html: right click on any thumbnail you have in coppermine, select properties, copy&paste the url of the thumbnail and insert it into the src attribute of the <img> tag.
If the thumbnail needs to be dynamically fetched (I differ each time people visit your page), use cpmFetch.
You'll have to specify what thumbnail exactly you want to use if you want me to post code ready for copy&paste. If this is the case, post a link to your site and explain what thumbnail you will need (i.e. "the one at the bottom right" or so).

dzvids

YEP thanks for the help.. but if i need to show up random images say for atleast random images of 3 atleast .. then how to do it ?? any coding for it ?