Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
9551-Dev committed Mar 7, 2024
1 parent c8e98dc commit 83df2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def generate_html(title, image_folder, template_path, css_path, js_path, output_
shutil.copy(os.path.join(image_folder, image_file), os.path.join(output_images_folder, "GAL_" + image_file))

copied_image_paths = [f'"{path}"' for path in image_paths]
image_tags = '\n'.join([f' <img src={path} alt="{os.path.basename(path)}" onclick=\'open_image_viewer({path})\'>'
image_tags = '\n'.join([f' <img src={path} alt=\"{os.path.basename(path)} onclick=\'open_image_viewer({path})\'>'
for path in copied_image_paths])

template_content = template_content.replace('{{title}}', title)
Expand Down

0 comments on commit 83df2c0

Please sign in to comment.