I setup an AnythingSlider with the resizeContents:false option, so content is at its normal size inside the slider. It works well with content from page load. But when I try to update the content of a slide in Javascript, it is not resized.
I setup a jsfiddle to illustrate that : http://jsfiddle.net/YEmM5/.
Slides 2 and 3 are OK.
In Slide 1, if you click on the button it fakes an image upload and places an image in the slide (it also fakes a server response with the size of the image, so it is set explicitely), it is not resized like the others.
I tried to wait for the image to be loaded to call the AnythingSlider update, but nothing happens.
Should I update the slider another way or is it a bug ?
Hello,
I setup an AnythingSlider with the resizeContents:false option, so content is at its normal size inside the slider. It works well with content from page load. But when I try to update the content of a slide in Javascript, it is not resized.
I setup a jsfiddle to illustrate that : http://jsfiddle.net/YEmM5/. Slides 2 and 3 are OK. In Slide 1, if you click on the button it fakes an image upload and places an image in the slide (it also fakes a server response with the size of the image, so it is set explicitely), it is not resized like the others.
I tried to wait for the image to be loaded to call the AnythingSlider update, but nothing happens.
Should I update the slider another way or is it a bug ?
Thanks !