coppermine in a html file? coppermine in a html file?
 

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

coppermine in a html file?

Started by Yukino, August 06, 2008, 12:17:21 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Yukino

hey, not sure if this is the right place to put this post but...

i have an html file and would like to include the index.php from my gallery inside it.  what's the best way to go about doing this? any help would be appreciated.

Pascal YAP

Try to use an IFRAME : something like that :
<iframe
          height="550" frameborder="0" width="100%" scrolling="auto"
          src="http://coppermine.sourceforge.net/board/index.php?board=38.0"
          allowtransparency="true" name="FrameCoppermine">
</iframe>

Change with your own URL.

My exemple.
PYAP

phill104

I believe what you are asking is about creating a custom theme (you want to display coppermine in your webpage)

It is quite simple to do. Either you can use an iframe (search these forums for how to do this) or copy and rename your chose theme (I'm uscing classic as an example). Simply then include everything inside the body of the classic them inside the table in your html page then select this theme in the cpg config.

eg copy themes/classic to themes/yourtheme

take your html page and place everything from themes/classic/template.html inside the 'body' inside a table or div in your htaml page wherever you want the gallery to display then save this as themes/yourthem/template.html

select yourtheme in the gallery config.

Sorry if that sounds simplistic but it really is that easy.
It is a mistake to think you can solve any major problems just with potatoes.