diff --git a/lib/Project/Image.php b/lib/Project/Image.php
index <HASH>..<HASH> 100644
--- a/lib/Project/Image.php
+++ b/lib/Project/Image.php
@@ -114,6 +114,11 @@ class Image extends TimberImage {
     $originalWidth = parent::width();
     $width = $this->width($customSize);
 
+    if (!isset($width)) {
+      // if image doesn't exist, width won't be set
+      return 0;
+    }
+
     if ($width != $originalWidth) {
       // distinct custom dimensions; calculate new based on aspect ratio
       $height = floor( $width / $this->aspect() );
If image file doesn't exist, Image::height() should return 0