Capturing content: images
Posted: Wed Aug 06, 2014 3:55 pm
I am using http://purecss.io/layouts/gallery/ from the Pure framework as an example. I have converted that into a CMSMS theme using the menu manager, templates and style-sheets.
But what if i wanted to allow end users to control the images that were displayed? At the moment those images are hard-coded in the template.
I could create a capture for each of those blocks and then use the WYSIWYG editor to include the images, but that got me thinking...
Isn't there a way to just capture an image? A capture that would just add a browse button to the back-end and i could click that and select the image?
Thanks for your time.
But what if i wanted to allow end users to control the images that were displayed? At the moment those images are hard-coded in the template.
Code: Select all
<div class="photo-box u-1 u-med-1-3 u-lrg-1-4">
<a href="http://www.dillonmcintosh.tumblr.com/">
<img src="http://24.media.tumblr.com/d6b9403c704c3e5aa1725c106e8a9430/tumblr_mvyxd9PUpZ1st5lhmo1_1280.jpg"
alt="Beach">
</a>
<aside class="photo-box-caption">
<span>by <a href="http://www.dillonmcintosh.tumblr.com/">Dillon McIntosh</a></span>
</aside>
</div>
Isn't there a way to just capture an image? A capture that would just add a browse button to the back-end and i could click that and select the image?
Thanks for your time.