public function transform( MShop_Media_Item_Interface $item, $baseurl = null,
		array $boxAttributes = array(), array $itemAttributes = array() )
	{
		$url = $item->getUrl();
		$enc = $this->encoder();
		$previewUrl = $item->getPreview();

		$tag = $this->_createMediaTag( $item, $boxAttributes, $itemAttributes, $baseurl );

		if( strncmp( $url, 'http', 4 ) !== 0 && strncmp( $url, 'data', 4 ) !== 0 && $baseurl !== null ) {
			$url = $baseurl . '/' . $url;
		}

		if( strncmp( $previewUrl, 'http', 4 ) !== 0 && strncmp( $previewUrl, 'data', 4 ) !== 0 && $baseurl !== null ) {
			$previewUrl = $baseurl . '/' . $previewUrl;
		}

		$mimetype = $enc->attr( $item->getMimetype() );
		$name = $enc->html( $item->getName() );

		return sprintf( $tag, $enc->attr( $url ), $enc->attr( $previewUrl ), $name, $mimetype );
	}