Its unnecessary to check if ($width >= 200) since the program would have stopped at the previous statement if so.  Same for the next two conditional checks.