diff --git a/v7/gallery_directive/gallery_directive.py b/v7/gallery_directive/gallery_directive.py index 67de7fc6..8b2b9bdd 100644 --- a/v7/gallery_directive/gallery_directive.py +++ b/v7/gallery_directive/gallery_directive.py @@ -78,6 +78,8 @@ def run(self): for img in photo_array: img['url'] = '/' + '/'.join([gallery_folder, img['url']]) img['url_thumb'] = '/' + '/'.join([gallery_folder, img['url_thumb']]) + img['url'] = img['url'].replace("\\","/") + img['url_thumb'] = img['url_thumb'].replace("\\","/") photo_array_json = json.dumps(photo_array) context = {} context['description'] = ''