PHP class for creating screenshot URLs