![]() |
Full image on CMS home page and text below image
The default is showing a thumbnail of 150px and the intro to the article starting to the right of the thumbnail.
I would like to show the first full image of the article (usually 640px on our site) and the text starting below the picture on the CMS home page. Something similar as they have on Autoblog.com. I know how to adjust the size of the thumbnail to a larger size but how to make the text start below the image? |
There is an option in CMS to show full images instead of thumbnails.. should be in content management settings
|
Thanks for the response. I already have it set to No:
Quote:
Quote:
|
That is true...
Code:
.cms_article_preview_image { vbcms.css |
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.
|
Quote:
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> |
Brilliant, that is perfect and looks great. http://saabworld.net/content/
Some articles do have smaller pictures so those are being stretched out to 650px. Is there a way to set it so smaller images than the specified width (650px here) will display their original size? |
Looked at your site...
How big do your images get? You could take the width out, but this could have a negative impact if your users have a high res screen. Have you ever thought about going fixed width just for the CMS portion? (example is my site) You could add something like this to vbcms.css or additional.css if you have that plugin... Code:
.myarticlepreview { Code:
Code:
.cms_article_preview_image, vbcms_article_preview_object_size (stylevar) - Change to whatever sizes you want. I tried to center up the video, but unless I used <center></center> it didn't work (that has been depreciated and most people will say don't use it... however I think there is going to be compatibility for a long time). I have a fixed width CMS so it won't affect me as much. Your video will probably show up aligned to the left though. Good luck. |
Is all of this still necessary in 4.2 ?
|
Quote:
I have a mate that swore black and blue you had to hard code to get results, most can be done through the Stylevars for me, just recently'getting' it, when you do it is a piece of cake |
All times are GMT. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|