Advertisement
deliciousthemes

Untitled

Apr 16th, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. switch ($portf_thumbnail) {
  2.     case 'portfolio-big':
  3.         $grid_thumbnail = aq_resize($image_url, 566, 440, true);
  4.         $item_class = 'item-wide';
  5.         break;
  6.     case 'portfolio-small':
  7.         $grid_thumbnail = aq_resize($image_url, 281, 219, true);
  8.         $item_class = 'item-small';
  9.         break;
  10.     case 'half-horizontal':
  11.         $grid_thumbnail = aq_resize($image_url, 566, 219, true);
  12.         $item_class = 'item-long';
  13.         break;
  14.     case 'half-vertical':
  15.         $grid_thumbnail = aq_resize($image_url, 281, 440, true);
  16.         $item_class = 'item-high';
  17.         break;                         
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement