Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #2

Open
milesje opened this issue Jul 18, 2016 · 1 comment
Open

Documentation #2

milesje opened this issue Jul 18, 2016 · 1 comment
Assignees

Comments

@milesje
Copy link

milesje commented Jul 18, 2016

Can you create some documentation to use this element?
I would like to utilize this element in my site but I am unable to get it to function they way I want.

I am using it like this:
<sc-photoswipe id="psAwannas" items="{{awana_images}}"></sc-photoswipe>

this.awana_images = [
          {
            thumbnail: "/images/hpbc/awanas/thumbnails/awanas_2016_eoy_1_tn.jpg",
            src: "/images/hpbc/awanas/awanas_2016_eoy_1.jpg",
            w: 100,
            h: 75
          },
          {
            thumbnail: "/images/hpbc/awanas/thumbnails/awanas_2016_eoy_2_tn.jpg",
            src: "/images/hpbc/awanas/awanas_2016_eoy_2.jpg",
            w: 100,
            h: 75
          }
        ];

The thumbnails are displayed on the site, but do not follow the width and height that I have set. and clicking on one of the images just opens the image in a new tab instead of display a lightbox with controls.

@h0adp0re
Copy link

h0adp0re commented Dec 1, 2016

I would like to see some more detailed docs as well.

@rubenstolk rubenstolk self-assigned this Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants