Git Product home page Git Product logo

Comments (9)

edborden avatar edborden commented on June 25, 2024 4

I figured it out. Basically, I was passing an arrays of image models to the component, where the component requires an array of vanilla js objects. Since that array gets passed straight through, PhotoSwipe was choking on it.

from ember-cli-photoswipe.

DanielOchoa avatar DanielOchoa commented on June 25, 2024

Interesting. The offending code is not part of the addon. If you remove the photoswipe component and just iterate over the photos on the template, are you able to make the the photos render?

from ember-cli-photoswipe.

blisst avatar blisst commented on June 25, 2024

Yes I was previously rendering the photos with no problems, using fancyBox till I found out fancyBox doesn't have swipe support.

from ember-cli-photoswipe.

blisst avatar blisst commented on June 25, 2024

Wait so you closed it because it is an issue not with the add-on? It's definitely something to do with Photoswipe.

from ember-cli-photoswipe.

DanielOchoa avatar DanielOchoa commented on June 25, 2024

I wasn't able to reproduce it on a new ember-cli app with that version

On Wed, Jul 15, 2015 at 11:33 PM blisst [email protected] wrote:

Wait so you closed it because it is an issue not with the add-on? It's
definitely something to do with Photoswipe.


Reply to this email directly or view it on GitHub
#17 (comment)
.

from ember-cli-photoswipe.

iamjstates avatar iamjstates commented on June 25, 2024

@blisst - did you ever fix this problem. I'm having the same issue

from ember-cli-photoswipe.

edborden avatar edborden commented on June 25, 2024

Also seeing this ([email protected],[email protected]).... Only reference I can find is dimsemenov/PhotoSwipe#1041, with no fix

from ember-cli-photoswipe.

blisst avatar blisst commented on June 25, 2024

I apologize I haven't been working in Ember for a while now and thus don't remember what ended up happening...

from ember-cli-photoswipe.

rogyvoje avatar rogyvoje commented on June 25, 2024

I got the same error when I passed an empty array. Make sure you are sending images to the photo swipe.

from ember-cli-photoswipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.