Updated image resizing

Set a fixed DPI (72) as auto detecting doesn't work
Fixed an issue with downloading PDFs after dragging an image (src
wasn't set)