The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Autoresize image (article preview)
Is there a way to force all preview images on the CMS to be in an exact same size so they will fit in a 100x100 container regardless the size they might have in the full article
|
#2
|
||||
|
||||
You could go:
HTML Code:
.cms_article_preview_image { height: 100px; width: 100px;} |
#3
|
|||
|
|||
Yes that looks weird. Isnt there a work around to let the CMS "zoom" in to find a fitting square dimension as you can see on any other portal software out there, except for vbulletin?
|
#4
|
|||
|
|||
You could edit the template and change the <img> tag in the preview part to <div>
And then change the src part to a background. Then it would crop the image and show a 100x100 part of the original image. But if your image is smaller it will look weird. In addition you could change the background position around a bit so it doesn't take the upper edge of the image. But again, if your image is to small it still will look weird. |
#5
|
|||
|
|||
I decided I can live with it. Thanks for the help Lynn
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|