Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Embedding web pages.

Howdy folks,

I have an idea where I want to do something that has dynamic embeds or screenshots of other websites.

Basically, what I want, I want to grab a screenshot every time the page loads or at regular intervals of sites I have built to put on a portfolio page. This is to save having to do screenshots and edit every time a page is updated.

Alternatively, embed the page live using <embed> as you would be scale the embedded site to fit the div size specified and remove the scrolling function.

I've spent a bit of time on it but not finding anything too fruitful.

Has anyone seen something that would do either of what I'm after?

Thanks.

2 Answers

This is probably going to be more trouble than it's worth for a portfolio website. Most just press print screen and open Photoshop, new file, paste, save for web. I have searched recently for how to do this, and it's definitely possible.

How often are you updating these websites?

Good luck if decide to pursue this further.

It's more so that a link can be put in to change the images rather then messing about with sizing images etc. just thinking for something like a Wordpress theme, you wouldn't want to have to have the buyer or user of the theme to need to know how to use photo software or buy software. Lots of applications for it.

Also, as someone who likes experimenting, I just think it'd be cool.

What has your research yielded @Chad Shores?