Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    77
    Plugin Contributions
    0

    Default popup image not showing because of DIR_EXT_HTTP

    Hi,

    I'm having trouble getting my large pop-up images to appear correctly. The image does not appear, only a very small window appears. I looked at the code of the small window and it seems that the image directory is being replaced by "DIR_EXT_HTTP" like so:

    <a href="javascript:window.close()">
    <img width="150" height="0" title=" Abutilon chitendenii (Std.) - Click Image to Close " alt="Abutilon chitendenii (Std.) - Click Image to Close" src="DIR_EXT_HTTPAbutilon chitendenii.jpg">
    I had installed the external images mod which changes all instances of DIR_WS_IMAGES to DIR_EXT_HTTP. However, I decided not to use the mod and removed the code from my files. I have used the developers tool kit to search for DIR_EXT_HTTP but can not find it anywhere.

    Any suggestions would be appreciated.

    Bill

  2. #2
    Join Date
    Mar 2009
    Posts
    77
    Plugin Contributions
    0

    Default Re: popup image not showing because of DIR_EXT_HTTP

    OK, Problem solved. I'll post here in case someone else has trouble with this. It's so simple, I feel like a dummy. Apparently it's necessary to refresh these pop-up windows as well after changing code (f5 on keyboard, perhaps empty cache as well.) I spent at least two hours trying to find the answer in source code and all I needed to do is refresh. Oh Well! Wasn't the first time chasing rabbits and won't be the last. Onward!

  3. #3
    Join Date
    May 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: popup image not showing because of DIR_EXT_HTTP

    I realize this post is very old, but I'm having the opposite problem. I've made the modifications changing from DIR_WS_IMAGES to DIR_EXT_HTTP and it's working splendidly except in one regard. When the call is made through the JavaScript, it seems to be trying to call images from the "old" location (instead of the external location where they are actually located). Does anyone happen to know where I can modify the the location that the JavaScript is calling? I'm running Zen Cart 1.3.9h.

    Thanks so much,

    Jim Yarrow

    site reference: www.discounted-lighting.com

 

 

Similar Threads

  1. popup attribute - image not showing
    By RilKen27 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Nov 2009, 12:01 AM
  2. Larer image popup is medium image not large image
    By xtracool in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Mar 2009, 10:21 AM
  3. Popup image not centered in popup box
    By webbydeb in forum General Questions
    Replies: 5
    Last Post: 25 Oct 2008, 08:59 AM
  4. Replies: 1
    Last Post: 5 Oct 2008, 11:45 PM
  5. custom image popup script only work for main image, not for additional images
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Oct 2006, 05:19 AM

Bookmarks

Posting Permissions

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