Refactored foto/large/media/thumbnail .php