
<{if $number_cols_album == 6}>
	<div class='col-12 col-md-2'>
<{elseif $number_cols_album == 4}>
	<div class='col-12 col-md-3'>
<{elseif $number_cols_album == 3}>
	<div class='col-12 col-md-4'>
<{elseif $number_cols_album == 2}>
	<div class='col-12 col-md-6'>
<{else}>
	<div class='col-12 col-md-12'>
<{/if}>
	<div class='center'>
		<{if $album.nb_images}>
			<{if $gallery}>
				<a class='' href='<{$wggallery_url}>/gallery.php?op=show&amp;alb_id=<{$album.id}><{if $subm_id|default:false}>&amp;subm_id=<{$subm_id}><{/if}>' title='<{$smarty.const._CO_WGGALLERY_IMAGES_ALBUMSHOW}>' target='<{$gallery_target}>' >
			<{else}>
				<a class='' href='<{$wggallery_url}>/images.php?op=list&amp;alb_id=<{$album.id}>&amp;alb_pid=<{$album.pid}>' title='<{$smarty.const._CO_WGGALLERY_IMAGES_INDEX}>'>
			<{/if}>
		<{/if}>

		<div class="simpleContainer">
			<{if $album.image}><img class="img-fluid" src="<{$album.image}>" alt="<{$album.name}>" title="<{$album.name}>"><{/if}>
			<div class="simpleContent">
				<{if $showTitle}><p><{$album.name}></p><{/if}>
				<{if $showDesc}><p><{$album.desc}></p><{/if}>
			</div>
		</div>
		<{if $album.nb_images}></a><{/if}>
	</div>
</div>
