At first glance, CaptionOnImage is a very simple stack. Drop it into your RW project; add an image – local, or warehoused; add a text stack with a caption and, with the standard settings, when you hover over the image, just as with some other caption stacks, your caption will appear.
CaptionOnImage, however, isn't finished there. You can also set the caption to disappear on hover, but that isn't all. By nesting the CaptionOnImage stacks, you can also have the image change on hover – with, or without a caption. Just hover over the image above and you'll see what I mean.
If you wish to go easy on the grey matter, you can open Jeroen's detailed example project – it comes with the stack – copy the example that you wish to use, drop it into your project and replace the images and the caption text. Otherwise, drag CaptionOnImage into your project and play around with the stack settings.
To do so, drag an image into the upper part of the stack and a text stack into the lower part.
First up: The General Settings are for the positioning of the caption; Top, Bottom, or Centre. If you choose Top or Bottom, you can set the distance in either % or to Fixed [px]. You then have settings for T/B, Left and Right. Force Fluid Image will ensure that your image remains responsive. Set Link will allow you to add an URL.
Hover Effect: Static sets the caption to appear on page load and disappear on hover. Hover sets the caption to appear upon hover and Both gives you a permanent caption. Show Effect enables Image Hover Effects, either for the static, or the hovered image. You have a choice of four image effects: Opacity, Blur, Sepia, or Greyscale. Hover Delay is defined in milliseconds and there are five transitions to choose from.
You may add a border to the image and the border colour may also be changed upon hover. And finally, the image can have a colour overlay – once more, you can choose between a static and a hovered colour.
If you wish to have the image change, as in the first example above, you can nest a CaptionOnImage within the lower stack, add a text caption that will appear together with the second image and you're good to go. The opposite is also possible: an image with a caption that disappears when the new image appears upon hover.
A great deal of thought has gone into CaptionOnImage. It's a great stack that makes exceedingly versatile captioning very simple without stressing those grey cells. It is a welcome addition to my stacks library!
Now — How do I add CaptionOnImage to my blog page? Oh look! There's a description for that on the demo pages too!
[Note – The images displayed here are screenshots, not the actual stack]
Links to the developers ® All trademarks cited on this page are the property of their respective owners.
Subscribe to Ninja News
or ask a question
Yes, I would like to receive your monthly newsletter.
No thanks, I’m good for now. I have a different issue.
[1-1], thanks for subscribing. If you made a further request, I’ll get back to you – typically within 24 hrs.
[1-1], thanks for contacting me. I’ll review your mail, and get back to you – typically within 24 hrs.
Thanks again for contacting us. Your request was successfully submitted.
Looking for Inspiration?
Looking for Inspiration for a new site, or need a CTA
The Latest & Greatest
Do you have a question regarding RapidWeaver?
Would you like help with your new project?
Would you like us to build your new RapidWeaver website?
265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.
We do not harvest or sell personal information.
© rjh web design 2010—17
Powered by rjh-design
Don’t miss a post!
Sign up for our monthly newsletter.
A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.