Disassemble [-- PAGE.LinkGraphic --] to create custom path
Posted: Tue Jan 03, 2012 11:10 am
I've found that by having the "/store/" in the path to the images is causing the images on my site to fail to load.
so...
foo.com/store/media/ss_size3/image1.jpg
fails...but
foo.com/media/ss_size3/image1.jpg
works.
I've fixed this on the pages that list products by hard coding the path to be local.
<img src="/media/ss_size/[-- IMAGE PRODUCT.Graphic --]">
BUT on the pages that list other pages, I can't seem to break down the [-- PAGE.LinkGraphic --] tag so I can hardcode the path there.
Any help would be great!
thanks.
so...
foo.com/store/media/ss_size3/image1.jpg
fails...but
foo.com/media/ss_size3/image1.jpg
works.
I've fixed this on the pages that list products by hard coding the path to be local.
<img src="/media/ss_size/[-- IMAGE PRODUCT.Graphic --]">
BUT on the pages that list other pages, I can't seem to break down the [-- PAGE.LinkGraphic --] tag so I can hardcode the path there.
Any help would be great!
thanks.