Notifications
Clear all

Blurred images on mobile

14 Posts
4 Users
1 Reactions
1,761 Views
Posts: 11
Customer
Topic starter
(@vit-hofman)
Member
Joined: 6 years ago

I use paid add-ons "embed" and "Advanced Attachments".

Images embedded in topics and comments are blurred when viewed on a mobile phone.
As if they had grown from small to large.

After clicking on the image it opens in across the entire display and is beautifully sharp.

See attached picture.
What with this?

Snímek obrazovky 2021 03 13 234448

 

13 Replies
Posts: 4184
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

@vit-hofman,

Please leave a direct URL to that post.

Reply
Posts: 11
Customer
Topic starter
(@vit-hofman)
Member
Joined: 6 years ago
Reply
6 Replies
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4184

@vit-hofman,

This is a very small image, the size of this image is 75x100px, and it becomes blurred on 100% width. So, you should turn off the 100% width on mobile devices to solve this issue. Here is the CSS code, put it in Dashboard > Forums > Settings  >Styles > Custom CSS Code textarea, save it, delete all caches and use incognito/private tab of the mobile browser to check, otherwise you'll not see any changes:

@media screen and (max-width: 800px) {
    #wpforo #wpforo-wrap figure[data-attachids] {
        max-width: 100% !important;
        width: auto;
        margin-bottom:10px
    }
    #wpforo #wpforo-wrap .wpforo-post-content div.wpfa-item.wpfa-img-boxed img {
       max-width: 100% !important;
       width: auto !important;
    }
    #wpforo #wpforo-wrap .wpforo-post-content div.wpfa-item.wpfa-img-boxed {
       max-width: 100% !important;
       width: auto !important;
    }
}
Reply
Customer
(@vit-hofman)
Joined: 6 years ago

Member
Posts: 11

@tomson but i upload big size image. Why Is resize on si small resolution?

Reply
Customer
(@vit-hofman)
Joined: 6 years ago

Member
Posts: 11

@tomson Thx, its help!

Reply
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4184

@vit-hofman,

Ok, keep that CSS code for existing attachments. But for future attachments I'd recommend increase the thumbnail sizes in Dashboard > Forums > Settings > Addons > Attachments Tab:

  • width: 480px
  • height: 320px
Reply
Customer
(@vit-hofman)
Joined: 6 years ago

Member
Posts: 11

@tomson Like this? 

Doesn't that look good on a large monitor?

Attachments02
Attachments01
Reply
 Tom
Admin
(@tomson)
Joined: 9 years ago

Famed Member
Posts: 4184

@vit-hofman,

Yes, like that. It could be even smaller:

  • width: 400px
  • height: 240px
Reply
Posts: 13
Customer
(@oneil-thorpe)
Member
Joined: 3 years ago

hi good day I did exactly what said in this post and my still comes up blurry.

https://savieno.com/community/main-forum/what-is-a-good-budget-to-have-when-traveling-to-hawaii/

Reply
1 Reply
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@oneil-thorpe,

Navigate to wpForo > Settings > Advanced Attachments Settings and set the Thumbnail JPEG Quality to 100

Reply
Posts: 13
Customer
(@oneil-thorpe)
Member
Joined: 3 years ago

nothing change

Screen Shot 2022 10 03 at 8.42.50 AM
Screen Shot 2022 10 03 at 8.45.17 AM
Screen Shot 2022 10 03 at 8.43.35 AM
Reply
1 Reply
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@oneil-thorpe,

remove the IMG from My Media, upload it again, then remove the IMG from the post and upload it again.

Changing the Thumbnail JPEG Quality option won't change the quality for already uploaded IMG's.

Reply
Page 1 / 2
Share:
Scroll to top