Skip to main content
Participant
Feb 24, 2022 5:04 PM UTC
Question

cfpresentation Powerpoint images not appearing

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 is closed to new replies. Start a new post to keep the conversation going.

    6 replies

    BKBK
    Community Expert
    Community Expert
    Feb 27, 2022 1:46 PM UTC
     

    ... 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">

     

    Translate
    Participant
    Mar 2, 2022 7:21 PM UTC

    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?

    Translate
    BKBK
    Community Expert
    Community Expert
    Mar 3, 2022 8:00 PM UTC

    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 

    Translate
    Participant
    Feb 26, 2022 4:39 PM UTC

    Dear Bruce,

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

     

    Hope this work.

     

    Thank you!

    Translate
    Participant
    Mar 2, 2022 7:09 PM UTC

    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. 

    Translate