---
title: "Template -- Adding a banner beside Logo"
url: "https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo"
source: "typo3.net"
tags: ["Allgemein","English","Frage","Templates & Layouts"]
created: "2006-12-17"
last_reply: "2006-12-18"
replies: 7
solved: false
page: 1
pages: 1
lang: "en"
---

# Template -- Adding a banner beside Logo

Allgemein · 7 Antworten · gestartet 2006-12-17

## Eröffnungsbeitrag

**itsfun** · 2006-12-17 · [Beitrag #1](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/1)

Hi everyone,

subparts.logo = TEXT
subparts.logo.value = <img class="logo" src="fileadmin/xxx.jpg" width="xx" height="xx" alt="xxxxx" />
subparts.logo.typolink.parameter = xxx

This is the Script for the Logo in the template, now I want to add a banner with an extenal link on the right side of this Logo, but have no idea how it can be done.

--  :o

Would be nice if someone can give me a hint. Thanks a lot!

## Antworten

### [#2](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/2) · einpraegsam.​net · 2006-12-17

```typoscript
temp.logo = COA
temp.logo.10 = IMAGE
temp.logo.10 {
   file = fileadmin/xxx.jpg
   #file.height = 40
   imageLinkWrap = 1
   imageLinkWrap.enable = 1
   typolink.parameter = xxx
   params = class="logo"
   altText = altText
   titleText = Title
}
temp.logo.20 = IMAGE
temp.logo.20 {
   file = fileadmin/xxx2.jpg
   #file.height = 40
   imageLinkWrap = 1
   imageLinkWrap.enable = 1
   typolink.parameter = http://www.test.de
   params = class="logo2"
   altText = altText
   titleText = Title
}

subparts.logo < temp.logo
```

the rest is stylesheet work...

### [#3](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/3) · itsfun · 2006-12-18

Thanks a lot for your help. I tried COA to add a new Image beside the Logo, but the new image didn't show, instead, the "header-content" part ("Language menu" and "Search" changes position (lower).

Original:

# Header Image
subparts.logo = TEXT
subparts.logo.value = <img class="logo" src="fileadmin/1.jpg" width="21" height="85" alt="xxxxx" />
subparts.logo.typolink.parameter = 72

subparts.header-content = COA
subparts.header-content {
10 < lib.langmenu
15 < lib.search
15.wrap = <div id="headernavi">|
20 < lib.headerNavi
20.wrap = |</div>
}

Changed:

# Header Image
subparts.logo = COA
subparts.logo {
 10 = IMAGE
 10 {
 file = fileadmin/xxx/logo_1.jpg
 file.width=321
 typolink.parameter = 72
 altText = XXXXXXX
 }

20 = IMAGE
  20 {
  file = fileadmin/xxx/banner.gif
  file.width=234
  imageLinkWrap = 1
  imageLinkWrap.enable = 1
  typolink.parameter = <http://www.test.de>
  altText = XXXXXX
 }
}

subparts.header-content = COA
subparts.header-content {
10 < lib.langmenu
15 < lib.search
15.wrap = <div id="headernavi">|
20 < lib.headerNavi
20.wrap = |</div>
}

Where did I do wrong  #angry# or shall I try to put the two images in a table? How can I make them align beside each other instead of one above another?

Thanks in advance!

### [#4](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/4) · einpraegsam.​net · 2006-12-18

First of all: Try to use TS tags for Typoscript:
[ ts]My Typoscript[/ ts]
([ ts] without space)

Have you installed Image Magic? Did it work?

### [#5](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/5) · itsfun · 2006-12-18

HI wunschtacho!

Hypo3 is really new to me and I'm trying to "reverse-engineering" a website to understand it more.

I installed the Package for Windows. Does it include Image Magic?

Thanks wunschtacho, for your patience!

### [#6](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/6) · itsfun · 2006-12-18

I found a folder called GraphicsMagick, is this what you mean?

### [#7](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/7) · einpraegsam.​net · 2006-12-18

Install Tool -> Basic Configuration -> Check Image Magick

Does it work?

### [#8](https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo/8) · itsfun · 2006-12-18

Available ImageMagick/GraphicsMagick installations:
C:\Programme\TYPO3_4.0.2\GraphicsMagick\ gm
 1.1.7

Does this mean it works?

---

Quelle: „Template -- Adding a banner beside Logo“, typo3.net, https://www.typo3.net/d/55132-template-adding-a-banner-beside-logo
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
