Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

[SOLVED]Activity Stream Module - Photo Width Way Too Big

10 years 3 months ago
  • Brad's Avatar
    Topic Author
  • Brad
  • Offline
  • Fresh Boarder
  • Posts: 96
  • Thank you received: 3
Licenses:
JomSocial Expired

When using the activity stream module outside Jomsocial (like on the frontpage of a site) there is no automated control over the width of an image when someone adds new photos to the site. The result is photos that are way, way too tall and wide and they only show a small portion of the photo and run off the edge of the page and space the module way down.

Can you do something to control the width of photos in a module to be at maximum the width of the module? I know someone has a hack for this but I really feel it should be included as standard.

The image should not be allowed to be wider than the module, and should be resized appropriately. In this example it's probably 250px or so that should be the max, but the full size photos are showing up.

For example, scroll down do the Latest Activity module on the sidebar of www.thistleclass.com . In case that data is pushed out by new interactions by users, here's a screenshot:


Attachment activity_module.png not found

Attachments:
10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Brad,

I think this css code can solve your issue :

.cStream-Attachment .img-half-width {
width: 100%;
}

add that code on your css file.

10 years 3 months ago
  • Brad's Avatar
    Topic Author
  • Brad
  • Offline
  • Fresh Boarder
  • Posts: 96
  • Thank you received: 3
Licenses:
JomSocial Expired

Dimas Tekad Santosa wrote: Hi Brad,

I think this css code can solve your issue :

.cStream-Attachment .img-half-width {
width: 100%;
}

add that code on your css file.


Perftect! Thanks so much!

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

You're welcome

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW