At present, we use 800x450 images for news articles. I'd like to start using 1600x900 versions for higher quality retina devices but generate the smaller 800x450 version automatically from this image.This can be done when pulling through the image to a list, where you specify the scaling restrictions but is it possible to do within a template? I tried referencing a new image element to the original and setting scaling but it just kept the original file.
Hi HilmarThanks for the reply.So, in the template, I put img_large in the clipboard, chose img_small and selected 'Reference Element in Clipboard'. Nothing visually happens - there are no green arrows or text to indicate the reference like you would normally see.When I create a new page and add img_large, nothing happens for img_small. I have to repeat the above 'Reference Element' step and then it works (green text, etc.) - there is the 1600x900px img_large and 800x450px img_smallHowever, I don't want to perform this manual step every time - it should be set once at template level and that's it for all new pages.Does this sound it should work at template level?
Hi TimThanks, although that's pretty depressing - will have to use some RQL now as can't have editors doing it manually...
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reddot-cms-use...@googlegroups.com.
To post to this group, send email to reddot-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi DanielYes, I'd like editors to upload the eg 1000px width version and then the CMS to make a second version at eg 500px width - your idea sounds like exactly what I'm looking for.Thanks, I'll report back if it works!Cheers
Hi Tim
Thanks, although that's pretty depressing - will have to use some RQL now as can't have editors doing it manually...
On Tuesday, 30 April 2013 18:11:07 UTC+1, Tim D wrote:
Yep, works like a charm :-)
Thanks a lot, great use of render tag!
Neil
--
You received this message because you are subscribed to a topic in the Google Groups "RedDot CMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reddot-cms-users/aLujeUr52SQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to reddot-cms-use...@googlegroups.com.
Thanks Tim, have done so now.
Hi TimThanks but that just seems to link back to this group?Neil
On Tuesday, 30 April 2013 11:55:33 UTC+1, Neil Fegen wrote:HiWe're starting to look at using retina image alternatives in our project and I wondered what would be the best approach for it?
At present, we use 800x450 images for news articles. I'd like to start using 1600x900 versions for higher quality retina devices but generate the smaller 800x450 version automatically from this image.This can be done when pulling through the image to a list, where you specify the scaling restrictions but is it possible to do within a template? I tried referencing a new image element to the original and setting scaling but it just kept the original file.
Any help would be great!ThanksNeil