thanks OP.

also there is a WP Plugin "Picture Wizz" very handy as well