diff --git a/core/lib/Thelia/Core/Template/Loop/Image.php b/core/lib/Thelia/Core/Template/Loop/Image.php
index 6a3dbfee1..a62f23702 100755
--- a/core/lib/Thelia/Core/Template/Loop/Image.php
+++ b/core/lib/Thelia/Core/Template/Loop/Image.php
@@ -93,7 +93,8 @@ class Image extends BaseI18nLoop
new EnumType($this->possible_sources)
)
),
- Argument::createIntTypeArgument('source_id')
+ Argument::createIntTypeArgument('source_id'),
+ Argument::createBooleanTypeArgument('force_return', true)
);
// Add possible image sources
diff --git a/templates/default/index.html b/templates/default/index.html
index 36207f5e0..b762df42f 100644
--- a/templates/default/index.html
+++ b/templates/default/index.html
@@ -40,7 +40,7 @@
{ifloop rel="image_product_new" }
@@ -99,7 +99,7 @@
{ifloop rel="image_product_promo" }
diff --git a/templates/default/product.html b/templates/default/product.html
index 329f674cd..2a7e81bc4 100644
--- a/templates/default/product.html
+++ b/templates/default/product.html
@@ -23,8 +23,7 @@
- {lang attr="id"} {lang attr="title"}
- {loop type="image" name="image.main" product="{$ID}" width="560" height="445" resize_mode="borders" limit="1" force_return="true"}
+ {loop type="image" name="image.main" product="{$ID}" width="560" height="445" resize_mode="borders" limit="1"}
{/loop}
@@ -33,10 +32,10 @@