diff --git a/src/main/java/ai/elimu/web/content/multimedia/image/ImageCsvExportController.java b/src/main/java/ai/elimu/web/content/multimedia/image/ImageCsvExportController.java
index 095c04a5e..29c7a574e 100644
--- a/src/main/java/ai/elimu/web/content/multimedia/image/ImageCsvExportController.java
+++ b/src/main/java/ai/elimu/web/content/multimedia/image/ImageCsvExportController.java
@@ -44,6 +44,7 @@ public void handleRequest(
"content_license",
"attribution_url",
"title",
+ "cid",
"download_url",
"image_format"
);
@@ -51,15 +52,14 @@ public void handleRequest(
CSVPrinter csvPrinter = new CSVPrinter(stringWriter, csvFormat);
for (Image image : images) {
- String downloadUrl = "/image/" + image.getId() + "." + image.getImageFormat().toString().toLowerCase();
-
csvPrinter.printRecord(
image.getId(),
image.getContentType(),
image.getContentLicense(),
image.getAttributionUrl(),
image.getTitle(),
- downloadUrl,
+ image.getCid(),
+ image.getUrl(),
image.getImageFormat()
);
diff --git a/src/main/webapp/WEB-INF/jsp/content/multimedia/image/edit.jsp b/src/main/webapp/WEB-INF/jsp/content/multimedia/image/edit.jsp
index f49c6aa11..0c3d79c50 100644
--- a/src/main/webapp/WEB-INF/jsp/content/multimedia/image/edit.jsp
+++ b/src/main/webapp/WEB-INF/jsp/content/multimedia/image/edit.jsp
@@ -15,7 +15,7 @@
-