[PATCH] Add image configuration option