Remove Paragraph Tags From Around Images. In case you want to have in your content but not have them get "Auto P'd" like WordPress likes to do.
return preg_replace('https://cdn.css-tricks.com/<p>\s*(<a .*>)?\s*(<img .* \/>)\s*(<\/a>)?\s*<\/p>/iU', '\1\2\3', $content);