1
0
Fork 0

Fix a bug where WxH was not displayed properly.

This commit is contained in:
Andrew Tomaka 2011-11-08 19:09:24 -05:00
parent 807f73ffbd
commit 2525dc5f9f
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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>