View Single Post
  #4  
Old 08-06-2007, 01:32 PM
  hrothbeorht's Avatar 
hrothbeorht hrothbeorht is offline
 

Senior Member
  
Join Date: May 2007
Posts: 156
 

Default Progress made - a wee Update (still unsolved)

Well.. I've been able to turn up more of the puzzle.
here is product_thumbnail.tpl:
Code:
{if $config.Appearance.show_thumbnails eq "Y"} <img{if $id ne ''} id="{$id}"{/if} src="{if $tmbn_url}{$tmbn_url}{else} {if $full_url}{$http_location}{else} {$xcart_web_dir}{/if} /image.php?type={$type|default:"T"}&amp;id={$productid}{/if} "{if $image_x ne 0} width="{$image_x}"{/if} {if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" />{/if}
it returns:
http://www.website.ca/shop/images/P/flash_img.swf
I need it to return:
http://www.website.ca/shop/images/T/storm_1.jpg

This isn't really progress.. just that I'm learning that when I force in some stuff without doing it correctly (dynamically with smooth happy logic) I end up with more glitches that keep spilling out.

So, in the first post I kind of "forced" flash in. I'd really like to have preserved the code that is there. I hope to have the "P" product image and "T" thumbnail image stay correct. The way I have done it, I've messed things up.
I see that product_thumbnail.tpl is where that broken image is. So, in looking and my messy hack job and now knowing exactly what image is "broken" I hope some kind soul can help!

-hroth
__________________
x-cart- 4.1.10
www.boutiquefinn.ca
Reply With Quote