Production Diary

Am I available?

Maybe, who knows?
I should, so get in touch over at Contact .

Removing inline img dimensions for responsive WordPress websites

This handy code snippet hooks into WordPress’s image_downsize function and removes the hardcoded img attributes width & height, allowing images to scale with responsive websites: In your functions.php file… /** * This is a modification of image_downsize() function in wp-includes/media.php * we will remove all the width and height references, therefore the img tag * … Continued

Don't Be Shy