Improved SWDF_get_allowed_sizes() and added phpDoc
Improved SWDF_validate_resize_request() and added phpDoc