Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Plasma
Regular
Regular



Joined: May 17, 2005
Posts: 66

PostPosted: Tue Sep 13, 2016 9:02 am Reply with quote

I'm trying to either:

1. when someone adds an image in the forums using the [img] tags, limit the size of the image,

or

2. when using the [img] tag how do I put in the size? when I try [img width="500" height="200"] url [/img] for whatever reason the image link no longer works. Without adding the width and height the image shows.

Can anyone help with this?
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1549

PostPosted: Tue Sep 13, 2016 10:22 am Reply with quote

Open the style css-file of your used theme and add the following css-class at the end of the file:

css Code:
.postbody img {max-width:700px;}


Change the value to your wanted size.

_________________
Github: RavenNuke 
View user's profile Send private message
Plasma







PostPosted: Tue Sep 13, 2016 1:53 pm Reply with quote

neralex wrote:
Open the style css-file of your used theme and add the following css-class at the end of the file:

css Code:
.postbody img {max-width:700px;}


Change the value to your wanted size.


Thank you that worked.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©