diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index 38fc03f..d962080 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -9,7 +9,12 @@
{{- $img_params := (substr .Destination 4) -}}
{{- $img_src := index (split $img_params " ") 0 -}}
{{- $img_attr := index (split $img_params $img_src) 1 -}}
-
+
+{{- else if strings.HasPrefix .Destination "vid:" -}}
+ {{- $vid_params := (substr .Destination 4) -}}
+ {{- $vid_src := index (split $vid_params " ") 0 -}}
+ {{- $vid_attr := index (split $vid_params $vid_src) 1 -}}
+
{{- else if strings.HasPrefix .Destination "bib:" -}}
{{- $destination := (substr .Destination 4) -}}
{{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}}