Hi does anyone know how to mogrify an image and set the width to 200 px and not worry about the height. I want all my images to be 200 px wide.
At the moment this works
exec("/usr/bin/mogrify -resize 200x150 ".$Dir.'/'.$fileName);
and I tried
exec("/usr/bin/mogrify -resize 200!x150 ".$Dir.'/'.$fileName);
and
exec("/usr/bin/mogrify -resize 200x ".$Dir.'/'.$fileName);
but that doesn't seem to work
Thanks in advance Christine