We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Images neatly in the comments? | Forum

Topic location: Forum home » Support » General Questions
Marcel
Marcel Jun 27 '15

How do I get the images neatly in the comments?

The CSS .ow_photo_attachment_stage I can only enter width and height but is it possible to do this automaticly?

Because this is done with a background-image style, it is possible to give this a img style?

I see that in the oembed_attachment.html also get this settled.
But not sure how this could change as I put down an image into newsfeed.
Newsfeed let the images do look good

The Forum post is edited by Marcel Jun 27 '15
Attachments:
  printview105.jpg (157Kb)
Taissa Team
Taissa Jun 30 '15
Marcel, I am really sorry, but I didn't get the idea of your request. Can you rephrase it and provide screenshots for better understanding?
Do you want your comment's image were positioned on the centre of the comment area ?
Or would you like to make it bigger ? But in this case you should remember that the comments area height is limited.
Marcel
Marcel Jun 30 '15
Thanks Taissa i fix it already
matt
matt Jun 30 '15
Can you tell us your fix, Marcel?
Marcel
Marcel Jul 2 '15
I put down a CSS file in an HTML box in the profiles
the images much bigger on the profile page now

Was the easy way

.ow_photo_attachment_stage {
 background-color: #000;
 background-position: center center;
 background-repeat: no-repeat;
 background-size: contain;
 border: 5px solid #eee;
 border-radius: 4px;
 box-shadow: 0 0 2px #0b0b0b;
 float: left;
 height: 478px;
 margin: 25px 0 0 -42px;
 position: relative;
 width: 500px;
}