vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
531 stars 157 forks source link

Uncaught Error: Can't get image size - image not inited. #151

Open mkhalila opened 7 years ago

mkhalila commented 7 years ago

The gallery was working completely fine on my local machine, but after pushing to the production server, the gallery just displays a buffering icon and the following error is thrown:

Uncaught Error: Can't get image size - image not inited. at UGTileDesign.getTileImageSize (unitegallery.min.js:6) at T (unitegallery.min.js:5) at HTMLDivElement. (unitegallery.min.js:5) at Function.each (jquery.min.js:2) at n.fn.init.each (jquery.min.js:2) at w (unitegallery.min.js:5) at E (unitegallery.min.js:5) at unitegallery.min.js:5 at unitegallery.min.js:3

tomtik commented 5 years ago

Hello, I have a similar issue. Could it have something to do with 'CORB'?

EABangalore commented 4 years ago

me too getting same error, can't it be wrapped with try and catch?

Hrabal commented 4 years ago

This repo does not look a lot active but still I'm adding my experience with the same issue.

I got this error when switching from relative urls of the images from a static dir to absolute urls in a bucket, ie:

WORKING: /static/imgs/1.jpg NOT WORKING: https://mybucket.gcloud.com/ashuishafu8397asnas/imgs/1.jpg

EABangalore commented 4 years ago

Have any one found solution to above error, if image path is not found i want to skip that image itself

getting same error

image

please help me with any workaround