Update tiled-gallery.js

The widget images self must not updated. Because the width and height is set to zero pixel.