Profile cover photos

Mick Dawlings Posted in Technical Support 4 months ago

When a user uploads cover photos, then looks at them, they are wrongly proportioned, squashed from end to end.
Why is this happening and how can it be fixed? This is happening on three of my ossn sites.

https://ibb.co/2vWFyS6

Replies
vn Ethnic joystick Replied 4 months ago
us Mick Dawlings Replied 4 months ago

Can you explain the steps since I'm not a dev please.

Simply edit components/OssnPhotos/plugins/default/css/photos.php with the commit in above
reference issue. For css rule ossn-photos .pthumb with object-fit

us Mick Dawlings Replied 4 months ago

I've noticed this is happening in other areas also. For example, same thing in the photo albums preview that shows on the right when you visit someones profile.

us Mick Dawlings Replied 4 months ago

I'm not sure I've ever done that before but I'll look into it.

Thank you for the input.

Indonesian Arsalan Shah Replied 4 months ago

Fixed in https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2337
Simply edit components/OssnPhotos/plugins/default/css/photos.php with the commit in above reference issue. For css rule ossn-photos .pthumb with object-fit