PDA

View Full Version : Trying to embed gallery into website


shpangle
22nd June 2009, 12:06
Hi,

Firstly I must point out that I am no html programmer and I have developed a website with no prior knowledge, and I am now trying to refine it.

I have a photo gallery (supplied by coppermine). This cannot be embedded into a webpage and therefore I have it opening as as seperate window which I would like to avoid.

At first I used an IFRAME, however lots of people put me off by suggesting I should avoid the use of IFRAME's. I have therefore used the following code to embed the gallery into my webpage:

</table><tr><td>
<object type="text/html" data="http://shpangle.co.uk/gallery/" width="100%" height="100%">
<p>backup content</p>
</object>
</td></tr>
</table>

I am no html programmer but this seems to work, however does anyone see a potential problem with this. I have taken it off my website until I am given the OK !

fisicx
22nd June 2009, 12:27
Agree, it's not something you can embed but you can change the appearance of the gallery by changing the theme to match your existing site (you will need to get stuck into the code to do this though).

Have you asked for help in the support forums?

shpangle
22nd June 2009, 12:38
Hi,

I have looked at the support forum and they seem to have the same opinion as you. I haven't posted on there as it looks quite abusive.

The code I have used on my previous post though works and does embed coppermine into my website. I was just asking if there are any potential problems in doing it this way ?

fisicx
22nd June 2009, 13:05
If it works then do it. It's not going to hurt and it will act as a stopgap until you figure out how to create a coppermine theme.

In the meantime here's a couple of useful guides:

http://www.siteground.com/tutorials/coppermine/
http://coppermine-gallery.net/demo/cpg14x/docs/theme/edit_theme.html