Skip to content

Instantly share code, notes, and snippets.

@fedmich
Created March 12, 2012 05:26
Show Gist options
  • Save fedmich/2020005 to your computer and use it in GitHub Desktop.
Save fedmich/2020005 to your computer and use it in GitHub Desktop.
Fed - CakePHP
<img src="<?= $this->Thumb->clip_thumb('ImageFilename','300x300'); ?>" alt="" />
define('TMP', 'D:\temp\cake_cache\discover\tmp'.DS);
<img src="/discover/files/timthumb.php?h=&w=50&zc=1&q=95&src=clips/Hydrangeas_10_1331525787.jpg" alt="" />
<img src="<?= $this->Thumb->user_thumb('luke_loh','50x50'); ?>" alt="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment