outUrl, url, img and outImg return string
Updated index.view.php