im getting a little issue here. Im trying to load an image, but seems it isnt correct. Im getting the data of image, but i just want to load it instead of.
Whats wrong?
var url = $(this).find("img").attr("ref");
$("#produto .main-photo .photo img").load(url, function() {
$("#produto .main-photo .loader").fadeOut();
$("#produto .main-photo .photo").fadeIn();
});