[Solved]: Adding banners on each side of the displayed image in displayimage.php [Solved]: Adding banners on each side of the displayed image in displayimage.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Adding banners on each side of the displayed image in displayimage.php

Started by goddaj, July 04, 2009, 09:34:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

goddaj

I would like to add banners on each side of the displayed images. I have found the correct file it seems (include/themes.inc.php) but there is so much table elements crammed in there that it is boggling my mind. I just want to have a table cell on each side of the display image table. If anyone knows how to get my banners there please assist.

Thanks :)

Joachim Müller

Quote from: goddaj on July 04, 2009, 09:34:25 PM
I have found the correct file it seems (include/themes.inc.php)
That's not the correct file! Don't edit that file!

There are many threads that explain what you want to accomplish, e.g. http://forum.coppermine-gallery.net/index.php/topic,46519.0.html or http://forum.coppermine-gallery.net/index.php/topic,49793.0.html

goddaj

Quote from: Joachim Müller on July 06, 2009, 10:22:25 AM
That's not the correct file! Don't edit that file!

I backed up the file before messing around, I saw it said don't edit but it seemed to be the most logical place to edit lol. Anyways, thanks for the redirection. Cheers.