Re: Adding Flash Files
stevehh <[email protected]> 11 Sep 2003 21:02:25 -0000
| Newsgroups | gmane.comp.web.oscommerce.features |
|---|---|
| Message-ID | <6cb781f003c621496ea9066497df3e05@osCommerce-Forums> |
This message was sent from: Features http://forums.oscommerce.com/viewtopic.php?p=228076#228076 ---------------------------------------------------------------- [quote="johnnyosc"]Hello Guys, While surfing the message board I came across this post where u can add flash images all over your site, however part of it got cut off since it was an image link now disabled. I have cut and paste the instructions and will note where the link got broken, if anyone can fill in the blank it would help out alot. It's located after number Four below. johnny Kurt.. thanks for all your help.. just thought I'd let the group know that I've fixed it. For all you admins who wanna use flash images all over the site.. 1 - identify catalog/includes/functions/html_output.php 2 - copy the lines speaking to HTML Images starting with: // The HTML image wrapper function function tep_image 3 - make a duplicate of that section and in the duplicate rename tep_image to whatever you'd like.. i called it tep_flash_image 4 - now look for the section that reads $image = ' _____fill in this blank_______________________ 5 - change 'img' to 'embed' - now tep also supports anything html uses the embed tag for... includig midi sound (theoretically) 6 - FINAL step ... make sure that at each instance where you want to use your new function you have tep_whateveryoucalledit_image instead of just tep_image (which would call up the originbal function and not the modified one you just set up) p.s. - I cautiously also changed all instances of the expression $image to $flashimage.. but I don't think that matters any. Whew!! - no all i have to do is figure out why HTML e-mail isn't working and i'll be cruising.[/quote] Hello Johnny, I have all of this figured out so I can show Flash images when activating "click to enlarge", but I can't seem to get the popup to set the right size. I can show $height and $width and the values are correct, but the resize() function doesn't use them. Any help would be greatly appreciated. Steve