Closed Petschko closed 7 years ago
Hello I'm trying to load Thumbnails into my slide but the source (src-Element) of the Thumbnail is always "undefined".
I init my element like this:
<div data-src="images/home_slider/1.png" data-thumb="images/home_slider/thumbs/1.png"> </div>
Everything works fine, except that the Thumbnail Image is not set (undefined). The image exists but it doesnt show me a link in the src attribute, just undefined like a JavaScript "undefined".
This is the Thumbnail Element I get:
<img src="undefined" class="camera_thumb" style="position: absolute; opacity: 0; display: none; top: -32px; left: -8px; margin-top: 5px;">
lol found the error oO was my IDE which renamed something within the code - so it is solved
Hello I'm trying to load Thumbnails into my slide but the source (src-Element) of the Thumbnail is always "undefined".
I init my element like this:
Everything works fine, except that the Thumbnail Image is not set (undefined). The image exists but it doesnt show me a link in the src attribute, just undefined like a JavaScript "undefined".
This is the Thumbnail Element I get: