Return to Snippet

Revision: 20865
at April 20, 2010 09:08 by sinecera


Updated Code
<?php   
$lfb = LibraryFileBlockController::getFile($cobj->getAttribute('thumbnail')->fID); 
echo $lfb->getThumbnail(75,75)->src 
 ?>

Revision: 20864
at April 20, 2010 08:53 by sinecera


Updated Code
<?php echo $imgHelper->getThumbnail($cobj->getAttribute('thumbnail'), 75, 75)->src ?>

Revision: 20863
at November 27, 2009 23:42 by sinecera


Initial Code
<?php
$imgHelper = Loader::helper('image');
global $c;
if ($c->getAttribute('image')) {
    $image = $imgHelper->getThumbnail($c->getAttribute('image'), 350, 350)->src;
}
?>

Initial URL

                                

Initial Description

                                

Initial Title
Display Thumbnail from Image/File Page Attribute - Concrete5

Initial Tags

                                

Initial Language
PHP