Simply image extensions formation and more checking before optimizing all images in workspace