Responsive image cache
Go Python Shell Java HTML JavaScript CSS


Responsive image cache

Development environment

# start virtual machine
vagrant up

# start RIC server
vagrant ssh

cd /vagrant/server

go build


# check that script was run, to detach `ctrl + a` and `d`
screen -list

Test that server returns test images: http://localhost:8005/01.jpg

Accepted RIC query parameters

  • width
  • height
  • mode: fit, liquid, crop
  • format: All that imagemagic supports
  • watermark: text
  • url: webroot url