diff options
Diffstat (limited to 'templates/edit_image.tpl')
| -rw-r--r-- | templates/edit_image.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/edit_image.tpl b/templates/edit_image.tpl index b937867..5122be3 100644 --- a/templates/edit_image.tpl +++ b/templates/edit_image.tpl @@ -36,7 +36,7 @@ </div> <div class="row"> - {if $gContent->mInfo.image_file.source_url} + {if $gContent->mInfo.source_url} {formfeedback warning="{tr}Uploading a new image will replace the currently existing one.{/tr}"} {assign var=repl value=Replacement} {/if} @@ -49,14 +49,14 @@ <div class="row"> {formlabel label="Current Image"} {forminput} - {if $gContent->mInfo.image_file.storage_path} - <img src="{$gContent->mInfo.image_file.thumbnail_url.medium}?{math equation="1 + rand(1,9999)"}" alt="{$gContent->mInfo.title|escape}" /> + {if $gContent->mInfo.storage_path} + <img src="{$gContent->mInfo.thumbnail_url.medium}?{math equation="1 + rand(1,9999)"}" alt="{$gContent->mInfo.title|escape}" /> <br /> <small> {if $gContent->mInfo.width && $gContent->mInfo.height} - {tr}Full size{/tr} - <a href="{$gContent->mInfo.image_file.source_url}">{$gContent->mInfo.width} x {$gContent->mInfo.height}</a> - {elseif $gContent->mInfo.image_file.source_url} - <a href="{$gContent->mInfo.image_file.source_url}">{tr}Full size{/tr}</a> + {tr}Full size{/tr} - <a href="{$gContent->mInfo.source_url}">{$gContent->mInfo.width} x {$gContent->mInfo.height}</a> + {elseif $gContent->mInfo.source_url} + <a href="{$gContent->mInfo.source_url}">{tr}Full size{/tr}</a> {/if} </small> {else} |
