linked pictures on portfolio page to sites

fixed ENV['ANALYTICS'] logic