Mason layout are not arranging itself in required format.
i'm using 3rd party library phot-album for displaying masonary layout
what caused the problem?
i believe the issue is caused by the fact that some of the images have forbidden access
below is the function through which i'm handling the 403 forbidden error
can someone please check and let me know if i'm handling the 403 error correctly?
please note:in order to make sure mason works i need both width and height
2 Replies
I forgot to mention
Ive tried adding width and height as zero however the gap is still occuring this gaps are occuring only when images have 403 errors
RESOLVED: I have to remove every data which has src = "hide" from the array
you can just add the [solved] tag, I've done that for you. The rest is all automatic