Account for images that were lost in the import (bad extensions or enormous sizes.
This commit is contained in:
parent
59ffee0240
commit
86a6d91898
1 changed files with 7 additions and 2 deletions
|
@ -24,7 +24,11 @@
|
|||
<a href="<?php echo base_url($next); ?>" class="navigation"></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($original == 'lost') { ?>
|
||||
<div id="message">
|
||||
Image has been lost.
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div id="imageContainer">
|
||||
<a href="<?php echo base_url('/uploads/' . $image); ?>"><img src="<?php echo base_url('/uploads/' . $image); ?>" class="image" /></a>
|
||||
</div>
|
||||
|
@ -32,4 +36,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; ?><br/><?php echo $width; ?>x<?php echo $height; ?><br/><?php echo $size; ?>kb</span>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
Loading…
Reference in a new issue