Quote:
Originally Posted by fwulfers
That is possible but that's the same as changing the value in the stylevar. And I still need the preview text to start below the image, not to the side.
|
Sorry I think I only read the last posts. Went back and looked at OP.
Code:
<img class="cms_article_preview_image" src="{vb:raw previewimage}" alt="<vb:if condition="$attachment_settings['alt']">{vb:raw attachment_settings['alt']}<vb:else />{vb:rawphrase article_preview}</vb:if>" <vb:if condition="$attachment_settings['title']">title="{vb:raw attachment_settings['title']}"</vb:if> /></a>
to this...
<img src="{vb:raw previewimage}" width="650" alt="<vb:if condition="$attachment_settings['alt']">{vb:raw attachment_settings['alt']}<vb:else />{vb:rawphrase article_preview}</vb:if>" <vb:if condition="$attachment_settings['title']">title="{vb:raw attachment_settings['title']}"</vb:if> /></a>
<br />
Even doing something simple like this seems to work. You could tweak the code to your needs.