Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Configuration for IE


SpiceUp

Recommended Posts

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.My-Domain.com');		
 define('HTTPS_SERVER', 'http://www.My-Domain.com');
 define('ENABLE_SSL', true);			// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'My-Domain.com');
 define('HTTPS_COOKIE_DOMAIN', 'secure.My-Domain.com');
 define('HTTP_COOKIE_PATH', '/Whatever/catalog/');
 define('HTTPS_COOKIE_PATH', '/Whatever/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/Whatever/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/Whatever/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/username/public_html/Whatever/catalog/');
 define('DIR_WS_IMAGES_EXTRA', 'images/images_extra/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

My store has been up and running for a few years now.

I recently noticed that my site was loading slow in IE, all other browsers are working fine

 

After talking to Support at my hosting company I was told

 

“”The images are being loaded using the full url instead of the absolute or relative path in the coding. You are going to need to consult the oscommerce documentation on how to use relative/absolute paths rather than the url when pulling the images.

There should be a configuration change which will have to be made to do this.

Once you make this change, the issue with IE and the apache flooding should not

longer exist.”””

 

quick search on Google for configuration changes did not help

 

Can one of you experts help me?

 

Thanks

Link to comment
Share on other sites

Don't believe everything you hear...

:huh:

 

If you ask me it's because you're using the same image for the product listing and the "click to enlarge", you're just forcing the browser to scale the image down to 1/3 size in the listings.

 

I would think if you used a thumbnail for the product listing you'd see a vast improvement.

 

Now that being said, I'm not familiar with any of the thumbnail contributions so I can't suggest any...

:(

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Good job.

 

It loads faster.

;)

 

You might also turn on gzip compression in your admin (if it isn't on now).

 

I did a long time ago and saw a big improvement.

 

gzip compression thread

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...