Automagically converts URL to image and PDF

Tips & Tricks Jun 6, 2021

Quick start

GEThttps://cdn.statically.io/screenshot/:url

Getting mobile version (device=mobile)

GEThttps://cdn.statically.io/screenshot/device=mobile/:url

Getting full page (full=true)

GEThttps://cdn.statically.io/screenshot/full=true/:url

Combine params

Params can be combined using commas and after /screenshot/ path.

GEThttps://cdn.statically.io/screenshot/device=mobile,full=true/:url

Live demo

GEThttps://cdn.statically.io/screenshot/google.com

GEThttps://cdn.statically.io/screenshot/full=true/wikipedia.org

  • Image resizing `w` and `h` available only on desktop mode
  • Screenshot can also be accessed using `/s/` path which will be redirected to `/screenshot/` for practical use purposes.

Source

Tags

Error to 200

Error to 200 means "Error to Success Status". Through this blog and youtube channel, I attempt to teach basics and those coding techniques to people in a short time, which took me ages to learn.