---
title: "Captcha erzeugt kein Bild im MailformPlus"
url: "https://www.typo3.net/d/91430-captcha-erzeugt-kein-bild-im-mailformplus"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2009-07-17"
last_reply: "2009-07-17"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Captcha erzeugt kein Bild im MailformPlus

Extensions · 1 Antwort · gestartet 2009-07-17

## Eröffnungsbeitrag

**Rebelhig** · 2009-07-17 · [Beitrag #1](https://www.typo3.net/d/91430-captcha-erzeugt-kein-bild-im-mailformplus/1)

Hallo,

ich habe mal versucht, das Beispiel im MailformPlus (example_form/captcha) bei mir einzubinden.
Das Resultat zeigt mir jedoch kein Bild an. Hier mal der Quelltext vom Resultat:

```html
<!-- this subpart is removed if CAPTCHA is not enabled! -->
<div class="tx-your-extension-id-pi1-captcha">
<label for="tx_your_extension_id_pi1_captcha_response"></label>
<br />
<input type="text" size="15" id="tx_your_extension_id_pi1_captcha_response" name="captchafield" title="" value="" />
</div>	
<!---->
<img src="typo3conf/ext/captcha/captcha/captcha.php" alt="" width="0" height="0" /> <input type="text" name="captchafield2" /><br />
```

So wie es aussieht, gibt es wohl ein img-Tag mit Breite und Höhe von 0.

Rufe ich den Link typo3conf/ext/captcha/captcha/captcha.php direkt auf, dann wird ein Bild generiert.

Ich habe das Beispiel 1:1 übernommen und auch TS so übernommen:

```typoscript
# enter path to language file (if needed). You could also define your error messages in the html template, but only single language
plugin.tx_thmailformplus_pi1.langFile = fileadmin/lang.php

# enter fieldnames of the captcha fields and activate usage of recaptcha
plugin.tx_thmailformplus_pi1.freecapFieldname = captchafield
plugin.tx_thmailformplus_pi1.recaptchaFieldname = recaptcha_response_field
plugin.tx_thmailformplus_pi1.captchaFieldname = captchafield2
plugin.tx_thmailformplus_pi1.useRecaptcha = 1
```

Der Vollständigkeit halber noch der Auszug aus MailformPlus-Formular:

```html
###error_recaptcha_response_field###<br />
###RECAPTCHA###<br />
###error_captchafield###
<!--###CAPTCHA_INSERT### this subpart is removed if CAPTCHA is not enabled! -->
<div class="tx-your-extension-id-pi1-captcha">
<label for="tx_your_extension_id_pi1_captcha_response">###SR_FREECAP_NOTICE###</label>
###SR_FREECAP_CANT_READ###
<br />
<input type="text" size="15" id="tx_your_extension_id_pi1_captcha_response" name="captchafield" title="###SR_FREECAP_NOTICE###" value="" />
###SR_FREECAP_IMAGE###
</div>	
<!--###CAPTCHA_INSERT###-->
###error_captchafield2###
###CAPTCHA### <input type="text" name="captchafield2" /><br />
<input type="submit" value="submit" tabindex="11" /><br />
###ADDITIONAL_MULTIPAGE###
```

Könnt Ihr mir hier weiterhelfen?

mfg

## Antworten

### [#2](https://www.typo3.net/d/91430-captcha-erzeugt-kein-bild-im-mailformplus/2) · Rebelhig · 2009-07-17

Ich habe es hinbekommen. Ich habe einfach ein CSS Style mit width und height erstellt. Danach ging es.

Gruss

---

Quelle: „Captcha erzeugt kein Bild im MailformPlus“, typo3.net, https://www.typo3.net/d/91430-captcha-erzeugt-kein-bild-im-mailformplus
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
