Skip to content

<xmod:LoadFeedImage>

<xmod:LoadFeedImage> renders a clickable image that fires an AJAX request to load an XMP feed when clicked — same behavior as <xmod:LoadFeedButton>, just rendered as an image rather than a push-button.

Requires jQuery

The hosting page must include jQuery.

Sibling variants

Example

html
<div id="Content"></div>

<xmod:LoadFeedImage AlternateText="Show Top Authors" ImageUrl="~/images/refresh.gif"
    FeedName="Top20Authors" Target="#Content"
    LoadingImageUrl="~/images/loading.gif" />

Properties

PropertyValuesDefaultDescription
FeedName *stringFeed name as defined on the Manage Feeds page
Target *jQuery selectorThe element whose content is replaced or appended
ImageUrlURLPath to the image file. Tilde (~) supported
AlternateTextstringAlt text for screen readers and search engines
InsertModeReplace Append PrependReplaceHow the loaded content is placed into the target
LoadingImageUrlURLImage shown in the target while the feed is loading
LoadingCssClassstringCSS class(es) applied to the loading image
InfinitePagingTrue FalseFalseEnable infinite-scroll plumbing
IDSelectorjQuery selectorWhen InfinitePaging="True", locates the element holding the last record's ID
CssClassstringCSS class name(s)
StylestringInline CSS
ToolTipstringHover tooltip
VisibleTrue FalseTrueShows or hides the control

* Required property

Child Tags

<Field Name Value> — same as on <xmod:LoadFeedButton>.

See <xmod:LoadFeedButton> for full property details and infinite-paging usage.