Course Approval functionality helps you REQUIREMENTS: - ColdFusion - Windows Server Install Instructions: - Upload the contents of the course-approval folder inside your wwwroot - Open course-approval.cfc , and modify the following parameter to match the location of your 'course-approval', for example: - Open course-approval.cfc , and modify the following parameter to match the location of your 'course-approval' URL, for example: USAGE: - You can use this component anywhere as follows: - The variable logoOut is a struct with different attributes: image # The name of the image generated (It's completely random, TIMESTAMP+RANDOM) image_path # The full path in the Operating System to the image image_url # The url of the generated image image_ready_url # This is very important, it's the URL of a file with an exetension .jpg.ready with which existance we know an image is ready. TESTING: - To test that this utility is workign correctly, you can use this tool to check that everything is working correctly: http://localhost:8500/course-approval/approval-tests.cfm NOTICE: - Although the script returns the information of where the generated image will be located, it doesn't means it's ready - Due to the type of approach we use to generate this image, the image generation process can take from 4 to 6 seconds to generate. - The generated images will be stored in course-approval\img-tmp . For example, if we generate a logo, the following files will be generated: 1478898415-922574.jpg # Contains the logo, but the image could take a while to render completely 1478898415-922574.jpg.ready # A simple text file which will be created as soon as the image has finished rendering.