[pLog-svn] r1963 - plugins/trunk/atom/class/xml/atom
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Fri May 6 22:57:52 GMT 2005
Author: oscar
Date: 2005-05-06 22:57:51 +0000 (Fri, 06 May 2005)
New Revision: 1963
Modified:
plugins/trunk/atom/class/xml/atom/postservice.class.php
Log:
fixed a small typo in the generation of the url to the embedded image
Modified: plugins/trunk/atom/class/xml/atom/postservice.class.php
===================================================================
--- plugins/trunk/atom/class/xml/atom/postservice.class.php 2005-05-06 22:37:09 UTC (rev 1962)
+++ plugins/trunk/atom/class/xml/atom/postservice.class.php 2005-05-06 22:57:51 UTC (rev 1963)
@@ -222,7 +222,7 @@
$settings = $this->_blogInfo->getSettings();
$previewType = $settings->getValue( "plugin_atom_resource_preview_type" );
if( $previewType == ATOM_EMBED_MEDIUM_PREVIEW )
- $link = $url->resourceMediumPreviewLink( $resource );
+ $link = $url->resourceMediumSizePreviewLink( $resource );
elseif( $previewType == ATOM_EMBED_FULL_SIZE_VIEW )
$link = $url->resourceDownloadLink( $resource );
else
@@ -231,6 +231,7 @@
$result .= "<a href=\"".$url->resourceLink( $resource )."\">
<img class=\"resource-image\" src=\"$link\" alt=\"".$resource->getFileName()."\" />
</a><br />";
+ AtomLogger::Log( "Done!" );
}
else {
AtomLogger::Log( " It is something else!" );
More information about the pLog-svn
mailing list