once I put this change in, I realized that it broke the image thumbnails
so I changed twitter_parse_tags as such:
$out = twitter_photo_replace($input).$out;
and changed twitter_photo_replace to only return the imploded images array
also I'm calling long_url($url) twice up there - yikes!