Forums / Templates, Stylesheets, Page Layout / popup image not showing because of DIR_EXT_HTTP

popup image not showing because of DIR_EXT_HTTP

Started by lndlyb4 on 6 Dec 2011, 7:55 PM · Views: 691

Results 1 to 3 of 3
6 Dec 2011, 7:55 PM
#1
lndlyb4 avatar

lndlyb4

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

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

6 Dec 2011, 8:29 PM
#2
lndlyb4 avatar

lndlyb4

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

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!

24 Jun 2012, 5:00 AM
#3
jyarrow avatar

jyarrow

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

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: https://www.discounted-lighting.com