Ask a Question related to Macromedia ColdFusion, Design and Development.
-
billli #1
Why <CFDocument Format="PDF"> cannot display picture?
We just installed the ColdFusion MX 7.0 in the web server. We used tag
cfdocument with attribute fomat="pdf"
to convert HTML to PDF. The simple code is as the following. The text is
displayed correctly. However,
the jpeg file (or other kind of format image file) doesn't show. In
addition, in the developer server, both text and
image work well.
Could anybody provide some help or hints? It would be greatly
appreciated. Thanks.
<html>
<head></head>
<body>
<cfdocument format="pdf">
some words
<img src="picture.jpg">
</cfdocument>
</body>
</html>
Bill
billli Guest
-
Display the "reference to the picture name and path"
It would be a very helpful feature, if i could display the name and path to picture which is placed in the document (mainly on technical design, it's... -
cfdocument type="pdf" problem
We are running CFMX7 on a Windows 2003 Server w/SP1 installed. Server is 2-cpu Dell 2650. We have a page with 8 photo images on it. If I load... -
cfdocument format="flashpaper"
Does anyone know how to leverage the new <cfdocument> to bring up a flashpaper form that will display the new dynamic data grid feature in CFMX 7? ... -
create a cd-rom startup "icon-picture" from a bitmap (MAC)
Hi there, I know that there is a tool to create an icon from a bitmap, say *.jpg, whatever, actually this icon will consist of several icons fit... -
Problem with "saving" an enhanced photo from a picture CD
I am attempting to crop and enhance a photo from a picture CD from film I had processed at Costco. After I get the work done on the photo and try to... -
Tom Jordahl #2
Re: Why <CFDocument Format="PDF"> cannot display picture?
Is the picture accessible on the server - does your webserver log have
record of the request for it?
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
billli #3
Re: Why <CFDocument Format="PDF"> cannot displaypicture?
Thanks for your reply.
If I removed the cfdocument tag, the picture can display.
Also, I've checked the log files, no error message found for this page.
Here is the link [url]http://www.tad.org/bill/test/cfpdf/cfpdf.cfm[/url]
Bill
billli Guest
-
billli #4
Re: Why <CFDocument Format="PDF"> cannot displaypicture?
I set the picture's path as full path and used the IP address (ex. 127.0.0.1)
instead of domain name, it works now.
I'm not sure why we have to do like this, because if we don't use the tag
cfdocument, path can be in any form. Anyway, it's a way to get it work for us,
or maybe it's also helpful for others.
Bill
billli Guest
-
Rupesh Kumar #5
Re: Why <CFDocument Format="PDF"> cannot display picture?
Hi Bill,
We have seen this bug when there is a space in the image file name.
Could you please check if there is any space or any special character in the
filename.
If there is none, could you please send the exact snippet for the image tag
that is present inside cfdocument tag.
or any reproduction code that you can send.
Regards,
Rupesh.
"billli" <webforumsuser@macromedia.com> wrote in message
news:d21teb$b7e$1@forums.macromedia.com...>I set the picture's path as full path and used the IP address (ex.
>127.0.0.1)
> instead of domain name, it works now.
> I'm not sure why we have to do like this, because if we don't use the tag
> cfdocument, path can be in any form. Anyway, it's a way to get it work
> for us,
> or maybe it's also helpful for others.
>
> Bill
>
>
Rupesh Kumar Guest
-
jedimatt #6
Re: Why <CFDocument Format="PDF"> cannot displaypicture?
Hi,
Just to add to this if you do have spaces in your image name you can use the
URLEncodedFormat()
function to add %20 in the spaces.
I had a problem where certain images had spaces and this resolved the issues
using cfdocument in pdf and flashpaper formats.
Matt
jedimatt Guest



Reply With Quote

