diff --git a/app/bookings/routes.py b/app/bookings/routes.py
index e86c3bf0d51d57eb650233075577209ced544fa1..1618a934424e300cedc09962d04cff077966cdf7 100644
--- a/app/bookings/routes.py
+++ b/app/bookings/routes.py
@@ -32,12 +32,14 @@ def listings():
             item.main_image_url = url_for('main.upload_file', filename=item.listing_images[0].image_location)
         else:
             item.main_image_url = "/path/to/default-image.jpg"
-
-        item.image_urls = json.dumps([url_for('main.upload_file', filename=img.image_location) for img in item.listing_images])
+        # Must replace with single quotes otherwise JS does not load modal correctly
+        item.image_urls = json.dumps([url_for('main.upload_file', filename=img.image_location) for img in item.listing_images]).replace('"', '"')
 
     return render_template('bookings/listings.html', items=all_listings)
 
 
+
+
 @bp.route('/listing/<int:id>')
 def show_listing(id):
     Listings.get