News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Image Size Problems

Started by Hally_89, July 09, 2010, 06:26:28 AM

Previous topic - Next topic

Hally_89

Hi lads im using the inferno theme on RC3 and im having problems with the size of images in post running over the edge. look here http://www.simsolutionsireland.com/index.php?topic=438.msg2081;topicseen#new. Is there any way that when someone puts an image in a post like that that the image gets resized to fit the theme? Some bit of code or something maybe?
Thanks
Brian

rd

Yeah, you can use:

[HTML]HTML image code with size here[/HTML].

Simply google on how to specify size with HTML.

rd

Look at the example code here:

http://www.quackit.com/html/codes/html_picture_codes.cfm

Simply plug in your image URL in the right place and change the height and width to something you want.

Hally_89


rd

Inside the HTML BBcode.

[html]place code here[/html]

Hally_89

Ya but im looking for a bit of code that will change the size of an image automatically when an image is put in a topic

Kays

Hi, you can specify a maximum size for posted images in the Admin CP > Features and Options > Layout.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Hally_89

Quote from: Kays on July 09, 2010, 09:38:47 PM
Hi, you can specify a maximum size for posted images in the Admin CP > Features and Options > Layout.


Thank you dont know how i missed that all along

Kays

No problem.  :)

You would think that it should be under Topic Settings. But it's always been under Features and Options for some reason.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: