Wikipedia talk:Extended image syntax#Multiple images in one frame
{{talkheader| search= yes}}
{{WikiProject banner shell|
{{Wikipedia Help Project|class=NA|importance=low}}
}}
{{User:MiszaBot/config
|archive = Wikipedia talk:Extended image syntax/Archive %(counter)d
|algo = old(90d)
|counter = 4
|maxarchivesize = 90K
|archiveheader = {{Talk archive navigation}}
|minthreadstoarchive = 1
|minthreadsleft = 4
}}
{{Archivebox| auto= yes| search= yes}}
Undocumented: muted and loop options for videos; others?
File:Mengerzugendlossequenz 2880p60 20200226 color CRF04.webm
File:Cat piano with audio 3EB0CD1F.webm
[https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/816208/1 A couple of years ago], the loop
and muted
keywords were added to codebase. Examples to the right.
These are not documented. Which makes me wonder, if there are other important undocumented options...
Should I go ahead and add these to the page?
--Nanite (talk) 17:15, 26 February 2024 (UTC)
:They are documented: mediawikiwiki:Extension:TimedMediaHandler#Syntax_synopsis —TheDJ (talk • contribs) 19:25, 14 April 2024 (UTC)
::{{ping|TheDJ}} ah sorry I missed your reply. I mean to suggest they should be documented on this page. --Nanite (talk) 22:56, 17 March 2025 (UTC)
Displaying groups of images
Why does this page not mention templates like {{t|Photo montage}} and {{t|multiple image}}? Jarble (talk) 15:55, 4 May 2024 (UTC)
:Because you don't use the extended image syntax with them. --Redrose64 🌹 (talk) 15:58, 4 May 2024 (UTC)
:Because they are not part of the official syntax. They are just various templates with modifications on top of the syntax. There are several hundreds of templates to 'do things' with images, listing them all isn't really feasible. —TheDJ (talk • contribs) 16:03, 4 May 2024 (UTC)
How to ''link'' to a specific DjVu/PDF page?
The {{para|page}} parameter allows selecting a specific page in a DjVu/PDF file when displaying an image (example:
). However, this does not work for linking to a specific page:
gives ":File:Alice in Wonderland.djvu" with a wrong text and a link to the whole file instead of its specific page.:File:Alice in Wonderland.djvu
gives "p. 5" with correct text but a wrong link with percent-encodedp. 5 ?
symbol.
Is there a valid wiki syntax or a helper template to achieve this without using an "external link" (
)? — Mikhail Ryazanov (talk) 21:50, 17 March 2025 (UTC)
: Found the template myself (accidentally): {{tlx|PDF page link|file{{=}}Alice in Wonderland.djvu|page{{=}}5|text{{=}}p. 5}} gives "{{PDF page link|file=Alice in Wonderland.djvu|page=5|text=p. 5}}". No wiki syntax apparently exists. — Mikhail Ryazanov (talk) 02:52, 24 March 2025 (UTC)
Specifying image dimensions for OpenGraph metadata
The article on Kat Abughazaleh has an image, a portrait photo of the subject that a contributor cropped from a larger photo, in the infobox. When social media sites extract metadata from that page via OpenGraph and prefer a landscape-oriented image ([https://bsky.app/profile/spm1961.bsky.social/post/3lolwbe7qbc2m example]), the default dimensions/crop are sometimes pretty suboptimal, displaying the person's nose and mouth but truncating the eyes.
Off the top of my head, I can imagine a few ways of fixing this:
- Include two images on the page; use
class=pageimage
andclass=notpageimage
to override the Page Images selection criteria so that one goes into the social media preview and the other is actually displayed to those who visit the page replace the current image with the prior uncropped image, use {{ CSS image crop}} or {{ Annotated image}} to crop it appropriately for portrait display in the infobox, so that the re-cropping by OpenGraph has more to work with
I welcome advice! Sumana Harihareswara 15:24, 13 May 2025 (UTC)