not getting full page screenshot of given url
i have tried for the following list of urls-
https://landing-test.vvb-stagng-fr.eu/3333333333333333
https://landing-test.vvb-stagng-fr.eu/test4354
https://landing-test.vvb-stagng-fr.eu/cloudinary
https://landing-test.vvb-stagng-fr.eu/123456789,etc
i have tried all these codes -
cloudinary.Api.UrlImgUp.Action("url2png").BuildImageTag("https://cnn.com");
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Duration("110000")).BuildUrl(landingpageurl)
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Duration(110000)).BuildUrl(landingpageurl)
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Delay(222210000)).BuildUrl("https://landing-test.vvb-stagng-fr.eu/TestFullPageUrl");
var explicitResult = cloudinary.Explicit(new ExplicitParams(landingpageurl)
{
Type = "url2png",
EagerTransforms = { new Transformation().Delay(10000) }
});
still not getting the full screenshot
-
Hi Puja,
I'm able to take a screenshot from https://landing-test.vvb-stagng-fr.eu/TestFullPageUrl using the code you shared.
Can you please share more details on what exactly isn't working? any error message you're getting?
I've also consolidated your other similar posts from different forums (deprecated feature requests and community tips & tricks)) into this post. The Support Forum is the right place to ask this kind of question. You can also open a support ticket at support@cloudinary.com.
0 -
please check for this url
https://landing-test.vvb-stagng-fr.eu/folio109876543212
also share the exact code on which it is working fine from your side. As i am not able to take full screenshot of above type url content.
my codes are -
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Delay(300000)).BuildUrl(landingpageurl);
0 -
also i have omitted duration part from my code too.while using delay
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Delay(300000)).BuildUrl(landingpageurl);
i got full screenshot of some url like https://landing-test.vvb-stagng-fr.eu/TestFullPageUrl
but not get full screenshot for https://landing-test.vvb-stagng-fr.eu/folio109876543212
0 -
Hi Puja,
The URL you shared - https://landing-test.vvb-stagng-fr.eu/folio109876543212 leads to a 404 page (https://landing-test.vvb-stagng-fr.eu/error), which leads to the fail request.
Please use a valid URL for URL2PNG requests.
0 -
i my case while i redirect to this link,it is working ,problem is that url2png not able to take full page screenshot .please check once more.
0 -
Hi Puja,
Can you please share an example of a Cloudinary URL that uses URL2PNG and fails? please share the exact URL so we can further investigate. Thanks.
0 -
original url is-https://landing-test.vvb-stagng-fr.eu/folio109876543212
url of screenshot of given url is -https://res.cloudinary.com/dbbkqtyqn/image/url2png/v1581338527/https://landing-test.vvb-stagng-fr.eu/folio109876543212
there is lazy loading concept in given https://landing-test.vvb-stagng-fr.eu/folio109876543212 .i think concept of lazy loading is creating a problem due to which full page screenshot is not taken by url2png api of cloudinary. Is there any options in url2png api for such type of lazyloading web site ?0 -
Thanks, Puja, I can see where the issue is now.
I'm opening an internal ticket for our engineers and we will update once we have any further insights.
0 -
Hi Puja,
There's the option to use URL2PNG's custom parameters (see https://support.cloudinary.com/hc/en-us/articles/202520282-Can-I-add-URL2PNG-parameters-). In this case, it could help adding:
- fullpage=true to get the full page
- viewport=2000x3500 to get more than the default viewport
- delay=10 to give some time to some of the components to load
Please try to generate it again, with a URL like the following and let us know if this works for you?
0 -
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").Transform(new Transformation().Delay(300000)).BuildUrl(landingpageurl);
how can i use it in above c# code?
0 -
Hi Puja,
Please try:
var result = cloudinary.Api.UrlImgUp.Signed(true).Action("url2png").BuildUrl("https://landing-test.vvb-stagng-fr.eu/folio109876543212/url2png/fullpage=true|viewport=2000x3500|delay=10");Which, on my test account, generates this full screenshot URL -
https://res.cloudinary.com/roee/image/url2png/s--f7OL28ta--/https://landing-test.vvb-stagng-fr.eu/folio109876543212/url2png/fullpage%3Dtrue%7Cviewport%3D2000x3500%7Cdelay%3D100
Post is closed for comments.
Comments
11 comments