zogstrip
(Régis HANOL)
Février 16, 2026, 11:35
6
Parce que j’ai mal lu les spécifications et que j’ai pensé qu’il était facultatif… Mais comme la largeur et la hauteur de l’image le sont aussi, je ne vois aucune raison de ne pas l’ajouter également.
main ← fix/og-image-type
opened 11:34PM - 16 Feb 26 UTC
Follow-up to #37849 which added og:image:width and og:image:height. This adds th… e og:image:type structured property as well, providing the image MIME type (e.g. image/jpeg, image/png) derived from the upload's extension via MiniMime.
Also adds image_width, image_height, and image_type helper methods to TopicView so views don't have to reach into the upload directly, and reformats crawlable_meta_data calls in views to one argument per line for readability.
https://meta.discourse.org/t/395484
6 « J'aime »