jQuery('[data-magnify]').magnify({
    headToolbar: [
      'minimize',
      'maximize',
      'close'
    ],
    footToolbar: [
      'prev',
      'next',
      'zoomIn',
      'zoomOut',
      'fullscreen',
      'actualSize',
      'rotateLeft',
      'rotateRight'
    ],
    modalWidth: 400,
    modalHeight: 400
  });