Image Widget

There are two different image widgets available: a 200-pixel version (good for blog sidebars) or a 400-pixel version (which is also available in a Canvas-friendly version). Each item in the widget contains a link back to the blog post page for the book that the image comes from.  You can see the widget in action here (and in the sidebar of this blog too):


Here is the code you need for each, including a Canvas-friendly version:

200 PIXELS

<script type="text/javascript"> var display = " " </script><script type="text/javascript" src="https://widgets.lauragibbs.net/aesop/random200.js"></script>

400 PIXELS

<script type="text/javascript"> var display = " " </script><script type="text/javascript" src="https://widgets.lauragibbs.net/aesop/random400image.js"></script>

CANVAS 400 PIXELS

<iframe src="https://widgets.lauragibbs.net/canvas/aesopimage.html" width="450" height="800"></iframe>


No comments:

Post a Comment