Custom Thumbnails & Featured Images
Menterprise Publishing's default theme contains thumbnails for articles and a featured image on the top of an article.
Publishing chooses this image by randomly selecting an image from images available within the content containing the class `.featurable`
To override this image and have a specific image as the thumbnail, we can use a different class, `.feature`, e.g:
<img class="feature" src="https://example.com/image/sample.jpg">
Examples
To use a set of spintax URLs
<img class="feature" src="{imgA|imgB|imgC}" />
To remove thumbnails (utilises a blank PNG):
<img class="feature" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAFoEvQfAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAAaADAAQAAAABAAAAAQAAAADa6r/EAAAADUlEQVQIHWO4fv36fwAIkwOFND+DBAAAAABJRU5ErkJggg==" />
To use a product image from MPSS:
<img class="feature" src="[:product-3]" />
<!-- MPSS -->
[:=product]
Running Shoes,$125,https://example.com/image/running-shoes.jpg
Hiking Shoes,$100,https://example.com/image/hiking-shoes.jpg
Comfortable Shoes,$85,https://example.com/image/comfortable-shoes.jpg
[/product]