Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Additional images popup and jquery

    I've run into a problem when I combine mobile jquery with the additional images popup - getting an error of:

    Resource interpreted as Image but transferred with MIME type text/html

    The image does appear briefly in firefox and then displays a broken path:
    products_image_large_additional=images/microsoft/images/microsoft/imexplorer_A37.gif
    doubles the DIR_WS_IMAGES in other words.

    The jquery gurus (all over everywhere) keep saying this isn't a jquery issue but the error does not appear in the default zen cart.

    "That means that your server didn't set the correct MIME type for the image. It should have been image/gif."

    This can't be a server issue but I don't see how the php code can be at fault either.

    Any one got any idea of what could be happening at this one spot? There are no other issues with any images otherwise.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Additional images popup and jquery

    What's in your configure file?
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional images popup and jquery

    It's not the configure file - it all works otherwise. If I open it up in a blank page, it's fine. It's only when I open it up inside the page, that it goes haywire.

    This is in the mobile template - my last bug to fix for the new version. Will send link if you want to look.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Additional images popup and jquery

    I was thinking maybe you named the images directory twice, on in configure and once in the jQuery, but if it works on a blank page.... then seems to me you will need to create a new location string for the jQuery function specifically
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional images popup and jquery

    Yeah, well, don't know how. I'm going to play with the php first and see if I can come up with a work-around since I have a better grasp of all the bits involved now.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  6. #6
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional images popup and jquery

    OMG, I got it to work. (hours later)

    I bypassed the additional image pop up file code completely and used only the module additional images file - just added one bit of code in the right place! All of that extra code was to be able to use a separate file to popup. A simple and elegant change - removing a lot of code from the cart!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

Similar Threads

  1. Additional images not showing in popup
    By wj694 in forum General Questions
    Replies: 8
    Last Post: 17 Apr 2013, 06:48 PM
  2. Additional images jquery mini-slider --- is it possible?
    By Invizix in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 Sep 2012, 12:48 PM
  3. changing popup windows for additional images?
    By cchan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Dec 2010, 06:21 AM
  4. Adding JQuery Lightbox to additional images
    By chillout_buddha in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Apr 2009, 02:49 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