# Webpage screenshot

**URL:** <https://forum.xojo.com/t/webpage-screenshot/13621>\
**Category:** General\
**Created:** [January 14, 2014, 9:51pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621 "2014-01-14T21:51:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [January 14, 2014, 9:51pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621/1 "2014-01-14T21:51:11Z")

</div>

I need to be able to supply a URL and return a picture of what the webpage currently looks like

with syntax similar to this.

```auto
dim p as picture
p=Get_URL_Image("www.someurl.com")
```

---

<div class="post-metadata">

**Author:** ![Eduardo\_Gutierrez\_de\_Oliveira](https://forum.xojo.com/user_avatar/forum.xojo.com/eduardo_gutierrez_de_oliveira/32/264_2.png) [@Eduardo\_Gutierrez\_de\_Oliveira](https://forum.xojo.com/u/Eduardo_Gutierrez_de_Oliveira)\
**Post date:** [January 14, 2014, 9:56pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621/2 "2014-01-14T21:56:39Z")

</div>

I always wondered if it would be possible to do this with a webview. I’m interested. Especifically not the viewed area but the full length.

Will try a few things, now that you’ve reminded me of it, although I know there are third party tools that can do this.

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [January 14, 2014, 10:12pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621/3 "2014-01-14T22:12:01Z")

</div>

Desktop? Web?

You can search the archives. We have plugin functions for htmlviewer to get picture.  
Some other people prefer using webkit on command line for this.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [January 14, 2014, 11:21pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621/4 "2014-01-14T23:21:02Z")

</div>

Desktop… without plugins… if it can’t be done it is not a big deal.  
I have an app that shows a mockup of a webpage… just thought it would be “cool” to have it show a “live” page.  
Otherwise I’ll just photoshop a image of [Google.Com](http://Google.Com)

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [January 15, 2014, 7:44am UTC](https://forum.xojo.com/t/webpage-screenshot/13621/5 "2014-01-15T07:44:06Z")

</div>

Load it in the htmlviewer and make a screenshot.

---

<div class="post-metadata">

**Author:** ![Lee\_Page](https://forum.xojo.com/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@Lee\_Page](https://forum.xojo.com/u/Lee_Page)\
**Post date:** [January 15, 2014, 8:24am UTC](https://forum.xojo.com/t/webpage-screenshot/13621/6 "2014-01-15T08:24:25Z")

</div>

As a workaround I have been using the Phantomjs binary and xojo shell to do this on the fly.

[Website Screen Capture](http://phantomjs.org/download.html)

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:01pm UTC](https://forum.xojo.com/t/webpage-screenshot/13621/7 "2020-10-29T17:01:43Z")

</div>


