Results 1 to 5 of 5
June 17th, 2004, 01:51 PM #1
- Join Date
- January 17th, 2005
When I have my WM templates in a different folder above or below where pages get generated, images and links no longer work, how do I avoid this ?
June 17th, 2004, 01:56 PM #2
- Join Date
- January 18th, 2005
You need to make sure your template links point to the correct folder.
depending on where your folder is, relative to your webmerge template file
June 17th, 2004, 02:10 PM #3
I would also look at the type of path you are using to the images. Are they absolute paths, including the complete URL, or do they look like this?: ../images/thepic.gif or this?: /images/thepic.gif
Just remember, the images in the final page that gets built (written) on your hard drive, may work at your site. It all depends on what the path looks like.
June 17th, 2004, 02:15 PM #4
I just wanted to add, that I normally place the images in the same folder on both my local machine, and at the site, in order to make this consistent. For example, if the HTML file is written to C:\webwork\coolsitetwo\ I would put the images in a folder here: C:\webwork\coolsitetwo\images
Then at the site I would put the finished HTML here: http://www.coolsitetwo.com/ The images for these pages would be here: http://www.coolsitetwo.com/images
I use the following path statement: images/thepic.gif
This is just my way, some use absolute paths, some use relative.
Hope this helps.
June 19th, 2004, 07:41 AM #5
I had the same problem. Once I changed my paths from relative paths to absolute paths, my images all work.
On my template instead of saying:
I now put the complete url:
Hope that helps.
The big shots are only the little shots who keep shooting.
By msladybug in forum AffiliateManager.comReplies: 24Last Post: May 4th, 2008, 11:20 PM
By cowcool in forum Commission Junction - CJReplies: 3Last Post: July 2nd, 2002, 05:59 PM