public function addImage ($image, $size, $width=0, $height=0)
	{
		if (!is_array($image))
		{
			return;
		}
		
		if (@unserialize($size) === false)
		{
			$size = serialize(array((string)$width, (string)$height, $size));
		}
		
		$image['size'] = $size;
		$image['singleSRC'] = $image['path'];
		
		Pattern::addImageToTemplate($picture = new \stdClass(), $image);	
		
		$picture = $picture->picture;
		$picture['imageUrl'] = $image['imageUrl'];
		$picture['caption'] = $image['caption'];
		$picture['id'] = $image['id'];
		$picture['uuid'] = $image['uuid'];
		$picture['name'] = $image['name'];
		$picture['path'] = $image['path'];
		$picture['extension'] = $image['extension'];

		return $picture;
	}