diff --git a/RFXtoRP_HsaItm_ItemCreated.ftl b/RFXtoRP_HsaItm_ItemCreated.ftl index 4433f6e..c78fb37 100644 --- a/RFXtoRP_HsaItm_ItemCreated.ftl +++ b/RFXtoRP_HsaItm_ItemCreated.ftl @@ -24,9 +24,14 @@ <#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl"> <#-- Item Photo URI could be added here --> - <#if item.url?? && item.url!=""> + <#if item.saved_picture_path?? && item.saved_picture_path!="" && item.saved_picture_path?starts_with("http") == true> + , + "PhotoURI": "${item.saved_picture_path?json_string}" + <#else> + <#if item.url?? && item.url!="" && item.url?starts_with("http") == true> , "PhotoURI": "${item.url?json_string}" + <#-- Loop for the Logistical Variants - LV -->