Hi,
Ik gebruik een class van bas om thumbnails te maken, maar ik heb ook een soort van crop tool waarmee je dus dingen kan uitknipen.
Nu heb ik dit:
Maar ik heb ook 6 waardes:
Crop x
Crop Y
crop width
crop height
image width
image height
Maar wat moet ik nou precies die waardes plaatsen in: imagecopyresampled($this->_thumb, $this->_image, $new[x], $new[y], 0, 0, $new[w], $new[h], $old[w], $old[h]);
Voorbeeld: http://www.manchetknopenwereld.nl/designphoto/design/10bd477
Alvast bedankt
Ik gebruik een class van bas om thumbnails te maken, maar ik heb ook een soort van crop tool waarmee je dus dingen kan uitknipen.
Nu heb ik dit:
imagecopyresampled($this->_thumb, $this->_image, $new[x], $new[y], 0, 0, $new[w], $new[h], $old[w], $old[h]); Maar ik heb ook 6 waardes:
Crop x
Crop Y
crop width
crop height
image width
image height
Maar wat moet ik nou precies die waardes plaatsen in: imagecopyresampled($this->_thumb, $this->_image, $new[x], $new[y], 0, 0, $new[w], $new[h], $old[w], $old[h]);
Voorbeeld: http://www.manchetknopenwereld.nl/designphoto/design/10bd477
Alvast bedankt