Can I add URL2PNG parameters?

You can specify any URL2PNG parameters as a suffix of the original website being captured.
The suffix should be /url2png/ followed by any parameters of URL2PNG in the format key=value|key=value|key=value.

Here's an example:
For a URL like the following http://www.site.com/?a=b you can add URL2PNG parameters like:
http://www.site.com/?a=b/url2png/viewport=240x320|fullpage=false

Then you can use a code like the following example to generate the image (in Rails):

cl_image_tag("http://www.site.com/?a=b/url2png/viewport=240x320|fullpage=false", :type => :url2png, :sign_url => true)

The generated screenshot can then be further manipulated using Cloudinary's transformations.

 

Have more questions? Submit a request

Comments

Powered by Zendesk