Thread:Project:Support desk/use php to get image filename path/reply (4)

You could use Manual:Page_props_table to store the information from the parser function (as in which image), and then retrieve it later from whatever skin hook you're using (preferably you would want somewhere where you had access to the ParserOutput object [however, most places in the skin system do not have access to that object], but if you're not super concerned about performance you could just query the db).

If you want to do this without a parser function, and you have a ParserOutput object, the ParserOutput object contains a list of all images used on a page. Again if you don't have access to a ParserOutput object, and you're not concerned with performance, you can always query the Imagelinks table on every view.