Web Hosting Talk







View Full Version : Design browser problem


adamlug
02-10-2008, 12:08 PM
i have a website, that was until recently fine on both IE and Firefox. In the last day or two, however, it appears that it is only working properly on firefox. On IE all my pictures and images are missing. Would anyone know how to fix this? If so could you give me some pointers please. Thanks.

PCTechMe
02-10-2008, 12:41 PM
i have a website, that was until recently fine on both IE and Firefox. In the last day or two, however, it appears that it is only working properly on firefox. On IE all my pictures and images are missing. Would anyone know how to fix this? If so could you give me some pointers please. Thanks.

Try it from someone else's IE browser first to see if it is only you.

adamlug
02-10-2008, 12:43 PM
the same problem persists from others computers too

PCTechMe
02-10-2008, 01:26 PM
I don't want to stray off topic so ths will be my last post on your subject adamlug. You should create a new topic for your issue.

Have you specified your images in your html or css?
If yes, are they in pixels (px)?
If not in pixels are they specified as a percentage?
If they are a percentage, try changing them to pixels.

Lastly try to load the image directly. Example http://www.yourdomain.com/images/myimagethatwontshow.jpg

anon-e-mouse
02-10-2008, 05:54 PM
Split from other thread :)

WebDesignGold
02-10-2008, 06:16 PM
A URL would help us help you. Have you, or anyone else, made any changes that may've caused the issue? if it's working on FF, that means the images are in place. But try to clear you browser cache as the images showed in FF may come from the browser's cache and not from the server. Meaning your site may not be working in neither IE nor FF.

ThatScriptGuy
02-12-2008, 01:29 AM
Hey guys - The URL to the site in question is

http://worldflies.com

I recently migrated all of my clients' sites (adamlug is a client of mine) to a cPanel server. Everyone's sites are working great, save for this oscommerce store.

Now, originally, product images were not working either. For anyone who has worked with oscommerce before, you know that the image directory is defined by a line in configure.php, and looks like this:

define('DIR_WS_IMAGES', 'images/');

HOWEVER, after moving this site to the cPanel server, the product images weren't working. Looking at the code, it was trying to pull the images from /images and it wasn't working. I had to change the line to read

define('DIR_WS_IMAGES', 'http://worldflies.com/images/');

just to get the product images working again. This is just masking the larger issue, though, which is the fact that the define line worked fine on the plesk machine, but for some reason does not work on the cPanel one..

Now can anyone give some advice?

Thanks,
Kevin

BurakUeda
02-12-2008, 02:16 AM
IE cannot understand this format in URLs:
./templates/Original/images/

You should change all the URLs to the full ones like:
http://worldflies.com/templates/Original/images/

Also your CSS link to:
<link rel="stylesheet" type="text/css" href="http://worldflies.com/templates/Original/stylesheet.css">

ThatScriptGuy
02-12-2008, 01:24 PM
That's just not true. First of all, the problem didn't start occurring until the move to a cPanel server, so I can only guess that the move is a cause of the problems.

Secondly, even WHT here links to their stylesheet and images using img src="imgname"

The problem, from what I can tell, is this: The code on the page says <img src="templates/Original/images/image.gif"> which works perfectly on all browsers but IE (and it used to work on IE a week ago). Now however, when you load up the page in IE, the image doesn't load. If you right click the image that isn't loading and go to properties, IE is trying to load the image from http://templates/Original/images/image.gif

That explains WHY the images aren't loading...The issue is: How do I fix it?

ThatScriptGuy
02-12-2008, 01:34 PM
Well - Figured it out. For some reason, the base href line wasn't working anymore. Removed it and the site is working again.

Thanks for your advice guys..

kids
02-12-2008, 07:56 PM
But has adamlug (http://www.webhostingtalk.com/member.php?u=192371) solved this proplem? Dont see his reply!

Where your url which get error?

ThatScriptGuy
02-12-2008, 07:57 PM
Please read the thread before replying.

Adamlug is a client of mine.

kids
02-12-2008, 08:05 PM
Please read the thread before replying.

Adamlug is a client of mine.

Oops, sorry! :blush:

Swelly
02-12-2008, 08:56 PM
Subscribed. Can't wait to see where this goes. Never ever heard of a control panel switch causing an error like that. Hope you find what you're looking for.

IntraHost-Greg
02-12-2008, 09:42 PM
Subscribed. Can't wait to see where this goes. Never ever heard of a control panel switch causing an error like that. Hope you find what you're looking for.

I don't think you read the thread either.

Swelly
02-12-2008, 10:44 PM
Can someone help me find my head??? Kuiper41 bit it off because I didn't realize the OP found his problem.

Damn, man tone it down a notch cool guy :P

IntraHost-Greg
02-12-2008, 10:47 PM
I don't think I really bit your head off, was just making an observation.

Swelly
02-12-2008, 10:49 PM
I don't think I really bit your head off, was just making an observation.

Riiiight!


To the OP. Glad you found your issue. When I saw that control panel switch, I was really curious as to if that was actually the problem....guess not :) Nonetheless, glad its working for you!

n1tr0
04-19-2008, 01:41 PM
I don't get it Kcackler, the href wasnt wrkng right???
I have this problem but still cant find a solution. Please read my post "PICS IN BERMUDA TRIANGLE!!!" if and when u get a chance...thanks