Title / Description
Code #!/usr/bin/ruby # get the image file and its size and return a <img scr""> tag #get the image file in imageFile = ARGV[2] # TODO - Figure out reading the file for the dimensions puts "<img class=\"book-image\" src=\"" + imageFile + "\">"
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code