Open danchristian opened 5 years ago
@danchristian I believe you must add image dimensions to the array, weight (w:) and height (h:)
let items = images.map(function(value) { return { 'src': value.attributes.imgSrc, 'thumbnail': value.attributes.imgSrc, 'alt': value.attributes.imgDesc, 'w': 600, 'h': 400, } });
I am pulling an array on images from Netlify CMS and passing that to
vue-picture-swipe
component, but the acutal images don't render, even though the path is correct etc.Not sure what I am doing wrong?
Template
Script
Rendered HTML