eue,$imageMatch) ) { $matchedImagesArray[$key] = $imageMatch[1]; $showImages = TRUE; } } } elseif ( $version == 1 ) { $showImages = FALSE; $breakUpImages = explode("\n",trim($imageData)); $matchedImagesArray = array(); foreach ( $breakUpImages as $key => $value ) { $image = trim($value); if ( strlen($image) > 5 ) { $matchedImagesArray[] = $image; $showImages = TRUE; } } } if ( $showImages == TRUE ) { $counter = 1; foreach ( $matchedImagesArray as $image ) { // If there's an image to check... if ( $image != "" ) { // Let's see if the image is already a resized version. if ( strpos($image,"ss_size") ) { // If it's a resized version let's see if it's the size we want. if ( strpos($image,"ss_size$tinyThumbSize") ) { // If it's not the size we want, let's make it the size we want. } else { $image = preg_replace('/ss_size\d/sim',"ss_size$tinyThumbSize",$image); } // If it's not a resized version, we'll make it the size we want. } else { $image = substr_replace($image,"ss_size$tinyThumbSize/",strrpos($image,"/")+1,0); } // Full path to the tiny image. $fullImagePathTiny = $image; // Set the size of the enlarged image. if ( $enlargedImageSize > 0 ) { $fullImagePathEnlarged = str_replace("ss_size$tinyThumbSize","ss_size$enlargedImageSize",$fullImagePathTiny); } else { $fullImagePathEnlarged = str_replace("ss_size$tinyThumbSize/","",$fullImagePathTiny); } /* Show the images. You can customize the HTML here but be careful with quotes. ;-) */ $extraViews .= " "; } } } ?> Rebel Confederate Flag One Piece Swimsuit 18679
Newsletter
Sign up and stay informed on Sales, Special Offers, and get Special Discounts


FREE Priority Mail Shipping
on USA orders with product total over $85...Promo Code: FREESHIP85