Disassemble [-- PAGE.LinkGraphic --] to create custom path

Questions and answers about ShopSite Custom Templates

Disassemble [-- PAGE.LinkGraphic --] to create custom path

Postby GregDilley » 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.
GregDilley
 
Posts: 14
Joined: Tue Mar 29, 2011 4:16 pm

Re: Disassemble [-- PAGE.LinkGraphic --] to create custom pa

Postby GregDilley » Tue Jan 03, 2012 1:54 pm

Figured it out....

[-- IMAGE PAGE.LinkGraphic --]
gets me "media/imagename.jpg"
GregDilley
 
Posts: 14
Joined: Tue Mar 29, 2011 4:16 pm

Re: Disassemble [-- PAGE.LinkGraphic --] to create custom pa

Postby Jim » Tue Jan 03, 2012 2:30 pm

If the authorization file for your store has the /store/ in it then things should work just fine. If they are not working correctly then something is wrong with the install for your store. The files may have been moved without fixing appropriate settings so the paths are no longer correct. Although changing the way you access the images may work, there may be other things such as javascript that could fail.

You should have your host review the configuration of your store to ensure that it is correct.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Disassemble [-- PAGE.LinkGraphic --] to create custom pa

Postby GregDilley » Tue Jan 03, 2012 2:42 pm

Thanks Jim.

I believe you were helping with the issue via the site owner.
littlechoux.com

I tried endlessly to get the host to resolve it but after 3 weeks of mindnumbing replies I gave this a try and it worked.

In the meantime I hope they continue to find a true resolution to the problem.
GregDilley
 
Posts: 14
Joined: Tue Mar 29, 2011 4:16 pm


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 12 guests