| Author |
Message |
Bullfrog
Joined: 20 Apr 2009
Posts: 3
|
Posted: Apr 20, 2009 03:31pm Post subject: Images not displaying on all pages |
|
|
I am having troubles figuring out what's going on with my pages here. I have the exact code on all of my pages yet some of the images aren't showing up in the product and category pages. [http://www.modularmerchant.com/clients/xboxrefurbished/storefront.php]. Any suggestions would be greatly appreciated.
Bullfrog  |
|
Mail Bag

Answering Your Questions Since... 9:30am
Joined: 28 Aug 2005
Posts: 198
|
Posted: Apr 21, 2009 08:25am Post subject: |
|
|
Provide a sample of the <img> tag that isn't displaying properly on certain pages. This will help a technician know what to look for. Thanks! _________________ Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming. |
|
Bullfrog
Joined: 20 Apr 2009
Posts: 3
|
Posted: Apr 21, 2009 09:29am Post subject: |
|
|
| img src="img/graphics/default/paypal-logo2.jpg" width="130" height="110" missing the < > in order to allow code to be visible. |
|
Mail Bag

Answering Your Questions Since... 9:30am
Joined: 28 Aug 2005
Posts: 198
|
Posted: Apr 21, 2009 03:39pm Post subject: |
|
|
Hello,
If an HTML template includes links to images that are outside of the Design Package's directory, then the recommended workaround is to use the global path to the image in the <img> tag.
For example,
<img src="img/graphics/default/paypal-logo2.jpg" width="130" height="110">
would be changed to:
<img src="http://www.modularmerchant.com/clients/xboxrefurbished/img/graphics/default/paypal-logo2.jpg" width="130" height="110">
The software that renders the store's HTML templates is also designed to look for an image first within the "images" directory in the store's live Design Package. For example, if the "paypal-logo2.jpg" image is located in the live Design Package's "images" directory, then the path in the <img> tag could be something like this:
<img src="images/paypal-logo2.jpg" width="130" height="110">
More information on the directory structure of Design Packages, HTML templates and images is available starting on page 10 of the Design Guide available at: http://www.modularmerchant.com/docs/Design_Guide_MMv3.pdf
I checked the sample URL provided in the previous post, and it looks like the image path has been updated and is now displaying correctly. Let us know if you have any other questions. _________________ Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming. |
|
|