While I'm solving the CDN image calls in xMenus, may as well solve the remaining image in xTreme that is not served vy the cdn.
for xMenus, see:
http://forum.x-cart.com/showthread.php?p=362638#post362638
If anyone is going to use xtReme with a CDN AND you want the images served from your cdn, you need to edit file:
/skin/xtreme_gear/customer/footer.tpl
FIND:
Code:
{if $xg_config.footer_secured ne ''}
<div class="footer-bottom-icons">
{$xg_config.footer_secured}
</div>
{/if}
REPLACE WITH:
Code:
{if $xg_config.footer_secured ne ''}
<div class="footer-bottom-icons" >{if $smarty.server.HTTPS eq "on"}{$xg_config.footer_secured}{else}
{$xg_config.footer_secured|replace:'img src="images':'img src="http://cdn.domain.com/images'}{/if}
</div>
{/if}
This traps for https.
Uses CDN if http. Else htps (not cdn)
Your paths may be different, but this is the general idea.
HTH
J