Skip to content

Conversation

@nikunj8866
Copy link
Collaborator

Fixing: #78

Copy link
Member

@theaminuli theaminuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this using the browser developer tools, and the responsiveness has improved significantly. The image URL is correct, and everything works great. This pull request is perfect and ready to be merged. @SirLouen

Test.Core.Tickets.with.Playground.Make.WordPress.Test.-.Google.Chrome.2025-10-31.10-35-51.mp4

@Dhruval-678
Copy link
Contributor

I have tested it with inspector tools by adding that css. its looks good on desktop & responsive version as
kindly refer the below video for same.
https://www.awesomescreenshot.com/video/45870808?key=9128a77f30b13ffd296347d1496ff08b

LGTM!

cc @SirLouen

Copy link
Member

@SirLouen SirLouen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikunj8866 I'm not sure about this. We should be using markdown the maximum possible.
There is no specification though, when we deal with images sizes
Here we only have two options:

  1. Resize and reupload the images, ordely to the assets folder and link to them (as we did with the buttons for the Badges section)
  2. Use HTML as you did (do we really need the height attribute, by the way?

If we are going to consider HTML (as we did with the tooltips), I would consider two additional things

  1. Suggesting an improvement in the parser: I've already opened a ticket Automattic/jetpack#45734
  2. Adding the link to the image itself (in mobile, the images are very little, impossible to be read).
  3. Removing the max-height (unnecessary, I believe). I'm not even sure if the object-fit is necessary in this case

@nikunj8866
Copy link
Collaborator Author

@SirLouen I've checked in the Hosting Handbook, and they’re using the same approach for images. You can see the code example here: https://github.com/WordPress/hosting-handbook/blob/main/performance.md?plain=1

@SirLouen
Copy link
Member

SirLouen commented Nov 1, 2025

@nikunj8866

@SirLouen I've checked in the Hosting Handbook, and they’re using the same approach for images. You can see the code example here: https://github.com/WordPress/hosting-handbook/blob/main/performance.md?plain=1

I've been checking the markdown plugin, and the likelihood that they update it to support a full markdown conversion is 99.99% unlikely. They got stuck into an ancient version of 2013, which supports MD barebones, so we are condemned to simply use HTML combined with MD for long.

Still, you can refine the HTML a little, as I commented to you above, given that we are going to take the HTML route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Core Tickets with Playground: Images not displaying properly

4 participants