![]() |
Fixed size or cropped thumbnail?
Hi,
I would like to know if it was possible through a plugin, CSS or code modification, to crop the thumbnail to a fixed size, like 150x100. Any idea? Thanks! --------------- Added [DATE]1304877655[/DATE] at [TIME]1304877655[/TIME] --------------- Ok, with more researches, I found a way to do that through CSS: .crop { float: left; position: relative; width: 150px; height: 100px; border: 1px solid #000; margin: 4px; overflow: hidden; background-color: #303030; } .crop IMG { margin: 0; position: absolute; top: 0; left: 0; clip: rect(0px, 150px, 100px, 0px); background-color: #000000; } But now, I have an other issue: vBulletin, when creating the thumbail, use the size setting for defining the maximum size from the height or width. I would like to have the setting -only for the width- and not the height. Someone know where can I change this setting (or code), or a way to create a simple plugin which do the job? Thanks ! :) |
doesnt work,...
|
All times are GMT. The time now is 10:00 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:
|