I would like to request that Ning fix this bug with images posted to a member's comments section. What happens now is if the image is wider than the comments column, it gets cut off on the right side. See my attached screen shot as an example. You can tell that this image is cut off on the right side because the "E" at the end of "RAMPAGE" and "IO" at the end of "RADIO" are cut off.
Simply stated, images posted to a member's comment section should automatically adjust to fit within the boundaries of that comment window, not show up as only a portion of the image. This makes sense, right?
Can we get this fixed, please?
Tags: box, bug, comments, embed, images, pics, pictures, size, videos, width

Permalink Reply by Patrick Chappelle on May 14, 2012 at 1:55pm I agree! I resize my images in the uploader when I post comment images on members profiles, it would be ideal if it would simply resize it.
Great site by the way, bro! I'm tempted to join, but I've got so much going on with mine, trying to get it to where yours is.
Permalink Reply by Design Faerie on May 15, 2012 at 4:49pm We also resize everything by pixels in the editor prior to saving/adding...saves a lot of headaches
Permalink Reply by Peter Sorensen on May 16, 2012 at 11:28am An easy fix for this is to go into your Appearance tab and add something like this to your CSS:
.xg_span-14 .comment img {max-width: 670px;}
".xg_span-14" being whatever container your comments are in (it's different for every site), and the 670px being whatever size you want them to be at their maximum width. This ensures that no image posted in your comment section is ever larger than the comment section itself.
Or, depending on how you have your site set up, you could also just change the comment section's CSS to include an "overflow: visible;" so that any image that is too large isn't cut off.

Hi kopper,
Peter is correct. If you want to make sure you don't alter any image size except the comment wall, try this in Advanced CSS:
.xg_widget_profiles_profile_show .xg_module_comment_wall img {
max-width: 375px!important;
}
If you allow profile customization, you might have to add to Custom Code Box to override their settings. Wrap in a style tag:
<style>
.xg_widget_profiles_profile_show .xg_module_comment_wall img {
max-width: 375px!important;
}
</style>
Hope that helps,
Jen
Permalink Reply by kopper on May 16, 2012 at 12:26pm Thanks, that worked, although it's still trimming off some of the right side of images. I reduced the max pixel width down to 366 and that appears to be the widest I can make the width appear before it starts to trim it down.
<style>
.xg_widget_profiles_profile_show .xg_module_comment_wall img {
max-width: 366px!important;
}
</style>

Good deal, kopper. Yeah, it depends on your unique theme CSS and customization.
Best,
Jen
Permalink Reply by kopper on May 25, 2012 at 10:28am OK, the image problem has been fixed, but what about when people embed YouTube videos in comments? These are also too wide for the comments column. Check out the videos posted in this guy's Comments section to see what I mean:
http://garagepunk.ning.com/profile/ramiLTX
How can we fix that?
Permalink Reply by George H. Compton IV on June 21, 2012 at 6:07pm here you go this will fix the problem videos will now fit :-)
just for videos use this code
.xg_widget_profiles_profile_show .xg_module_comment_wall embed {
max-width: 335px!important;
max-height: 275px!important;
margin-left: -1px;
}
and if you would like the comment bubble it will also make the Videos and pictures fit
/*Comments in bubble with arrow*/
dl.comment{
border:none!important;
max-width: 450px!important;
}
#comments dl.comment dd, #discussionReplies .discussion dd div.description, .xg_module_comment_wall dl.comment dd{
background: #14135e;
border: 1px solid #e4e4e4;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
margin-right: 35px !important;
padding: 2px 5px 27px 10px;
margin-left:20px!important;
}
#comments dl.comment dd:before, #discussionReplies .discussion dd div.description:before, .xg_module_comment_wall dl.comment dd:before{
background: url(http://api.ning.com:80/files/HFqCj2J1p5dDEhLE1YWO29om9ILqESN44Bg6dD...*ZHP9Un645KjUnEM37g4p/cornerright.png?c=290&v=201204022039) no-repeat scroll 5px 15px transparent;
content: " ";
display: block;
height: 36px;
margin-left: -33px;
position: absolute;
width: 37px;
}
.xg_widget_video_video_show .description, .xg_widget_photo_photo_show .description{
border:none!important;
}
.xg_widget_profiles_profile_show .xg_module_comment_wall embed {
max-width: 335px!important;
max-height: 275px!important;
margin-left: -1px;
}
.xg_widget_profiles_profile_show .xg_module_comment_wall img {
max-width: 335px!important;
}
Permalink Reply by kopper on June 21, 2012 at 7:16pm Thanks! But what do you mean by "comment bubble"?
Permalink Reply by George H. Compton IV on June 21, 2012 at 7:20pm the comment bubble is in the picture above :-) but you don't have to use the comment bubble use the code right under the picture if you just want your videos to fit.
If you want to see more of a comment bubble go to my topic
http://creators.ning.com/forum/topics/comment-bubble-improvements-o...
Permalink Reply by George H. Compton IV on June 21, 2012 at 7:55pm I'm glad my code work for you looks great on your profile :-)
Riccardo Rossini replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
Mandy P. replied to Mandy P.'s discussion 'Remove unwanted space-Header'
Aaron replied to Aaron's discussion 'Ning Spring Cleaning Begins This Week'


Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/20/13)' in the group The Sandbox© 2013 Created by Ning.
