Hello,
I'm newbie to typo3. Sorry that I don't speak german. I have some little problems :
The user uploads pictures. And I display them on site with:
Typoscript-Code:
1:
temp.mainTemplate.subparts.right_img< styles.content.getRight
If I try to wrap this picture with
Typoscript-Code:
1:
styles.content.getRight.wrap= <a href="uploads/media/bildvorschau2.swf" rel="shadowbox[HF]" class="shad">|</a>
I receive no change, because between a tags they are a lot of classes:
<div id="right_img"><a href="fileadmin/template/main/images/resize/bildvorschau2.swf" rel="shadowbox[HF]" class="shad">
<!-- CONTENT ELEMENT, uid:161/image [begin] -->
<a id=""></a>
<!-- Image block: [begin] -->
<div class="csc-textpic csc-textpic-center csc-textpic-above"><div class="csc-textpic-imagewrap" style="width:400px;"><dl class="csc-textpic-image csc-textpic-lastcol" style="width:400px;"><dt><img src="uploads/pics/oaia-ratacita.jpg" width="400" height="310" border="0" alt="" /></dt></dl></div></div><div class="csc-textpic-clear"><!-- --></div>
<!-- Image block: [end] -->
<!-- CONTENT ELEMENT, uid:161/image [end] -->
</a></div>
How can I link pictures uploaded by users themselfs?
I want that this href
href="uploads/media/bildvorschau2.swf"
to generate itself, the only thing that I should write to be something like this href="{some_param}".
I upload a picture: exam.jpg. After this I upload a movie(with the same name, the only difference is its extension): exam.swf or exam.avi or etc. The picture must be display on the page, and when I click on the picture I want to open the movie in a shadowbox.
I should find a way to wrap the picture with the adequate link (<a href= "uploads/media/bildvorschau2.swf" rel="shadowbox) to do this.
Can anyone tell me how to do those things, please.
Thank you in advance