[TYPO3-templavoila] Mapping image with link object

Michael Goetting typo3 at fuxworkx.de
Thu Feb 23 17:10:38 CET 2012


Hi list,

I have the following problem:

- I want to create a link for an image


Relevant part of the entire HTML structure:
-------------------------------------------

<div>
  <a href="/index.php?id=2722">
   <img class="img-style target-icon" src=""></img>
  </a>
</div>


The TemplaVoila part is as follows:

- <div>-tag as Section [div:inner] as Input field
- <a>-tag as Element [a:inner] as Image field with fixed WxH
- <a>-tag as Attribute [a:attr:href] as Link field

The result is an error message in typo3 in the Web->Page view.

This content element references a file which seems to not exist: 
../uploads/tx_templavoila//srv/www/fileadmin/template/images/n1.jpg


What is my fault? Of course this path does not exist but why it is 
generated. The correct absolute path is 
/srv/www/fileadmin/template/images/n1.jpg and the selection of the image 
was made with the "Browse for file" dialog.

Thanks for any hints and help!

Michael



More information about the TYPO3-project-templavoila mailing list