• Resolved maidstein

    (@maidstein)


    I’m struggling for days to get high resolution thumbnails of avatars on smart devices (with a high display resolution). [avatar], get_avatar and get_wp_user_avatar produce the same poor resolution like on desktop computers. It must have anything to do with the attribute srcset. It seems that WP User Avatar can’t handle this.

    Can anybody help me? Thanks in advance!

    Martin

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter maidstein

    (@maidstein)

    Ok, I’ve find a solution with get_wp_user_avatar_src. It’s not the most elegant solution, but better than none. Because regardless of a display resolution, the image source for the thumbnail is now always ‘medium’ (and not ‘thumbnail’). For some displays could be ‘thumbnail’ enough. And for other displays could be ‘medium’ essential.

    If someone knows a better solution, let me know.

    Thanks!

    Martin

Viewing 1 replies (of 1 total)
  • The topic ‘Poor thumbnail resolution on smart devices’ is closed to new replies.