Skip to main content
Participant
February 24, 2022
Question

cfpresentation Powerpoint images not appearing

  • February 24, 2022
  • 2 replies
  • 280 views

I'm creating PowerPoint slides using cfpresentation and cfpresentationslide. Database values appear no problem, but images just get an X using hmtl <img src="image.jpg">. I tried putting the images into the same directory as the cfm page, but still nothing. I tried using <cfimage source="image.jpg" action="writeToBrowser"> and even put it in the database as a BLOB and pull it <cfimage source="#image#" action="writeToBrowser">. Nothing works. 

Please help. Using ColdFusion 11

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    February 27, 2022
     

    ... but images just get an X using hmtl <img src="image.jpg">. I tried putting the images into the same directory as the cfm page, but still nothing. ...


    By @Brucedabold

     

    OK, let's assume you have put the image in the same directory as the CFM page. Let's also suppose that the URL of the CFM page is http://yourDomain.com/yourApp/presentation.cfm. Then you could use

     <img src="http://yourDomain.com/yourApp/image.jpg">

     

    Participant
    March 2, 2022

    Using the full path on our development server worked, probably because it allows for http: but on production it fails with an https: full path. The production website requires a personal certicate along with SSL. I think requring an absolute path is definitely a bug. How does one submit a bug report?

    BKBK
    Community Expert
    Community Expert
    March 3, 2022

    Using the full path on our development server worked, probably because it allows for http: but on production it fails with an https: full path. The production website requires a personal certicate along with SSL. I think requring an absolute path is definitely a bug. How does one submit a bug report?


    By @Brucedabold

     

    The image should display when you use its full https path. Its failure to do so suggests there is likely something wrong with your setup. That the website requires SSL should not prevent the image from showing.

     

    For example, there is an image on this very web page whose https link is https://community.adobe.com/html/assets/rich-text-editor-banner.svg . If you save the following text as https_image_test.html and open it in a browser, you will see the image.

    In any case, you can submit a bug at https://tracker.adobe.com/#/add_bug 

    Participant
    February 26, 2022

    Dear Bruce,

    Is your website using https? Use full path include https should work.

     

    Hope this work.

     

    Thank you!

    Participant
    March 2, 2022

    Using the full path on our development server worked, probably because it allows for http: but on production it fails with an https: full path. The production website requires a personal certicate along with SSL.