![]() |
Product Image Hack
Need some help here..
There is the smaller product thumbnail and the larger product image. (type "T" and type "P"). The larger "P" type is what I'm aiming to modify. I've been studying the product.tpl and product_thumbnail.tpl files. I've added the flash embed into product.tpl and it is displaying correctly, but with no image (flash) I replaced a product image with a .swf from the admin-area products. What I need is to get the scr variable into the embed script. Something like this: (which does not work) Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="335" height="427" id="test" align="middle"> when I view source I see: <embed src="" When I test this I see a blank flash embed. It's ready to work but I need to get the scr variable into the <embed src="scr variable" .. I don't know how .. but I have a feeling this is totally possible. -hroth |
Re: Product Image Hack
well I figured it out. I thought I'd share my solution.
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="335" height="427" id="test" align="middle"> -hroth |
All times are GMT -8. The time now is 01:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.