This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.Wikipedia HelpWikipedia:Help ProjectTemplate:Wikipedia Help ProjectHelp
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)[reply]
How to link to a specific DjVu/PDF page?
The |page= parameter allows selecting a specific page in a DjVu/PDF file when displaying an image (example: [[File:Alice in Wonderland.djvu|thumb|page=5|Page 5 from ...]]). However, this does not work for linking to a specific page:
[[:File:Alice in Wonderland.djvu|page=5|p. 5]] gives "page=5|p. 5" with a wrong text and a link to the whole file instead of its specific page.
[[:File:Alice in Wonderland.djvu?page=5|p. 5]] gives "p. 5" with correct text but a wrong link with percent-encoded? symbol.
Is there a valid wiki syntax or a helper template to achieve this without using an "external link" ([https://en.wikipedia.org/wiki/File:Alice_in_Wonderland.djvu?page=5 p. 5])? — Mikhail Ryazanov (talk) 21:50, 17 March 2025 (UTC)[reply]
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 (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 and class=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