Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: [Closed]: Header image...  (Read 2704 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
[Closed]: Header image...
« on: April 09, 2010, 01:27:18 pm »


I know that this question in on FAQ, I read it, but I still have some doubts.

I wanted to add a header image on my on my template (mac_ox_x).

Here is the html code of template.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="en" lang="en" dir="{LANG_DIR}">
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<link rel="stylesheet" href="../Ambiente%20de%20trabalho/themes/mac_ox_x/style.css" type="text/css" />
<script type="text/javascript" src="../Ambiente%20de%20trabalho/scripts.js"></script>
<script language="JavaScript" type="text/JavaScript">
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2];
    if ( {; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
  SVN version info:
  Coppermine version: 1.4.19
  $Revision: 4392 $
  $LastChangedBy: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
<div id="CUSTOM_HEADER">


My question is how can I add an image, and where should I put any code

Thanks in advance,
« Last Edit: April 09, 2010, 02:08:57 pm by Joachim Müller »

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Header image...
« Reply #1 on: April 09, 2010, 02:08:41 pm »

Yet another posting where you misbehave by not respecting board rules. It's anyway beyond the scpope of this board to teach you HTML basics. But: I have seen enough of you misbehaving; as I have told you before in the last thread you posted in:
You have been told so often already to read the docs and respect board rules. I'm sick to see yet another thread where you blatantly misbehave. You next sign of misbehaviour will result in a ban.
Marking thread accordingly and locking.
. So this is it: you're banned. You have been banned before temporarily; now your ban is permanent. Do not return. Locking.
Pages: [1]   Go Up

Page created in 0.015 seconds with 20 queries.