How to Take screenShot or image of web page part - asp.net

I Am working on facebook application.
Now I want to add a feature That user can post Image of application.
I have done everything earlier means i have code for posting and for application.
But I am not able to take image of that application.
Application is working on within the IFame in facebook.
So may main concern to get Image that html page that is showing in Iframe.
I have tried out lot of code snippet Nothing is working for me.
Please suggest me that how can i take image of any specific part of web page.
Thanks

You could try wkhtmltoimage, which looks like it has some Windows support. Once its installed, you just run wkhtmltoimage http://www.site.com site.screenshot.png.

Related

Facebook share link UNWANTED image

I have a strange problem and my PM requires me to fix it. None of my colleagues could help me.
I've added a functionality to existing ASP.NET WebForms page. I involves a button to share the link by facebook. But when sharing in someone's profile a strange image of Adobe is appearing:
Undesired Image
It is even more strange that after a few seconds it disappeares. Tried everything - to give a parameter to the facebook URL with images[0], also from the meta tags in the master page. No result. Supposed the facebook may have cached the link, but when I tried from my home PC the result was the same.
Any advice how to remove the adobe pic?

KendoUI Embedded External Links

I am using Telerik's KendoUI framework for an HTML5/JS mobile app. When I have views I want to link to inside my app, I do a standard link such as Link which is of course as basic as it gets. The question I have is whether there is a way to make that path an external link, but have the page load inside the content area of the app (such as in an iFrame)? I'm not finding any examples of that online and when I make the link external, my whole app disappears if you click it. The end goal is keeping the link's site content (already mobile friendly) in between the header/footer of my app so they can still navigate it.
Thoughts?
After working through Telerik support, this wasn't natively possible with their framework. I ended up doing a Kendo view and utilized the data-init option to dynamically build an <iframe /> via jQuery and put the link in there so it loaded appropriately. Some might say that's a security concern, however in our case the link is something we put in for them so it's something that will always be trusted.

Google Maps Custom Icons will not load in any Browser

I used a tutorial to make some custom icons in Google Maps API for some local places. When I am in Dreamweaver and testing on my local server, the icons appear just fine. However, when I upload to my host and try to pull the page up on any browser (safari, chrome, canary, firefox), the images do not load. The placeholders for those images do show, though. I cannot understand what the issue is as I have reloaded and rechecked the code hundreds of times. Any help with this would be appreciated. As the code is very long, I have only included some snippets and the address where it is loaded.
To see the page, go to http://www.theriveroverlook.com/Local.html
I tried to load the code using the forum rules, but no matter what, it would not allow me to put the javascript in this post!
Please let me know if you can help me! This is the last piece of the puzzle I need to load this website! I am a newbie coder so I have made a lot of beginner mistakes!
Edited to add:
Thank you for your help. When I renamed the folder, it was fixed. For some reason, it did not like the folder name "icons". Perhaps this has something to do with Google's API
I get the following errors when I load your page:
Since those are the images you are using to create your custom icons they all fail to generate and won't appear on the map. Make sure you are hosting your images correctly and it should work fine.

Add share button to app page

I have created my app which just shows an image. Below the image I would like to invite people to Share by displaying a Share button. If they do share, the image is replaced by another image. I have worked out how to display the Share button but I can't work out how to display the next image if they have shared. I'm new to app development and will appreciate any assistance. Maybe there is a tutorial somewhere that I have been unable to find.
By sharing do you mean liking? If so, then search for fan-gate.
Here's a great tutorial on it:
http://www.youtube.com/watch?v=fBBnrtG0hAw

Image preview in Flex

I am working on an image management application. We have an Adobe AIR client talking to a WAMP server. The MySQL DB stores the images as blobs.
We have an image search feature. Upon searching, I am displaying the results as XMLList in a popup window and provided a download button. Downloads work fine. I also want to add a preview button to the popup.
Please let me know how can I code this. Without having the file on the client, I cannot preview. But when I use save() method, the os dialog opens up. Anything to be done on the PHP side?
Please help.
Regards
Jad.
Don't you mean to display an Image? Wouldn't the normal work? Of course, for performance issues, your PHP code must render smaller images (thumbnails).
Correct me if wrongly understood your question. :(

Resources