I have a banner slider web part that pulls all the images from the path relative to the page you are on. IS there a way in my template to not show the layout if there is nothing to display in the current path.
here is the site I am working on http://173.203.24.234:8005/Blog.aspx
and here is the code that I want to hide if no images are present
<div id = "image_slider_wrapper">
<div id = "image_slider">
<div id = "image_slider_pad">
<uc2:LWSJQuiryRotatingBanner ID="LWSJQuiryRotatingBanner2" Path="./%" Width="524" PauseLength="7000" Height="330" TransitionType="Slide" runat="server" />
</div>
</div>
<div class = "cl"></div>
</div>