Jump to content

Inline graphic issue


ProspectComm

Recommended Posts

I an trying to insert signatures within formatted text that conform to a certain size so as to not reflow the text drastically. the expression i coded says it is ok but i get no graphic inserted. My code is as follows:

return '<graphic file=signatures/howe_signature.tif' width="14400" height="3600">';

 

can anyone shed some light on where I went wrong?

 

thanks

Link to comment
Share on other sites

Well, for starters, if the code in your template matches exactly what you posted above, there are some minor 'quote' issues. Your code should read as:

return '<graphic file = "signatures/howe_signature.tif" width="14400" height="3600">';

If that still doesn't work (or you already had the quotes correct in your template), then I would begin playing around with the naming of the path to your signature file(s). I have had to use some truly bastardized path naming conventions in the past (i.e. ../signatures/sig.tif even though folder is at same level as template) and if possible, I will usually use an absolute path rather than a relative one. For absolute paths, I usually drop the file in question into the Terminal app and then copy and paste the path it provides.

 

If you have a limited number of signatures, I have found it easier to add them as resources and refer to them that way rather than pointing to them in a relative path.

Link to comment
Share on other sites

Thanks esmith, adding the Quotation to the beginning worked. unfortunately when I preview the images they appear low resolution? They are all high quality tiff's of signatures. Any thoughts. Acts like they are not linked properly but i have checked that.
Link to comment
Share on other sites

Is it just the preview that is low-res (if you output a PDF does it look OK)?

 

It might be causing an issue when you scale your image file(s) in both dimensions (i.e. trying to force a 5x2 image to fit into a non-proportional 4x1 area). If this is the case, you may want to set EITHER height or width (whichever is more critical to your text) and allow the other dimension to scale proportionally.

Link to comment
Share on other sites

Thanks Eric. I ended up having to save the graphics a PDF's to get them to output clearly?? I tried every combo of file types that supposedly work with Fusion and the PDF was the only type that worked correctly. Not sure why? The only issue I ended up having was spacing but it was acceptable to the customer. thanks again for your insight.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...