I wasn't able to get Option images to actually display any images. After poking around with firebug, I found that the URL being called was wrong, it was calling: node/sites/default/files/option-images/green.gif

The image is at sites/default/files/option-images/green.gif. Any idea how to remove the node/ ?

Comments

mrtoner’s picture

From the project page: "Visit admin/store/settings/attributes for configuration. If you are having troubles displaying or switching images consult README.txt for theme help." Also, are you sure your file system path is correct?

cog.rusty’s picture

A front slash is needed in your img src="/
This is a price you have to pay for using clean URLs (without ?q=).

If your site is on a subdirectory path (http://example.com/drupalsite) then that path would be needed too.

In php code, all this is covered by base_path() . $your_relative_path

tika’s picture

I'm having a similar problem. My option images load ok when clicking but it's the larger image image which is supposed to open in Lightwindow, however; the wrong path is referenced. If anyone can help it would be much appreciated.