Jay, as usual this is much easier to debug if you post a url with the problematic example.

On 11/23/2015 03:43 PM, Jay Gray wrote:
I have a structure below that worked for Exhibit 2.
If an image is not available, the image 'NoImageAvailable.png' is used in its place.

<td valign="bottom" class="itemThumbnail-thumbnailContainer">
    <div style="position: relative">
        <div class="itemThumbnail-blocker"></div>
        <div ex:if-exists=".image">
            <img ex:src-content=".image" />
        </div>
<div ex:display-style-subcontent="{{ if(not(exists(.image)), 'block', 'none') }}">
            <img src="NoImageAvailable.png" />
        </div>
    </div>
</td>

However, its equivalent for Exhibit 3 does not work:

<td valign="bottom" class="itemThumbnail-thumbnailContainer">
    <div style="position: relative">
        <div class="itemThumbnail-blocker"></div>
        <div data-ex-if-exists=".image">
            <img data-ex-src-content=".image" />
        </div>
<div data-ex-display-style-subcontent="{{ if(not(exists(.image)), 'block', 'none') }}">
            <img src="NoImageAvailable.png" />
        </div>
    </div>
</td>

meaning that NoImageAvailable.png is not displayed when a planned image is not available.

What am I doing wrong?

/jg

--
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SIMILE 
Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to