Fixed wrong namespace
Max width and height si required
Fixed missing image resize