Index: branches/version-2_12-dev/data/class/SC_MobileImage.php
===================================================================
--- branches/version-2_12-dev/data/class/SC_MobileImage.php	(revision 22567)
+++ branches/version-2_12-dev/data/class/SC_MobileImage.php	(revision 22791)
@@ -30,5 +30,5 @@
  * 画像変換クラス
  */
-class SC_MobileImage 
+class SC_MobileImage
 {
     /**
@@ -100,9 +100,9 @@
                 // resize_image.phpは除外
                 if (stripos($path, ROOT_URLPATH . 'resize_image.php') !== FALSE) {
-                    break;
+                    continue;
                 }
 
                 $realpath = html_entity_decode($path, ENT_QUOTES);
-                $realpath = preg_replace('|^' . ROOT_URLPATH . '|', HTML_REALDIR, $realpath);
+                $realpath = substr_replace($realpath, HTML_REALDIR, 0, strlen(ROOT_URLPATH));
                 $converted = $imageConverter->execute($realpath);
                 if (isset($converted['outputImageName'])) {
