Resize image

* Danbooru's resize function always calculates for the sidebar so it didn't get along with this option. The script now has its own resize function.