image

API Methods

setOrientation

Attribute Names

data-orientation

Elements
    Properties
      Sizes
        SVG
        <img data-src="image.svg" class="iconic iconic-sm" alt="image">
        <img data-src="image.svg" class="iconic iconic-md" alt="image">
        <img data-src="image.svg" class="iconic iconic-lg" alt="image">
        
        Default Icon Font
        <span class="iconic iconic-sm" data-glyph="image-portrait" title="image portrait" aria-hidden="true"></span>
        <span class="iconic iconic-md" data-glyph="image-portrait" title="image portrait" aria-hidden="true"></span>
        <span class="iconic iconic-lg" data-glyph="image-portrait" title="image portrait" aria-hidden="true"></span>
        
        Bootstrap Icon Font
        <span class="iconic iconic-image-portrait iconic-sm" title="image portrait" aria-hidden="true"></span>
        <span class="iconic iconic-image-portrait iconic-md" title="image portrait" aria-hidden="true"></span>
        <span class="iconic iconic-image-portrait iconic-lg" title="image portrait" aria-hidden="true"></span>
        
        Foundation Icon Font
        <span class="fi-image-portrait iconic-sm" title="image portrait" aria-hidden="true"></span>
        <span class="fi-image-portrait iconic-md" title="image portrait" aria-hidden="true"></span>
        <span class="fi-image-portrait iconic-lg" title="image portrait" aria-hidden="true"></span>
        
        CSS

        Semantic SVG

        data-orientation

        Toggles between its portrait and landscape states

        • portrait

          <img data-orientation="portrait" data-src="image.svg" class="iconic" alt="image" />
          
        • landscape

          <img data-orientation="landscape" data-src="image.svg" class="iconic" alt="image" />
          
        Method name

        Options/Examples

        setOrientation(orientation)

        portrait
        landscape

        Icon Font

        Iconic may be all about SVG, but it also comes with a killer font. For the full skinny, read our icon font and Bootstrap/Foundation guides.

        <!-- Default -->
        <span class="iconic" data-glyph="image-portrait" title="image portrait" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-image-portrait" title="image portrait" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-image-portrait" title="image portrait" aria-hidden="true"></span>
        
        • image-portrait

        • image-landscape

        was copied for yah