<div id="ImageCropComponent_{{unique}}" class="ICContainer">
	<div ng-if="ctrl.hasImage()" class="media flex-wrap" name="change_button_block" id="IC_image_{{unique}}">
		<div class="media-left mr-2 mb-2 mw-100">
			<div class="current-image-container" style="width: 80px; height: 80px;">
				<div ng-if="!ctrl.isTempFile()" name="current_image" class="js-current-image uploaded-image image" style="max-width: 80px; max-height: 80px; background-image: url({{ctrl.imageUrl()}});"></div>
				<div ng-if="ctrl.isTempFile()" name="current_image" class="js-current-image uploaded-image image" style="max-width: 80px; max-height: 80px;; background-image: url({{ctrl.imageUrl()}});"></div>
			</div>
		</div>

		<div class="media-body">
			<a href="#" id="IC_changeLink_{{unique}}" class="btn btn-secondary"><span class="glyphicons glyphicons-picture"></span> <lmsg src="common.file_upload.change_image">Change image</lmsg></a>
		</div>
	</div>

	<div ng-if="!ctrl.hasImage()" name="upload_button_block">
		<a href="#" id="IC_link_{{unique}}" class="btn btn-secondary"><span class="glyphicons glyphicons-picture"></span> <lmsg src="gallery.album.upload_image">Upload image</lmsg></a>
	</div>

	<input id="{{unique}}_special_id" type="hidden" name="{{unique}}[hash]" value="${img_hash}">
</div>
