Fix a bug where WxH was not displayed properly.
This commit is contained in:
parent
807f73ffbd
commit
2525dc5f9f
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class View extends CI_Controller {
|
|||
$this->data['views'] = $display_views;
|
||||
$this->data['created'] = $upload->created;
|
||||
$this->data['height'] = $upload->height;
|
||||
$this->data['width'] = $upload->height;
|
||||
$this->data['width'] = $upload->width;
|
||||
$this->data['size'] = $upload->size;
|
||||
|
||||
|
||||
|
|
|
@ -31,5 +31,5 @@
|
|||
|
||||
<div id="message">
|
||||
<span class="label">Uploaded on:<br/>Original name:<br/>Views:<br/>Dimensions:<br/>Size:</span>
|
||||
<span class="info"><?php echo $created; ?><br/><?php echo $original; ?><br/><?php echo $views; ?>x<?php echo $width; ?><br/><?php echo $height; ?><br/><?php echo $size; ?>kb</span>
|
||||
<span class="info"><?php echo $created; ?><br/><?php echo $original; ?><br/><?php echo $views; ?><br/><?php echo $width; ?>x<?php echo $height; ?><br/><?php echo $size; ?>kb</span>
|
||||
</div>
|
Loading…
Reference in a new issue