Clone this wiki locally
page = site.Images['Apple.jpg'] text = page.[[Page.edit|edit]]()
When using Images, unlike when using Site.Pages, the "File:" or "Image:" namespace prefix is not required.
It also permits iteration over all files on a site:
for page in site.Images: print page.[[Page.page_title|page_title]]
For a large site with many files, this kind of loop can take a long time to run.