English isnt my native language so bear with me.
Im trying to make it so that when a user clicks any image on my site a gallery sort of div will become visible containin
var image = $("img"); image.on('click', function(){ var imageURL = this.src; backgroundCurtain.css("display", "block"); imageResized.attr("src", imageURL); var imageWidth = imageResized.width(); pictureInner.css("width", imageWidth); });