Revert "imghandler"

This reverts commit cd2030f2fc4040af1c760b4fe5aa9c1aeaf4ee2d.