It turns out I lost a frustrating day of development due to Dreamweaver not actually saving my changes to the server. *sigh* now that that is out of the way.. I have been working with the correct files. Now, in more detail I have a little quest that I am not sure how to arrive at.
Files I am working with: product_details.tpl and edit_image.tpl
edit_image.tpl is the key file for my needs.
I have .jpg thumbnails and .swf product images. For the customer, all is good. Now in the admin side I am still trying to have the .swf product image display at the same time as the .jpg thumbnail.
The script involved is:
Code:
{if $idtag eq ''}{assign var="idtag" value="edit_image"}{/if}
<img id="{$idtag}" src="{$xcart_web_dir}/image.php?type={$type}&id={$id}&ts={$smarty.now}{if $already_loaded}&tmp=Y{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{include file="main/image_property.tpl"}"/>
This bit of script displays both the thumbnail and the product image in the admin area when viewing product details.
I replaced this with this:
What happened is I lose the .jpg thumbnail and the .swf product image is what I see for both the thumbnail
and the product image.
I wish to be able to see both, lots of products are waiting to go in and I would like to be able to see both of these images.
So I see it as the script is made to display both the thumbnail and the product image.
I was wondering if the {$type} returns "
.jpg" (normally) .. if so I might be able to create a .swf / .jpg {if} statement based on type. ??
I would really appreciate any words.. I am a bit over my head (and as much as I love it and would find the answer.. time does not permit..) I am pretty much out of time!!
anyone!!?!?
-hroth