An alternate solution is to use render tags.

Create the img placeholder (say img_GalleryItem) and set the size for the 
thumbnail. The images in Asset Manager are sized to full size.

The thumbnail is referenced normally: <img src="<%img_GalleryItem%>" />

For the full sized image just reference it via the render tag code 
<img src="<%!! 
Context:CurrentPage.Elements.GetElement(img_GalleryItem).GetHtml() !!%>" 
/>. 

If you're referencing the full sized image via a list then you can use:
<img src="<%!! 
Context:Pages.GetPage(Guid:<%inf_PageGUID%>).Elements.GetElement(img_GalleryItem).GetHtml()
 
!!%>" />, where inf_PageGUID is an info placeholder.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/_r8eV8HaLJ0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to