Modular Merchant: Shopping Cart Software

Shopping Cart Software Service

Advanced SearchAdvanced Search RegisterRegister ProfileProfile FAQFAQ MemberlistMemberlist Log inLog in
Images not displaying on all pages
Post new topic   Reply to topic
Modular Merchant Forum Index -> Design: Templates & QuickCode Tags
Author Message

Bullfrog




Joined: 20 Apr 2009
Posts: 3


PostPosted: Apr 20, 2009 03:31pm    Post subject: Images not displaying on all pages Reply with quote

Confused 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 Question

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Apr 21, 2009 08:25am    Post subject: Reply with quote

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


PostPosted: Apr 21, 2009 09:29am    Post subject: Reply with quote

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


PostPosted: Apr 21, 2009 03:39pm    Post subject: Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    Modular Merchant Forum Index -> Design: Templates & QuickCode Tags All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group