Hello Bruce,
it's not built in, because in general image sizes differ and need to be adjusted one by one

you can globaly do the trick as follows :
----
:myheight: 400px

...

image::{myimage}["Light Bulb", height="{myheight}"]
----

Works for each solution of my previous example (see attachment)

--
Cordially
Jean-Michel Inglebert

Le 16/07/2013 23:54, Bruce Eckel a écrit :
When using slidy2, I can press "b" and "s" to make the fonts bigger and smaller, respectively. Is there any way to change image sizing dynamically?

If it's not built in, I wonder if there is any kind of macro facility that would allow me to set, for example, the height of each image using a variable, then change that variable in one place to change all the image heights.

Thanks for any suggestions!

-- Bruce Eckel
www.AtomicScala.com <http://www.AtomicScala.com>
www.Reinventing-Business.com <http://www.Reinventing-Business.com>
www.MindviewInc.com <http://www.MindviewInc.com>



--
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.




--
Cordially
Jean-Michel Inglebert

--
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.


=  Single image on the right
:myimage: LightBulb.png
:myheight: 40px

.Requirement
----
- Bullet 1        ============
- Bullet 2        = Image    =
- Bullet 3        =          =
- Bullet 4        ============
----

== block image macro, float="right"

image::{myimage}["Light Bulb",float="right",height="{myheight}"]

- Bullet 1 
- Bullet 2
- Bullet 3
- Bullet 4

== image on the right in a table

[width="100%",cols="3a,^8",frame="none",grid="none"]
|=============================================
^|- Bullet 1 1.4+^.^| image:{myimage}["AsciiDoc",height="{myheight}"]
^|- Bullet 2
^|- Bullet 3
^|- Bullet 4
|=============================================


ifdef::backend-slidy2[]

[imageright,opacity: 0.9; position: absolute; left: 45%; top: 15%; align: 
right;]
&&&&
image:{myimage}["AsciiDoc",height="{myheight}"]
&&&&

:slidebackground: imageright

== slidy2 background image on the right

- Bullet 1 
- Bullet 2
- Bullet 3
- Bullet 4

[imagerightintable,opacity: 0.9; position: absolute; left: 45%; top: 15%;]
&&&&
[width="100%",cols="6,^3",frame="none",grid="none"]
|=============================================
| | *Some content* 
| | image:{myimage}["AsciiDoc",height="{myheight}"]
|=============================================
&&&&

:slidebackground: imagerightintable

=== slidy2 background table on the right

- Bullet 1 
- Bullet 2
- Bullet 3
- Bullet 4

endif::backend-slidy2[]

ifdef::backend-slidy2[:slidebackground!:]

== Image on the left with admonition block

[icon="{myimage}"]
[NOTE]
.Image on the left
====
- Bullet 1 
- Bullet 2
- Bullet 3
- Bullet 4
====

Reply via email to