Hi Matthew,

Seems like an odd error in that the requests for the images are made at the server side. It should not matter what browser you're using.

Do you have any browser dependent logic as far as producing the pdf goes?

Andy

Matthew Reinbold wrote:
Working with this a bit more this evening I was able to recreate the
problem on Chrome on Windows (Chrome is also a webkit based browser,
same as safari). On my test page normal images are working just fine.
However, its the dynamically produced images that, for some reason on
webkit based browsers, are being lost in the pdf creation.

To dynamically produce images the<img>  tags have a source attribute
that points to a cfc along with an image id; something similar to:
http://[mysite]/image.cfc?method=render&imageID=123456

The called method has its output="true". It does some processing and,
at the very end of the function it has the following:

<cfsetting enablecfoutputonly="true" />
<cfcontent reset="true" type="image/jpg"><cfoutput>#toString(bData)#</
cfoutput>

As I stated before, for some reason when the pdf is rendered in
firefox or IE8 the image appears. However, something is happening with
Chrome, Safari, and the way CFDocument is being used to cause the
images not to appear.

Any ideas?


--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en

!! save a network - please trim replies before posting !!

To unsubscribe from this group, send email to openbd+unsubscribegooglegroups.com or reply 
to this email with the words "REMOVE ME" as the subject.

Reply via email to