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:
Code:
define('DIR_WS_IMAGES', 'images/');
Perhaps add to the top of your specials_sb.php file an override that says this:
Code:
define('DIR_WS_IMAGES', 'store/images/');
Do similarly for your other *_sb.php scripts.