diff --git a/ext/admin/main.php b/ext/admin/main.php
index 25187267..9fe0efe8 100644
--- a/ext/admin/main.php
+++ b/ext/admin/main.php
@@ -17,7 +17,7 @@
*
Download the contents of the database in plain text format, useful
* for backups.
*
Image dump:
- *
Download all the images as a .zip file
+ *
Download all the images as a .zip file (Requires ZipArchive)
*/
/**
diff --git a/ext/admin/theme.php b/ext/admin/theme.php
index 5f1a3c5c..d1090b6f 100644
--- a/ext/admin/theme.php
+++ b/ext/admin/theme.php
@@ -45,7 +45,8 @@ class AdminPageTheme extends Themelet {
$html = "";
$html .= $this->button("All tags to lowercase", "lowercase_all_tags", true);
$html .= $this->button("Recount tag use", "recount_tag_use", false);
- $html .= $this->button("Download all images", "download_all_images", false);
+ if(class_exists('ZipArchive'))
+ $html .= $this->button("Download all images", "download_all_images", false);
$html .= $this->button("Download database contents", "database_dump", false);
if($database->get_driver_name() == "mysql")
$html .= $this->button("Reset image IDs", "reset_image_ids", true);