Validates image size format.
Resizes images when frontend image size setting is changed.