image (function) ∞
-
image
(src='http://placehold.it/200x200', href=False, display=False, pull='left', htmlClass=False, htmlId=False, thumbnail=False, width=False, height=False, onPhone=True, onTablet=True, onDesktop=True, clickToModal=False, openInNewTab=False, modal=False)[source] ∞ Create an HTML image (with ot without link). Based on the Twitter bootstrap setup.
Key Arguments
src
– image urlhref
– image link urldisplay
– how the image is to be displayed [ rounded | circle | polaroid ]pull
– how to align the image if within a<div>
[ “left” | “right” | “center” ]htmlId
– the id of the imagehtmlClass
– the class of the imagewidth
– the width of the imageonPhone
– does this container get displayed on a phone sized screenonTablet
– does this container get displayed on a tablet sized screenonDesktop
– does this container get displayed on a desktop sized screenclickToModal
– if you want to display the image in a modal when clicked?openInNewTab
– open image link in new tab?modal
– is this linked to a modal?
Return
image
- the formatted image