Hi All,
OK so i am working locally on my MAC and using Revolution 2.4.3
I have a blog home page that is listing all the blog post and subsequent information correctly. All good so far.
I then wanted to have an image (similar to a featured image in wordpress) to the left of the blog post within the list. I have managed to get the paceholder there and set the sizes etc but the actual image is not showing. This is what I have done.
- Created a TV named BlogFeatureImage. Assigned it to the right templates that i am using.
- Modifed my CSS file to set the size of the thumbnail to my specific requirements. This all works well too.
- In the relevant blog post I have set the image by selecting the variable and selecting the image from the file structure.
- When I view the page I see only src in the developer tools. no result, not image name, nothing.
I will try and upload some screenshots but this is my first post and I am an old guy in a new techy world so bare with me lol.
My BlogArticleRowTpl is as follows. you can see I have the TV [[*BlogFeatureImage]] and this is where the issue is. I have tried * + .tv. etc etc but no change.
<div class="container">
<div class="row">
<div class="media col-md-9">
<figure class="pull-left">
<a href="[[~[[+id]]]]">
<img src="[[*BlogFeatureImage]]" class="blogThumb">
</a>
</figure>
<div class="post">
<h2 class="title"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h2>
<p class="post-info">[[%articles.posted_by]] <a href="[[~[[*id]]]]author/[[+createdby:userinfo=`username`]]">[[+createdby:userinfo=`username`]]</a> [[+tv.articlestags:notempty=` | <span class="tags">[[%articles.tags]]: [[!tolinks? &items=`[[+tv.articlestags]]` &target=`[[*id]]` &useTagsFurl=`1`]]</span>`]]</p>
<div class="entry">
<p>[[+introtext:default=`[[+content:ellipsis=`400`]]`]]</p>
</div>
<p class="postmeta">
<span class="links">
<a href="[[~[[+id]]]]" class="readmore">[[%articles.read_more]]</a>
[[+comments_enabled:is=`1`:then=`| <a href="[[~[[+id]]]]#comments" class="comments">[[%articles.comments]] ([[!QuipCount? &thread=`article-b[[+parent]]-[[+id]]`]])</a>`]]
| <span class="date">[[+publishedon:strtotime:date=`%a, %d %b, %Y`]]</span>
</span>
</p>
</div>
</div>
</div>
</div>