View Full Version : How to resize images
conimus
06-06-2010, 12:11 PM
I use VB 4.0 publishing suite and I have a problem with images in articles.
When I want to place an image in an article, the image is automaticly resized to a smaller size. How can I get the original size of images in an article without being resized to a smaller size?
Kind regards,
Danny
asuccar
06-07-2010, 08:43 PM
Good question...i'm desperately trying to find out:)
CAN ANYONE HELP?
Charlie98902
06-07-2010, 08:50 PM
I know the css to do the forum but I am unsure if it works on the CMS part as I haven't tried it out. I am sure with some editing of this code you can get it to work as well in the CMS part.
Put this in your postbit.css at the bottom and save.
.postbody IMG{
max-width: 85%;
height: expression(this.height > 100 ? "100px" : true);
width: expression(this.width > 100 ? "100px" : true);
}
ViperE-mpire
06-27-2010, 07:52 PM
I use VB 4.0 publishing suite and I have a problem with images in articles.
When I want to place an image in an article, the image is automaticly resized to a smaller size. How can I get the original size of images in an article without being resized to a smaller size?
Kind regards,
Danny
Open the Style Variables for the skin the CMS uses.
Select the vBCMS section on the left.
There are several image size attribute options to play with. Toy with them until you get the image sizes you want.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.