Quantcast
Channel: Resize img tags in a Wordpress feed - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Vadizar for Resize img tags in a Wordpress feed

In function.php add the following function: function aq_resize($url,$width,$height=null,$crop=null,$single=true){ $up_info=wp_upload_dir(); $up_dir=$up_info['basedir']; $up_url=$up_info['baseurl']; if...

View Article



Resize img tags in a Wordpress feed

I would like to update the_content_rss in WordPress so it would fit feedburner. It would need to find every img tag, see if it has a width and height set. If they are larger than 600 they should be...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images