is_valid()) { display_error_message("Could not open album: '" . $album->get_name() . "'"); } else { echo $album->get_html(); } } ?>