rotcodiicsa wrote
I will really appreciate if you post a screenshot of the same image with and without "role=thumb", to see the effect
because looking at the css snippet it might be exactly what I want.
I tried using
https://www.tutorialspoint.com/try_asciidoc_online.php and it doesn't appear to be using the Asciidoctor.css style sheet, which is why you don't see the effect.
Here's what an image looks like with the Asciidoctor stylesheet. You can see there is a subtle border around the second tiger image that has the 'thumb' role.
http://tedbergeron.github.io/images/TigerRoleThumb.pngThis is the code.
= Test Role Thumb
This is the tiger image:
image::tiger.png[]
This is the tiger with roll thumb.
image::tiger.png[role="thumb"]