CF7 cfdocument issue with stylesheet and images

15 views
Skip to first unread message

Kristin Gitler

unread,
Jul 2, 2012, 12:38:35 PM7/2/12
to cfu...@googlegroups.com

Hi All,

 

I have an application that creates a pdf using CFDocument, (CF 7.2).  The application has been in use for several years, and up until today, I was able to include the stylesheet using a normal link tag, and the image using a normal image tag.  Now suddenly today, it won’t read the stylesheet or the image.

 

I have tried the workarounds I have found in a Google search for the images – (using file:///#ExpandPath(file)#, and also using a udf & java to get the image, and neither of these work – any suggestions?

 

For the stylesheet, I put the styles inline, and that works – but why the sudden change?  What might have changed to cause this to break all of a sudden?

 

The usual call to create the pdf is with an https url, in an admin area that is protected (and the image and stylesheet are not), but I also tried it moving the code to the non-https url, in case that was causing issues, but it had no effect.

 

The image is on the same server/domain as the code that calls the cfdocument tag, it is not external.

 

If I comment out the cfdocument tag, the html page that is returned looks fine – image & styles are there.

 

So I’m guessing I have to ask the host to make some change, but I’m not really clear on what that is … ?

 

Thanks,

 

Kristin Gitler

 

Reply all
Reply to author
Forward
0 new messages