Is it possible to set the src attribute value in CSS? At present, what I am doing is:
src
Using CSS, it can't be done. But, if you are using JQuery, something like this will do the trick:
$("img.myClass").attr("src", "http://somwhere");