So after searching the docs, I found out that you have to do two things to
embed an image to a PDF with CFDUCUMENT.
1. Set the localUrl variable to Yes
2. Use the path to the image relative to the file accessing it. Since my image
is in the Images folder, my code was ing src=Images/logo.png /
I have done the following:
http://www.makeaherodonations.com/Images/Logo.png
Neither that URL nor this one:
(http://www.makeaherodonations.com/images/site/logo_print.png)
Actually pull up an image through a browser. They give 404 errors.
Can you access that url from browser on server?
Regards
Russ Michaels
On Sep 13, 2012 2:18 PM, John Drake char...@ohmss.info wrote:
I have done the following:
http://www.makeaherodonations.com/Images/Logo.png
Neither that URL nor this one:
Ok, so what is the url to the image that actually works in your browser
and what is the webroot for your server and the document root for that
particular site?
On 9/13/12 6:17 AM, John Drake wrote:
I have done the following:
http://www.makeaherodonations.com/Images/Logo.png
Neither that
Here is what is weird;
If you go to http://www.makeaherodonations.com/test.cfm you see the logo.
If you go to http://www.makeaherodonations.com/Images/Logo.png you get a 404
error.
The IMG SRC is Images/Logo.png. I am at a loss. It seems that if a file is
there when you browse to it you
Lowercase l:
http://www.makeaherodonations.com/Images/logo.png
Try img src=/Images/logo.png/ in your PDF.
On 9/13/12 9:37 AM, Bruce Sorge wrote:
Here is what is weird;
If you go to http://www.makeaherodonations.com/test.cfm you see the logo.
If you go to
I notice on the 404 page it says
HandlerColdFusion-wildcard
which means that the coldfusion handler is processing the request for the
image, which seems like the likley cause.
try disabling the cf handler briefly just to see if this fixes the problem
to the png image displaying a 404.
On Thu,
How do I do that?
On Sep 13, 2012, at 10:57 AM, Russ Michaels r...@michaels.me.uk wrote:
I notice on the 404 page it says
HandlerColdFusion-wildcard
which means that the coldfusion handler is processing the request for the
image, which seems like the likley cause.
try disabling the cf
open the iis MMC, select your site, choose handlers, remove the wildcard
handler for CF
or run the wsconfig tool and use that to disable cf on the whole server
On Thu, Sep 13, 2012 at 6:04 PM, Bruce Sorge sor...@gmail.com wrote:
How do I do that?
On Sep 13, 2012, at 10:57 AM, Russ
Im on a MAC
On Sep 13, 2012, at 12:04 PM, Russ Michaels r...@michaels.me.uk wrote:
open the iis MMC, select your site, choose handlers, remove the wildcard
handler for CF
or run the wsconfig tool and use that to disable cf on the whole server
On Thu, Sep 13, 2012 at 6:04 PM, Bruce
I can;t help you with MAC, but the url you sent earlier showed an IIS error
page.
On Thu, Sep 13, 2012 at 7:20 PM, Bruce Sorge sor...@gmail.com wrote:
Im on a MAC
On Sep 13, 2012, at 12:04 PM, Russ Michaels r...@michaels.me.uk wrote:
open the iis MMC, select your site, choose
As someone else pointed out, if you got to:
http://www.makeaherodonations.com/Images/logo.pnghttp://www.makeaherodonations.com/Images/Logo.png
the
image loads fine. It appears the server is case-sensitive.
On Thu, Sep 13, 2012 at 11:37 AM, Bruce Sorge sor...@gmail.com wrote:
Here is what is
Yeah, that is the live server and I have no control over that. My testing
server does the same thing and it's a MAC
Bruce
On Sep 13, 2012, at 12:24 PM, Russ Michaels r...@michaels.me.uk wrote:
I can;t help you with MAC, but the url you sent earlier showed an IIS error
page.
Well I am narrowing it down to the live server. I drug and dropped the image
onto the code and put in the alternate text as well as a hyperlink attribute
and ran it and I got the image on my machine. Loaded it up to the live server
and I get the outline and alternate text on the PDF but not
What tag do you have in the HTML to generate your PDF now?
On 9/13/12 11:37 AM, Bruce Sorge wrote:
Yeah, that is the live server and I have no control over that. My testing
server does the same thing and it's a MAC
Bruce
On Sep 13, 2012, at 12:24 PM, Russ Michaels r...@michaels.me.uk
cfdocument format=PDF filename=Voucher.pdf overwrite=Yes
On Sep 13, 2012, at 12:49 PM, .jonah jonah@creori.com wrote:
What tag do you have in the HTML to generate your PDF now?
~|
Order the Adobe Coldfusion
Im on a MAC
Your web server is running IIS 7.5. You need to do this from the
console of your web server.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest
Aahh, OK. And then the HTML code in that that's used to generate the
content of the PDF? (Well, just the img tag in question.)
On 9/13/12 11:52 AM, Bruce Sorge wrote:
cfdocument format=PDF filename=Voucher.pdf overwrite=Yes
On Sep 13, 2012, at 12:49 PM, .jonah jonah@creori.com wrote:
img src=Images/logo.png width=413 height=87 alt=Make a Hero.org /
On Sep 13, 2012, at 1:44 PM, .jonah jonah@creori.com wrote:
Aahh, OK. And then the HTML code in that that's used to generate the
content of the PDF? (Well, just the img tag in question.)
On 9/13/12 11:52 AM, Bruce
See if
img src=/Images/logo.png width=413 height=87 alt=Make a Hero.org /
works...
On 9/13/12 1:42 PM, Bruce Sorge wrote:
img src=Images/logo.png width=413 height=87 alt=Make a Hero.org /
~|
Order the Adobe Coldfusion
No joy. This is so frustrating.
On Sep 13, 2012, at 3:30 PM, .jonah jonah@creori.com wrote:
See if
img src=/Images/logo.png width=413 height=87 alt=Make a Hero.org /
works...
On 9/13/12 1:42 PM, Bruce Sorge wrote:
img src=Images/logo.png width=413 height=87 alt=Make a
it has to be something with the server because in design view in DW I see the
logo fine, and when I create the PDF on my laptop which is my dev machine the
PDF has the logo fine. Just not on the live site.
Bruce
On Sep 13, 2012, at 3:30 PM, .jonah jonah@creori.com wrote:
See if
img
It's been a few years since I had to do this last, so I don't remember
exactly how cfdocument resolves paths. Maybe look at the coldfusion
mappings.
If you set a mapping from the server file path to /Images maybe
something like that will work.
On 9/13/12 3:59 PM, Bruce Sorge wrote:
No joy.
So I have a page that every day queries a db for new voucher registrations. I
am using CFDOCUMENT to create a PDF for the voucher, then CFMAIL to attach the
voucher to an email. Problem is that I cannot get the companies logo image to
appear on the PDF. I am using the folllowing code:
you should reference the image locally, e.g.
image src=images/bird.jpg
On Wed, Sep 12, 2012 at 10:09 PM, Bruce Sorge sor...@gmail.com wrote:
So I have a page that every day queries a db for new voucher
registrations. I am using CFDOCUMENT to create a PDF for the voucher, then
CFMAIL to
That does not work either
Bruce
On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote:
you should reference the image locally, e.g.
image src=images/bird.jpg
~|
Order the Adobe Coldfusion Anthology
you use proper img tag and not Russ's mysterious image one, right?
On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge sor...@gmail.com wrote:
That does not work either
Bruce
On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote:
you should reference the image locally, e.g.
Yes I did.
On Sep 12, 2012, at 5:29 PM, Azadi Saryev azadi.sar...@gmail.com wrote:
you use proper img tag and not Russ's mysterious image one, right?
~|
Order the Adobe Coldfusion Anthology now!
And actually make the path absolute to the app root:
img src=/images/site/logo_print.png alt=#siteName# name=logo/
On 9/12/12 2:16 PM, Russ Michaels wrote:
you should reference the image locally, e.g.
image src=images/bird.jpg
On Wed, Sep 12, 2012 at 10:09 PM, Bruce Sorge
I have done the following:
http://www.makeaherodonations.com/Images/Logo.png
C:\pathtoimage (I put the actual path but I won't put it on a public forum.
Images/Logo.png
No joy. I'll have to dig deeper into Google I guess.
On Sep 12, 2012, at 5:41 PM, .jonah jonah@creori.com wrote:
And
haha!! I actually copied that from the CF livedocs, so it is Adobe that
made that typo :-)
On Thu, Sep 13, 2012 at 12:29 AM, Azadi Saryev azadi.sar...@gmail.comwrote:
you use proper img tag and not Russ's mysterious image one, right?
On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge
31 matches
Mail list logo