diff options
| author | Christian Fowler <spider@viovio.com> | 2011-06-27 21:15:33 -0400 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2011-06-27 21:15:33 -0400 |
| commit | 092beddbff38083047799896854ba686871fe727 (patch) | |
| tree | 14db83a8730f7985e974b661df8ef0111f974bfe | |
| parent | d921a364f7eba7df08dc54042ee5adc2f957abb0 (diff) | |
| download | fisheye-092beddbff38083047799896854ba686871fe727.tar.gz fisheye-092beddbff38083047799896854ba686871fe727.tar.bz2 fisheye-092beddbff38083047799896854ba686871fe727.zip | |
fix check for no_image in edit
| -rw-r--r-- | templates/edit_image.tpl | 2 | ||||
| -rw-r--r-- | templates/edit_image_inc.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/edit_image.tpl b/templates/edit_image.tpl index 940cd92..0d89b8b 100644 --- a/templates/edit_image.tpl +++ b/templates/edit_image.tpl @@ -20,7 +20,7 @@ <div class="row"> {formlabel label="Current Image"} {forminput} - {if $gContent->mInfo.storage_path} + {if $gContent->mInfo.thumbnail_url.medium} <img src="{$gContent->mInfo.thumbnail_url.medium}?{math equation="1 + rand(1,9999)"}" alt="{$gContent->getTitle()|escape}" /> <br /> <small> diff --git a/templates/edit_image_inc.tpl b/templates/edit_image_inc.tpl index 83c7652..e3f01e1 100644 --- a/templates/edit_image_inc.tpl +++ b/templates/edit_image_inc.tpl @@ -21,7 +21,7 @@ <div class="row"> {formlabel label="Current Image"} {forminput} - {if $gContent->mInfo.storage_path} + {if $gContent->mInfo.thumbnail_url.medium} <img src="{$gContent->mInfo.thumbnail_url.medium}" alt="{$gContent->getTitle()|escape}" /> <br /> <small> |
