--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/b606dfef-970b-49e7-9e9a-b1dfb5930446%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes I have verified that the image is on the server. the file structures on both servers are identical.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/bd8bca33-a632-41ff-84f9-1c1b4da7fc62%40googlegroups.com.
I just checked with the developer on this. (I didn't develop the application we are just the hosting company) the images are dynamically driven based on the company logo of the item one. What is extremely strange is that it generates it properly and correctly with the logo and everything on one page on Web1. The developer and client is convienced that it is a server issue. I have however confirmed that they instance of railo that they are running on are the same. it just doesn't make sense.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/d9e8bc8f-1e8f-466c-b33b-2281ce58df4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I just checked with the developer on this. (I didn't develop the application we are just the hosting company) the images are dynamically driven based on the company logo of the item one. What is extremely strange is that it generates it properly and correctly with the logo and everything on one page on Web1. The developer and client is convienced that it is a server issue. I have however confirmed that they instance of railo that they are running on are the same. it just doesn't make sense.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/d9e8bc8f-1e8f-466c-b33b-2281ce58df4a%40googlegroups.com.
ok so i think we are on the right track. question - is the only style dimensions "mm" or can "px" be used instead.
When i put in the styling with width: 32mm and height 5mm with my calculated differences of px to mm the page is rendered on one page but the image still doesn't show up.
i have verified that the data coming back form the database is giving the correct url as well.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/6e352b78-a2e8-4a3b-9463-245eed81d8b4%40googlegroups.com.
here is their orginal code except i did add the mm for the image demensions.
<cfdocument filename="#filename#" format="pdf" overwrite="yes" localUrl="yes">
<table width="700" border="0" align="center" style="margin-top:10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
<tr>
<td align="center"><cfoutput><img src="#logoURL#" style="width:150mm; height:10mm;" /></cfoutput></td>
</tr>
<cfdocument
filename="#filename#" format="pdf" overwrite="yes" localUrl="true"
pagetype="A4" orientation="portrait" fontEmbed="true" unit="cm"
marginLeft="0" margintop="0" marginright="0" marginbottom="0">
<div style="position:relative; top:0mm; left:0mm; width:210mm>
<table width="700" border="0" align="center"
style="margin-top:10px; font-family: Verdana, Arial, Helvetica,
sans-serif; font-size: 12px; color: #000000;">
<tr>
<td align="center"><img src="/Config/BSL/logo.gif" style="width:100mm; height:20mm;" /></td>
</tr>
we are still not getting the image to show up but it does print on one page now after adding the styling width and height. The image is visiable when going to a direct url and does display on a simple page when using the cfoutput tags around the dynamic source.
The code isn't mine but i have been trying to help out the developer as we host the sites and it works on one server but not the other (hence it must be the server's fault) so i am trying to trouble shoot for the developer.
I read your article and made a few minor adjustments to the pdf creator They still have tables that are specified in px
here is their orginal code except i did add the mm for the image demensions.
<cfdocument filename="#filename#" format="pdf" overwrite="yes" localUrl="yes">
<table width="700" border="0" align="center" style="margin-top:10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
<tr>
<td align="center"><cfoutput><img src="#logoURL#" style="width:150mm; height:10mm;" /></cfoutput></td>
</tr>
Here is my code:
<cfdocument filename="#filename#" format="pdf" overwrite="yes" localUrl="true" pagetype="A4" orientation="portrait" fontEmbed="true" unit="cm" marginLeft="0" margintop="0" marginright="0" marginbottom="0">
<div style="position:relative; top:0mm; left:0mm; width:210mm>
<table width="700" border="0" align="center" style="margin-top:10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">
<tr>
<td align="center"><img src="/Config/BSL/logo.gif" style="width:100mm; height:20mm;" /></td>
</tr>
we are still not getting the image to show up but it does print on one page now after adding the styling width and height.
one more thing that i am not sure makes any difference is the site runs under SSL not sure if that really has anything to do with it.
On Wed, Jan 27, 2016 at 8:55 PM, Tigerlady <centr...@gmail.com> wrote:The image is visiable when going to a direct url and does display on a simple page when using the cfoutput tags around the dynamic source.
The code isn't mine but i have been trying to help out the developer as we host the sites and it works on one server but not the other (hence it must be the server's fault) so i am trying to trouble shoot for the developer.
I read your article and made a few minor adjustments to the pdf creator They still have tables that are specified in pxUnless displaying tabular data, I avoid tables in PDF layouts. The blank first page probably would not have happened if the layout was not in a table like this.
Totally understand. I will again try to tell them.
The width="700" attribute above should be removed. Put the width in the style attribute and express it in mm to keep the table from breaking the layout if something else besides the logo image pushes it open too wide. You may need to put a border around the table to see where it is on the PDF. I'd change the margin-top as well to mm.
I will tell the developer, their biggest issue is it works on one server and not the other so therefore they do not believe it is their code.
So if you put <img src="/Config/BSL/logo.gif" style="width:100mm; height:20mm;" /> on a simple web page in the same directory as the template that contains the cfdocument tag above, you see the image when viewing that page, correct?
In my experience, images work fine in PDFs generated under SSL, generally speaking. If you can see the image from a simple web page under SSL, then I would assume it should also work within a PDF.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/dfc964eb-8d63-40c8-b7c0-f5e06ae2ba4c%40googlegroups.com.
quick question it was mentioned earlier that there are 2 jar files in the lib directory could it be that the ones on the web 2 server are corrupt or something? if so do you think i could take the same jar files from server 1 copy them to server 2. I am assuming that i will need to restart the railo intance for it to pick up the jar file changes.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/36713bc8-8952-499b-8e55-a0ffaeb5b681%40googlegroups.com.