Created
November 13, 2012 13:47
-
-
Save iso100/4065843 to your computer and use it in GitHub Desktop.
Sizing Images based on P&T Pill Settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exp:stash:set name="blocks" parse="inward"} | |
{ov_blocks} | |
<div class="block{switch="| even"} size-{block_image_size}" id="block-{row_count}"> | |
<div class="img">{exp:ce_img:single src="{block_image}" width="{block_image_size}" max_width="{block_image_size}" quality="72" alt="size:{block_image_size}"}</div> | |
{if block_headline}<h2>{block_headline}</h2>{/if} | |
{if block_content}{block_content}{/if} | |
</div> | |
{/ov_blocks} | |
{/exp:stash:set} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution involved using P&T Pill's value : label format and going with non-semantic container names.