By John Bloomfield on Friday, 27 July 2018
Posted in General Issues
Likes 0
Views 491
Votes 0
Story images from friends come through quite small on stream

Is there anyway to tweak this?

Clipping attached
Hi there,

Where was the code added so that we can replicate it in future if updates overwrite it.

Those styling are added at this files templates/protostar/html/com_easysocial/css/custom.css.

This 100% width seems to have fixed it my only concern that it might blow up very small images to a point of pixelation but it seems to be OK at the moment.

Right now, from those styling, it will always based on the image itself. If those images are small, it will only show it owns image width and height.

Please advice.
·
Friday, 27 July 2018 19:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Applied css codes below and it should shown based on the image size itself. Please give it a check and see how it goes.

[gist type="php"]
#es .es-photos.pattern-flow .es-photo img {
height: 100%;
}

#es .es-photos.pattern-flow .es-photo {
height: 100%;
}
[/gist]
·
Friday, 27 July 2018 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
This has helped however it causes distortion of image on smaller screens. Where they can't accommodate the full width
·
Friday, 27 July 2018 18:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Facebook seems to handle this by displaying as 100% width of the container.

Which of course only works with a non-fluid site.

I have therefore switched to a static layout in the hope that would work but the same problem exists.
·
Friday, 27 July 2018 18:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Applied width to 100% on same css styling. Can you give it a try and see how it goes.

This has helped however it causes distortion of image on smaller screens. Where they can't accommodate the full width

Not sure how small those screen you referring to. Can you provide us with more details or steps on how to replicate this. Please advice.
·
Friday, 27 July 2018 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Those screens were mobile phone's or simply resizing a chrome window.

This 100% width seems to have fixed it my only concern that it might blow up very small images to a point of pixelation but it seems to be OK at the moment.

Where was the code added so that we can replicate it in future if updates overwrite it.
·
Friday, 27 July 2018 19:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post