Hey thanks guys, I'm really pleased with the the render tag solution in the case of a 1 full sized to 1 thumbnail image ratio. It works brilliantly!
And sorry Jian I should have made it more obvious that I was aware of the scaling option but I was trying to not have to use any rql. However I think I'm going to have to use RQL as in one of our templates we have a full sized image and 6 other ones of varying smaller dimensions. As long as I can confirm that the dimensions will be in the same proportion (so that they scale nicely) then I'm going to write a plug-in that the user has to activate to copy over the contents of the main image to the 6 other images. On Nov 23, 4:50 am, VegeJuice <graemehe...@gmail.com> wrote: > 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 post to this group, send email to reddot-cms-users@googlegroups.com. To unsubscribe from this group, send email to reddot-cms-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.