diff --git a/lib/shopify_api.rb b/lib/shopify_api.rb
index <HASH>..<HASH> 100644
--- a/lib/shopify_api.rb
+++ b/lib/shopify_api.rb
@@ -296,7 +296,7 @@ module ShopifyAPI
     self.prefix = "/admin/products/:product_id/"
     
     # generate a method for each possible image variant
-    [:pico, :icon, :thumb, :small, :medium, :large, :original].each do |m|
+    [:pico, :icon, :thumb, :small, :compact, :medium, :large, :original].each do |m|
       reg_exp_match = "/\\1_#{m}.\\2"
       define_method(m) { src.gsub(/\/(.*)\.(\w{2,4})/, reg_exp_match) }
     end
Support new :compact product image size variant