Hey guys -
I used the search but didn't find a solution, sorry!
I have a blog on my website in which I want to include preview Images for blog posts.
-> I created a TV: PreviewImage, Input: Image, Output: Image.
-> Selecting the image in the blog post works just fine
-> Want to output it in my blog post list (Chunk "blogPost") kinda like this (unformatted for now):
<img src="[[*PreviewImage]]" />
<div class="ditto_summaryPost">
<h3><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h3>
<br />
[[+introtext:empty=`[[+content]]`]]
<p class="ditto_link"><a href="[[~[[+id]]]]" class="readmore">Weiterlesen</a></p>
<br /><br />
</div>
In my html output, it shows the <img /> tag, but the src="" ist empty - what did I do wrong?
Shouldn't it output <img src="
http://example.com/assets/images/example.jpg" /> ?
Thanks a lot!
[ed. note: c.kurtzmann last edited this post 15 years, 1 month ago.]