Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Flash Files


johnnyosc

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...

WOW...what a great topic to post on. I know that this is something that a lot of people using osC would like to take part in...question though. What should be done if only a few flash embedded movies are to be inserted, and not all? I would normally just use a little HTML and embed the .sqf file, but for some reason the movie never loads when doing this. I wish I could say that this is just my machine, but I have found this to be true on many different osC sites....

 

Any suggestions?

Thanks,

-Chris

Chris Sullivan

Link to comment
Share on other sites

  • 8 months later...
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.

 

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...