PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Limit Image sizes inside comments (http://www.photopost.com/forum/classifieds-how-do-i/139790-limit-image-sizes-inside-comments.html)

chep April 10th, 2009 12:30 PM

Limit Image sizes inside comments
 
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?

Thank you

Chuck S April 10th, 2009 04:17 PM

Ads an image via a comment we dont have a feature like that persay can you provide an example.

chep April 10th, 2009 04: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.

Chuck S April 10th, 2009 06: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.

chep April 10th, 2009 06: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

Chuck S April 10th, 2009 06: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.


All times are GMT -5. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97