Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    help question Flash swf files as product images

    a couple of my products are animated hats, so I'd like to show 2 images on the product information page and maybe the pop-up as well - one static image, and one animated swf file. However, the only information I can find on adding Flash to Zen Cart is in reference to the header. While I've gotten the hang of the basics, I am relatively new to php and Zen Cart, so I'm uncertain what I need to do to accomplish this. If there's a roadmap out there, I'd be grateful for any assistance...Thanks!

  2. #2
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Flash swf files as product images

    Quote Originally Posted by TracNez411 View Post
    a couple of my products are animated hats, so I'd like to show 2 images on the product information page and maybe the pop-up as well - one static image, and one animated swf file. However, the only information I can find on adding Flash to Zen Cart is in reference to the header. While I've gotten the hang of the basics, I am relatively new to php and Zen Cart, so I'm uncertain what I need to do to accomplish this. If there's a roadmap out there, I'd be grateful for any assistance...Thanks!
    *****************************************************

    After submitting this question, I received a forwarded post from last month on the same issue. As of that post, swf wasn't possible without significant work. SO, I'd like to alter my question - What about animated gifs? or rotating images in javascript?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Flash swf files as product images

    Quote Originally Posted by TracNez411 View Post
    What about animated gifs?
    Since an animated gif is essentially just another .gif file, it'll work automatically just by uploading the animated .gif as the image.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Flash swf files as product images

    Quote Originally Posted by DrByte View Post
    Since an animated gif is essentially just another .gif file, it'll work automatically just by uploading the animated .gif as the image.
    That's what I thought. But I haven't explored it too much because when I tried loading it normally it took forever and still didn't load.

    No bother though, I literally just finished loading what I needed. On a hunch, I created a separate HTML page, imported my Flash file into it, then copied the entire page code to the Product Description in the admin panel. With that, I'm able to easily dictate the size of the flash window, add additional content and still have the static image blow up to full size in the Pop-up. Best of both worlds, and absolutely no work in database or original zen cart files. It was all loaded in the Admin panel. EASY!

    Thanks for the reply!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Flash swf files as product images

    Yes, that'll work. Just be sure to NOT paste any HEAD/HTML/BODY tag codes etc into your product description. You *only* want the stuff that normally goes *between* the BODY and /BODY tags. Anything outside that will cause you trouble because Zen Cart auto-generates all the other stuff.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Flash swf files as product images

    That's what I figured, as it's how I entered other Main page info. However, in this case I just dumped it all in to start with and figured I'd edit it once I had it in the admin panel. When it worked, I went with it. However, I will clean out the unnecessary code now that you bring it up.

 

 

Similar Threads

  1. Flash .swf vs. JavaScript for rotating images
    By aajc in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Sep 2010, 12:21 AM
  2. How to put a .swf Flash video on individual product pages?
    By aroab in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 19 Apr 2009, 08:59 PM
  3. What would be involved to upload a flash swf file as a product image
    By arica in forum Customization from the Admin
    Replies: 2
    Last Post: 19 Aug 2008, 03:33 AM
  4. using swf files for product images
    By digz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Jul 2007, 11:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg