What do your image source look like? Like this?

<img src="dance-pcitures/2005-Bline.jpg">

If so, you just need to change it to:

<img src="/dance-pcitures/2005-Bline.jpg">


On 3/7/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
> Head scratcher...
>
> Ok, doing this:
>
> <cffunction name="onRequestStart" returnType="boolean" output="true">
>    <!--- Display our Site Header at top of every page --->
>    <cfinclude template="SiteHeader.cfm">
>   <cfreturn true>
> </cffunction>
>
> If I have a link with variable like
>
> images.cfm?year=2005
>
> This works exactly like it should. An image on the page will display
> correctly and the path is correct:
>
> dance-pictures/2005-BLine.jpg
>
> However, to help pages get indexed I've changed all my URL variables to
>   to look like:
>
> images.cfm/year/2005
>
> When I do that, view source looks OK on the page, but the path for the
> same image above is now showing as:
>
> images.cfm/year/dance-pictures/2005-BLine.jpg
>
> Which ain't right - it's including the full file name into the folder
> path. In fact, all paths on the page are now screwed and nothing
> displays correctly - so I just get an unstyled page of text and nothing
> else.  If I retype "images.cfm/year/2005" as "images.cfm?year=2005" in
> the address bar, all is right with the world again...
>
> Ideas of a fix?? This one is a little beyond my head scratching ability...
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234403
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to