Small images are getting inappropriately enlarged in activity stream updates
-
Small images (less than 100px high) from blog posts and alike get inappropriately enlarged when they are displayed in the activity stream updates.
They get scaled up to a minimum height of 100px, becoming blurry and in some cases ridiculously oversized…. e.g. a 100(w) x 10(h) image in a blog post, gets shown as 1000 x 100 in the activity stream content.
The automatic resizing to 100px high is done in the routine bp_activity_thumbnail_content_images().
The function should be modified to query the image and not upsize images where one of the dimensions is less than 100px.
Has anyone else noticed this problem, or implemented the fix? Should I add this to the trac?
- The topic ‘Small images are getting inappropriately enlarged in activity stream updates’ is closed to new replies.