Added get_dimensions parameter, page name now used as ALT text. Code by Tamlyn.