CFContent accessing subdirectories

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Re: CFContent accessing subdirectories

    FYI, I've never seen this scenario come up before. Congrats! ::)

    Normally people ask about serving up PDF, MP3, DOC, etc. files without
    directly linking to them. You're asking how to serve up linked files without
    direclty linking to them.

    If they have to be HTML files, then try this:

    Swap out all <img src="some/image.jpg"> tags in the PowerPOint HTML files with
    something like <img src="getImage.cfm?pic=some/image.jpg">

    Then getImage.cfm would pass url.pic to a <cfcontent> tag in order to load the
    image.

    That said, could you save and store them as PDF files? All the images and
    links would be self-contained and it would probably be easier to manage than
    hundreds of PPT generated HTML and image files.

    HTH

    cf_menace Guest

  2. Similar Questions and Discussions

    1. referencing an assembly in subdirectories
      Hello I've developed a custom control and compiled it to "/controls/bin/Controls.dll". When i try to reference this control from a page located in...
    2. Forms Authentication on Subdirectories of App
      I would like to have a directory that is Forms authenticated so that all ASP.NET resources contained within the directory require a logged on user....
    3. get list of files in subdirectories?
      Howdy: I'd like to get a list of files in a directory and also in it's subdirectory - but I don't know how far the subdirectory goes. I can...
    4. Apache subdirectories
      Hi, Apache/2.0.44 PHP/4.3.1 WinXP Pro Ive got a site running from c:\apache\htdocs, works perfectly if I make a subdirectory...
    5. random file from subdirectories?
      Hi, how would I make a script that pics a random file from a tree? Is there something like this existing? I need one that can handle many files...
  3. #2

    Default Re: CFContent accessing subdirectories

    Thanks for that suggestion, however, these power point html files can get very
    large, and searching through to replace links is something that I do not want
    to have to deal with (but may ultimately have to).

    Does anyone else have any other solutions?. Also, how does one publish a ppt
    to a pdf with all links and stuff working? That is a very interesting solution.

    JeffZzang Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139