Not sure if I'm doing something wrong, if ember-photoswipe doesn't support titles or if is a real issue but when passing items with titles it simply doesn't show on the bottom.
This is how i set my images:
/**
* List of image objects to feed to photoswipe.
* @type {Object[]}
*/
photoSwipeImages: computedProps(
'pictures',
pictures => pictures.map(picture => ({
src: picture.image.url,
w: picture.image.width,
h: picture.image.height,
title: 'hello world',
})),
),
Here where it is passed to the ember-photoswipe:
{{#photo-swipe
items=photoSwipeImages
history=false
shareEl=false
options=(hash closeOnScroll=false)
as |photoswipe|
}}
And the result is this:
Inspecting the html we can see that where it should be it's actually empty
Hello,
Not sure if I'm doing something wrong, if ember-photoswipe doesn't support titles or if is a real issue but when passing items with titles it simply doesn't show on the bottom.
This is how i set my images:
Here where it is passed to the ember-photoswipe:
And the result is this:
Inspecting the html we can see that where it should be it's actually empty
Thanks in advance! :)
Edit: Using: "ember-photoswipe": "0.6.0"