View Full Version : Limit Image sizes inside comments
April 10th, 2009, 01:30 PM
Is there a way to automatically limit image sizes in the comments?
Basically someone comments on an ad and adds an image. It's huge and distorts the table and users have to scroll back and forth to read. I can manually fix this by editing these particular ads but that requires me to go and monitor them.
I am guessing a stylesheet change?
April 10th, 2009, 05:17 PM
Ads an image via a comment we dont have a feature like that persay can you provide an example.
April 10th, 2009, 05:45 PM
Yes the "feature is" when you add the image using the WSIWYG editor. I believe it's like bbcode or it does use bbcode. One or the other..
I could just comment on any given advertisement and set [img ]foo[/img ]
Then if that image is bigger than 1000 pixels it looks strange. Especially so with the sidebar on globally. So I turned off the sidebar globally and it looks better now. If I turn it back on then it is much easier to realize the issue.
April 10th, 2009, 07:19 PM
well there is nothing I can restrict if a user is using bbcode. They are not uploading to your site. We could strip out img tags as being a no no in the un_htmlspecialchars function for your site if you want to do that but you would need to post a link to that issue so we can see what is actually used.
April 10th, 2009, 07:52 PM
I'll not go that route. I know that on my bulletin board they have enabled a feature in order to limit the images inside the board. So I am aware it is technically possible to accomplish this but was more or less trying to find out if the classifieds system also contained this sort of feature. It sounds like it does not. I can live with that. It would be a neat addition though.
Thank you Chuck
April 10th, 2009, 07:55 PM
Like I said if you dont want images inside a comment there is a way to strip them with some code edit but no native way to do it.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.