Index: temp/trunk/html/admin/products/product.php
===================================================================
--- temp/trunk/html/admin/products/product.php	(revision 9146)
+++ temp/trunk/html/admin/products/product.php	(revision 9147)
@@ -492,5 +492,5 @@
 function lfSetScaleImage(){
 	
-	$subno = strrchr($_POST['image_key'], "sub_large_image");
+	$subno = str_replace("sub_large_image", "", $_POST['image_key']);
 	sfprintr($subno);
 	switch ($_POST['image_key']){
