diff --git a/src/components/templates/TemplateWorkflowCard.vue b/src/components/templates/TemplateWorkflowCard.vue index 157ea89df..f7212c77c 100644 --- a/src/components/templates/TemplateWorkflowCard.vue +++ b/src/components/templates/TemplateWorkflowCard.vue @@ -112,7 +112,9 @@ const getThumbnailUrl = (index = '') => { // For templates from custom nodes, multiple images is not yet supported const indexSuffix = sourceModule === 'default' && index ? `-${index}` : '' - return `${basePath}${indexSuffix}.${template.mediaSubtype}` + const extension = sourceModule === 'default' ? template.mediaSubtype : 'jpg' + + return `${basePath}${indexSuffix}.${extension}` } const baseThumbnailSrc = computed(() =>