diff -r d970ebf37754 -r f6eb5a861d2f wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions.php --- a/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions.php Wed Nov 06 03:21:17 2013 +0000 +++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions.php Thu Nov 07 00:08:07 2013 +0000 @@ -220,7 +220,16 @@ } - + function get_image_path($image) { + global $blog_id; + if (isset($blog_id) && $blog_id > 0) { + $wpcontentPos = strpos($image, '/wp-content/'); + if($wpcontentPos) { + $image = substr($image, $wpcontentPos); + } + } + return $image; + } /* start for comments */ @@ -285,4 +294,4 @@ /* end for comments */ -?> \ No newline at end of file +?>