A PHP Error was encountered

Severity: Notice

Message: Undefined variable: res

Filename: controllers/thumbs.php

Line Number: 61

The path to the image is not correct.