What about giving a class to the image setting the style attribute:
image::images/jambo-domain-model.png[style="your_class_name_here"]
and then add in the css, something like this:
.your_class_name_here img {
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}
..or whatever angle is needed
/dan
Il giorno mercoledì 24 luglio 2013 14:15:49 UTC+2, Eduardo Santana ha
scritto:
>
> I would be nice if we could rotate an image.
>
> In the printed version, I would like to use the image to fit the page.
> But, in the html version, I could just rotate it.
>
> ifdef::...
>
> image::images/jambo-domain-model.png[scaledwidth="40%"]
>
> endif
>
>
> ifdef::...
>
> image::images/jambo-domain-model.png[rotate="-90"]
>
> endif
>
>
> For now, I have to create two images every time I want to do this.
>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.