Od dłużej chwili męczę się z resizeowaniem zdjęć.
Poniżej przesyłam kod, niestety tak jak w nim deklaruje, w ścieżce $screen_small, wcale nie znajduje się małe zdjęcie:

  1.  
  2. // kopia zdjęcia
  3.  
  4. $screen_small = 'C:\Serwer\wamp\www\joomla\images\projects\id_' . $row->id . '_sm.jpg';
  5. copy($screen_normal, $screen_small);
  6.  
  7. // Miniaturka
  8. header("Content-type: image/jpg");
  9. list($width, $height) = getimagesize($screen_small);
  10. $newwidth = 200;
  11. $newheight = $height / ($width / $newwidth);
  12.  
  13. $thumb = imagecreatetruecolor($newwidth, $newheight);
  14. imagecopyresized($thumb, $screen_small, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);


Macie jakąś koncepcję?