diff --git a/frontend/www/scripts/workout.js b/frontend/www/scripts/workout.js
index 94eddb777de4dba4cc24b4ef447430a989b0c935..2e85e11966250ed097e89c9652ac9933e0ad4505 100644
--- a/frontend/www/scripts/workout.js
+++ b/frontend/www/scripts/workout.js
@@ -42,6 +42,15 @@ async function retrieveWorkout(id) {
             a.text = pathArray[pathArray.length - 1];
             a.className = "me-2";
             filesDiv.appendChild(a);
+
+            let isImage = ["jpg", "png", "gif", "jpeg"].includes(a.text.split(".")[1]);
+
+            if(isImage){ 
+                let img = document.createElement("img");
+                img.src = file.file;
+                img.width = "500";
+                filesDiv.appendChild(img);
+            }
         }
 
         // create exercises