<dl{if $errorField == 'image'} class="formError"{/if}>
<dt><label for="image">{lang}wcf.acp.article.image{/lang}</label></dt>
<dd>
- <div id="imageDisplay">
+ <div id="imageDisplay" class="selectedImagePreview">
{if $images[0]|isset}
{@$images[0]->getThumbnailTag('small')}
{/if}
<dl{if $errorField == 'image'} class="formError"{/if}>
<dt><label for="image">{lang}wcf.acp.box.image{/lang}</label></dt>
<dd>
- <div id="imageDisplay">
+ <div id="imageDisplay" class="selectedImagePreview">
{if $images[0]|isset}
{@$images[0]->getThumbnailTag('small')}
{/if}
<dl{if $errorField == 'image'|concat:$availableLanguage->languageID} class="formError"{/if}>
<dt><label for="image{@$availableLanguage->languageID}">{lang}wcf.acp.box.image{/lang}</label></dt>
<dd>
- <div id="imageDisplay{@$availableLanguage->languageID}">
+ <div id="imageDisplay{@$availableLanguage->languageID}" class="selectedImagePreview">
{if $images[$availableLanguage->languageID]|isset}
{@$images[$availableLanguage->languageID]->getThumbnailTag('small')}
{/if}
<dl{if $errorField == 'image'} class="formError"{/if}>
<dt><label for="image">{lang}wcf.acp.style.image{/lang}</label></dt>
<dd>
- <img src="{if $action == 'add'}{@$__wcf->getPath()}images/stylePreview.png{else}{@$style->getPreviewImage()}{/if}" alt="" id="styleImage">
+ <div class="selectedImagePreview">
+ <img src="{if $action == 'add'}{@$__wcf->getPath()}images/stylePreview.png{else}{@$style->getPreviewImage()}{/if}" alt="" id="styleImage">
+ </div>
<div id="uploadImage"></div>
<small>{lang}wcf.acp.style.image.description{/lang}</small>
</dd>
<dl>
<dt><label for="pageLogo">{lang}wcf.acp.style.globals.pageLogo{/lang}</label></dt>
<dd>
- <img src="" alt="" id="styleLogo" style="max-width: 100%">
+ <div class="selectedImagePreview">
+ <img src="" alt="" id="styleLogo" style="max-width: 100%">
+ </div>
<div id="uploadLogo"></div>
</dd>
<dd>
<dl>
<dt><label for="pageLogoMobile">{lang}wcf.acp.style.globals.pageLogoMobile{/lang}</label></dt>
<dd>
- <img src="" alt="" id="styleLogoMobile" style="max-width: 100%">
+ <div class="selectedImagePreview">
+ <img src="" alt="" id="styleLogoMobile" style="max-width: 100%">
+ </div>
<div id="uploadLogoMobile"></div>
</dd>
<dd>