fix thumbnail link to main photo