title: How resize image in Joomla?
body: <p>I try use this:</p>
  
  <pre><code>$image = new JImage();
  $image-&gt;loadFile($item-&gt;logo);
  $image-&gt;resize('208', '125');
  
  $properties = JImage::getImageFileProperties($item-&gt;logo);
  
  echo $image-&gt;toFile(JPATH_CACHE . DS . $item-&gt;logo, $properties-&gt;type);
  </code></pre>
  
  <p>But not work =\ any idea?</p>