Skip to main content
Participant
December 10, 2010
Question

CFPresentation Tag Generating PPT PowerPoint

  • December 10, 2010
  • 1 reply
  • 1085 views

Hi,

I'm using the CFPresentation tag to generate a powerpoint file, and things are working quite well.

Except - that is - for images.  I'm trying to do something basic like:

  <cfpresentation title="Powerpoint Export" overwrite="yes" destination="export/myppt.ppt" format="ppt">
    <cfpresenter name="Charlie" title="Software Engineer" email="me@someplace.com">

    <cfpresentationslide title="my slide title">

      <p>here is an image</p>

      <img src="../images/myimage.jpg" alt="placeholder text" />

    </cfpresentationslide> 

  </cfpresentation>

But the image doesn't make it to the output ppt file.  I have it looping over some results from a database, and it properly makes a slide for each result, and all of the plain text gets in just fine, which is great.

I've looked around at the various resources I could locate for this tag and the support that it has for ppt generation, and haven't yet uncovered anything to shed light on my rather basic problem, so felt I'd post and ask for help.

Thank you to anyone who can point me towards some greater understanding of this very useful tag!

Charlie

    This topic has been closed for replies.

    1 reply

    Inspiring
    December 13, 2010

    Hi,

    I have used this tag, it seems to be working for images which should be in your root folder.

    I tried with the different images; the one which is in your coldfusion root folder, is outputting properly.

    When we give different images from other folder, it s not working;

    Try to put your image in the root folder and check it.

    I will also look for some other solution.

    fusion42Author
    Participant
    December 13, 2010

    Thanks so much for your helpful and fast reply!  I'll try that out.

    It's a shame if that is a requirement for the tag, as I have a somewhat complex folder structure - at least more complex than no structure - so it will be tricky to have all images available from the root to facilitate the tag's functionality.

    But thank you again for your fast and helpful reply!

    Charlie