#LOCAL("LargeImageAvailable", 0)
#IF(#INPUT.ViewAction EQ "ViewProductPrint")
#IF(#DEFINED(#ImageMedium))
#ENDIF
#ELSE
#IF(#COUNT(#ImagesSlideShow) AND #Shop.FeatureMaxValue.ProductSlideShow)
#LOOP(#ImagesSlideShow)
#ENDLOOP
#ENDIF
#IF(#LargeImageAvailable)
#ENDIF
#ENDIF
#ENDLOCAL