view_image.php 마크업

This commit is contained in:
whitedot
2013-02-20 16:17:08 +09:00
parent c27efff4cb
commit d3ab5d760c

View File

@ -18,16 +18,12 @@ if(is_file($filepath)) {
$height = $size[1];
$fileurl = G4_DATA_URL.'/file/'.$bo_table.'/'.$filename;
$img = '<img src="'.$fileurl.'" width="'.$width.'" height="'.$height.'" class="draggable" />';
$img = '<img src="'.$fileurl.'" alt="" width="'.$width.'" height="'.$height.'" class="draggable" style="position:relative;top:0;left:0">';
} else {
alert_close('파일이 존재하지 않습니다.');
}
?>
<style type="text/css">
.draggable { position: relative; left: 0; top: 0; }
</style>
<div><?=$img?></div>
<script>