i am trying to resize a picture in template but it is giving me error
the code i have tried are
$Photo.SetSize(80 , 80)
$Photo.SetSize(80, 80)
$Photo.SetSize(80,80)
error i have received is
Missing argument 1 for Image::SetSize()
and
$Photo.PaddedImage(80, 80)
$Photo.PaddedImage(80,80)
$Photo.PaddedImage(80 , 80)
the error i have received is
imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
I am trying to resize the image without cropping it.
when i am calling only the variable its showing the picture
thank you in advance