ok this is what i did, maybe not the best way, but it works fine for me on 4.0.14......
edit customer/main/product.tpl
around line 158 find -
Code:
{include file="customer/main/send_to_friend.tpl" }
{if $active_modules.Detailed_Product_Images ne ""}
{include file="modules/Detailed_Product_Images/product_images.tpl" }
{/if}
change to:
Code:
{if $active_modules.Detailed_Product_Images ne ""}
{include file="modules/Detailed_Product_Images/product_images.tpl" }
{/if}
{include file="customer/main/send_to_friend.tpl" }