How can I isolate a div with a particular class name with another div of the same class name?

How can I isolate a div with a particular class name with another div of the same class name?

I have isolated the problem in this pen.

Explanation : 

I am using a plugin called jquery upload preview to upload an image and preview the image on the div as a background.

In my web page, I am dynamically creating more and more divs with the same class name but since the class names are same, the upload preview is getting applied for all. I want every other div to get isolated from each other.

Is there any solution I can apply here. Please check out  this link, it's a pen where I have isolated the issue.

Thank you so much guys.