diff --git a/src/geophires_x/GeoPHIRESUtils.py b/src/geophires_x/GeoPHIRESUtils.py
index c0f1f4fe6..f76b63ce3 100644
--- a/src/geophires_x/GeoPHIRESUtils.py
+++ b/src/geophires_x/GeoPHIRESUtils.py
@@ -100,8 +100,9 @@ def InsertImagesIntoHTML(html_path: str, short_names: set, full_names: set) -> N
# build the string to be inserted first
insert_string = ''
for _ in range(len(full_names)):
- name_to_use = short_names.pop()
- insert_string = insert_string + f'
\n
'
+ full_name = full_names.pop()
+ name_to_use = full_name.name.replace('_', ' ').replace('.png', '')
+ insert_string = insert_string + f'
\n
'
match_string = '