to wait until images are fully loaded
The following request returned four different results:
1. rendered without the image
2. rendered while image was still rendering (blurry image)
3. rendered with image but croped to the size without image
4. perfectly rendered with the image
http://api.phantomjscloud.com/single/browser/v1/a-demo-key-with-low-quota-per-ip-address/?targetUrl=https%3A%2F%2Fwww.stomt.com%2Fstomt%2Fhandle-rotated-images-right%2Fonly&loadImages=true&resourceUrlBlacklist=%5B%5D&viewportSize=%7B%22width%22%3A600%2C%22height%22%3A185%2C+%22zoomFactor%22%3A1.0+%7D&requestType=png
not sure what exacly you are trying, maybe provide a detail on your scenario need? (aka: why?)
new api docs here: http://api.phantomjscloud.com
here’s some notes that might help you:
1) can disable images with pageRequest.resourceSettings parameters
2) not sure, maybe you can include javascript that will modify the images on page afterwards? or if these are pages/images you control, you can use pageRequest.resourceSettings to modify the src of images.
3) not sure how to do that. if you know how to do in phantomjs.exe, let me know.
4) it looks good to me….