Display Thumbnail from Image/File Page Attribute - Concrete5


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $lfb = LibraryFileBlockController::getFile($cobj->getAttribute('thumbnail')->fID);
  3. echo $lfb->getThumbnail(75,75)->src
  4. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.