improvements in image handling
improvements in image handling

freed some resources so that the image does not need to be copied around the file system
when its downloaded over url and already exists

lunactic/DIVAServices_Node,lunactic/DivaServices