|
|
@@ -33,7 +33,7 @@
|
|
|
<ul class="panelBar" id="pictureOffset"> <!--style="border-color: #dbdbdb;border-style: solid;border-width: 1px;"-->
|
|
|
<li>
|
|
|
<div class="picWrap">
|
|
|
- <img id="bannerPreViewUrl" src="" class="picture" style="width:100%;"/>
|
|
|
+ <div id="pickerBannerPreViewUrl" class="thumb" style="background-image:url('');"></div>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
@@ -219,9 +219,12 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $(document).ready(function() {
|
|
|
+ $(document).ready(function() {debugger;
|
|
|
var bannerImgPath = $("#lbBannerPickerForm input[name=uploadBannerUrl]").val().replace('/lookbook/banner/', '')+imgNm;
|
|
|
- $("#lbBannerPickerForm #bannerPreViewUrl").attr('src', bannerImgPath);
|
|
|
+ $("#lbBannerPickerForm #pickerBannerPreViewUrl").css({"background-image":"url("+bannerImgPath+")"});
|
|
|
+ //var container = document.getElementById("pickerBannerPreViewUrl");
|
|
|
+ //container.style.backgroundImage = "url("+bannerImgPath+")";
|
|
|
+
|
|
|
|
|
|
// 상세/수정일때
|
|
|
if(mode != 'N'){
|