forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mariamsr on April 09, 2010, 01:27:18 pm

Title: [Closed]: Header image...
Post by: mariamsr on April 09, 2010, 01:27:18 pm
Hey

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<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 (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!--
  SVN version info:
  Coppermine version: 1.4.19
  $Revision: 4392 $
  $LastChangedBy: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
-->
</head>
<body>
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
</div>

-----------------------------------------

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

Thanks in advance,
Mary
Title: Re: Header image...
Post by: Joachim Müller 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.