8000 Dimension(s) of the target image unknown Ab · Issue #334 · pisi/Reel · GitHub
[go: up one dir, main page]

Skip to content

Dimension(s) of the target image unknown Ab #334

Open

Description

@magarrent

Hey there, why only sometimes I'm getting this error?

<img src="/0881005_4.jpg" class="reel" data-responsive="true" data-loops="true" data-speed="0.15" data-cw="true" data-revolution="200" data-images="/0881005_#.jpg|4..15" style="">

Activity

  1. martonmiklos commented on Nov 4, 2019

    @martonmiklos

    Anyone any hints about this issue?

  2. marysmech commented on Nov 7, 2019

    @marysmech

    Same issue here.

  3. martonmiklos commented on Nov 7, 2019

    @martonmiklos

    @marysmech In my case it turned out that this was caused by the slow loading of the first image (specified with the src tag). My workaround was adding a callback for the image loading and doing a $.reel.scan(); afterwards the image got loaded. See:
    https://github.com/legyenegysajatvarosod/gallery/blob/gh-pages/js/gallery.js#L10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0