Duplicate url code, thumbnails on add new page

* Thumbnail now shows on add/update item page when user selects attachment.
* Removed buggy code fix for duplicate url

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>