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.

Photos Resized in Activity Stream

10 years 9 months ago
  • Jim's Avatar
    Topic Author
  • Jim
  • Offline
  • Fresh Boarder
  • Posts: 40
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

When a photo or album is uploaded the image that appears in the activity stream on the community page is automatically resized to a width of 560px. This is fine if the height of the image is always less than the width in px. Otherwise the image will be ridiculous large.

A photo 387 x 556 was uploaded and the image in the stream is 560 by 805. (Please login into frontpage to see the results).
How do we prevent this? Must we tell users to always upload landscape images and NOT portrait.

10 years 9 months ago
Licenses:

Hi Jim,

please put this CSS:

#community-wrap .joms-stream-single-photo img {
  width: auto;
  max-width: 100%;
}

#community-wrap .joms-stream-single-photo {
  width: auto;
}
put it at your templace custom.css. here the doc www.gantry-framework.org/documentation/j...custom_stylesheet.md how to add custom css.

Regards,
Albert

The following user(s) said Thank You: Jim
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