|
@@ -28,6 +28,18 @@
|
|
|
<h5>属性: </h5><br/>
|
|
|
<div nctype="item_property" class="content">
|
|
|
<img nctype="bg_image" src="<?php echo getMbSpecialImageUrl($output['item_info']['bg_image']); ?>" alt="">
|
|
|
+ <span style="color: red;">
|
|
|
+ <?php
|
|
|
+ $ret = @getimagesize(getMbSpecialImageUrl($output['item_info']['bg_image']),$info);
|
|
|
+ if(!$ret) {
|
|
|
+ echo "无法获取当前图片尺寸。";
|
|
|
+ } else {
|
|
|
+ $width = doubleval($ret[0]);
|
|
|
+ $height= doubleval($ret[1]);
|
|
|
+ echo $width.'*'.$height;
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ </span>
|
|
|
<br/>
|
|
|
<a nctype="btn_edit_block_bg" class="btn-edit" data-desc="640*240" href="javascript:;">设置背景属性</a>
|
|
|
<input nctype="bg_image_name" name="bg_image_name" type="hidden" value="<?php echo $output['item_info']['bg_image']; ?>">
|