The images that are not showing are on this page: http://chscrapbooks.com in the sidebar of the blog. I do not know why they are not showing. Can anyone help?
The images that are not showing are on this page: http://chscrapbooks.com in the sidebar of the blog. I do not know why they are not showing. Can anyone help?
Aha ... the links are generated properly using HTTP_SERVER settings, but the images are generated "relative" to the page you're on, and since your script is running inside the "store" folder (ie: /store/specials_sb.php ) it's only generating paths like "images/myimage.jpg" instead of "store/images/myimage.jpg"
You'll likely have to play with your DIR_WS_IMAGES setting, which defaults to this:Perhaps add to the top of your specials_sb.php file an override that says this:Code:define('DIR_WS_IMAGES', 'images/');Do similarly for your other *_sb.php scripts.Code:define('DIR_WS_IMAGES', 'store/images/');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.