refactored wp_resize
looking good on resizing: both internal and external
made permalink the canonical ref for get_link
further simplified resize/external functions
caught issue with resize not happening