Added Better Popular Photo Calculation and Replaced third Party Script Crop with GD Library functions