Fix image resizer in the image picker. Closes #2345.

Some code was changed in e539215f32cd9f190210c91c5da2057b0106b5bd and
it appears that two occurances of set_image wasn't renamed to
toggle_image.