User Tools

Site Tools


haas:spring2017:cprog:projects:cos0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2017:cprog:projects:cos0 [2017/03/16 18:41] – [Background] wedgehaas:spring2017:cprog:projects:cos0 [2017/03/20 14:45] (current) – [How to view your image] wedge
Line 70: Line 70:
  *  *
  * Documentation:  http://www.boutell.com/gd/manual2.0.33.html  * Documentation:  http://www.boutell.com/gd/manual2.0.33.html
 +                 https://libgd.github.io/manuals/2.1.1/index/Functions.html
  */  */
 #include <stdio.h> #include <stdio.h>
Line 180: Line 181:
 } }
 </code> </code>
 +
 +=====How to view your image=====
 +When you have a functioning project and want to view the images generated, you need to make sure they are deployed into your **public_html/** directory.
 +
 +To view your image in a web browser, simply point it at the following URL:
 +
 +  * <nowiki>https://lab46.g7n.org/~USERNAME/IMAGE.png</nowiki>
 +
 +... where "USERNAME" is your lab46 username (in lowercase), and "IMAGE" is the name of your png file (likely also in lowercase, such as 'cos0').
 +
 +Note that the tilde just prior to your username in the URL is critical and necessary.
  
 =====Grabit Integration===== =====Grabit Integration=====
haas/spring2017/cprog/projects/cos0.1489689699.txt.gz · Last modified: 2017/03/16 18:41 by wedge