implemented drag and drop of photos to use photos multiple times in resources: done only single photo at a time