<% var w = width || imgdata.bounds.right; %>
<% var h = height || imgdata.bounds.bottom; %>
<div class="center-helper" style="margin-bottom: <%- -(h/2 + 50)%>px;"></div>
<div class="preview-container" style="width: <%- w %>px; height: <%- h %>px;">
    <div style="width: <%- w %>px; height: <%- h %>px;" id="psdpreview_root"></div>
    <% if (localContent || layerCompId) { %>
    <img style="width: <%- w %>px; height: <%- h %>px;" id="tempPreview" class="tempPreview">
    <% } else { %>
    <img style="width: <%- w %>px; height: <%- h %>px;" id="tempPreview" class="tempPreview">
    <% } %>
    <iframe id="selection-overlay" src="selection-overlay.htm" style=" width: <%- imgdata.bounds.right %>px; height: <%- imgdata.bounds.bottom %>px;"></iframe>
</div>
<div class="spinner"></div>