Research & Learning
Other Class pages
This page is for everyone who edits this site. It's a place to list conventions we're using here.
Don't use the Attach: tag to upload images. Instead, use a SFTP client and put your images in the folder /usr/local/www/html/physcomp/images. If you've got a whole group that belongs together for a particular project, like the labs, make a subfolder. Make sure they're .jpgs. Then, to refer to them in your page, use a full http tag like this:
You can (and should) add alt tags to your images like so:
%alt='insides of a power connector'%http://itp.nyu.edu/physcomp/images/labs/power_conn_inside.jpg
Use alt tags always. We should work towards ADA compliance on all our sites, so this is a good way to start.
fotonotes is working on the images on this wiki. When an image has been added, you can add fotnotes to it using the toolbar above each image. There are still some bugs to be ironed out, but it's really easy.
In order for an image to be fotonote-able, it needs to have write permissions set for user, group, and other. When you upload images into the images directory, set the file to be group and other writeable, if your FTP client allows it. If not, you can set it from the command line. ssh into the images directory and type:
chmod go+w filename.jpg