Using from url2png.com
<?php $apikey="YOUR_API_KEY"; $secret="YOUR_SECRET_KEY"; $token=md5("url=target.com" . $secret); $img="api.url2png.com/v6/$apikey/$token/png/?url=target.com"; ?> <img src='http://<?php echo $img; ?>' />
I will like to show thumbnails for the shared bookmarked webpages in the activity stream, activity widget in profile page as well as in Bookmarks. Can someone help with actual code or a small plugin please?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
- disha@disha

disha - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
- jayasrilanka@jayasrilanka

jayasrilanka - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- disha@disha

disha - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
- crazy_thumb@crazy_thumb

crazy_thumb - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
You must log in to post replies.Problem with services like url2png.com is that they can stop the services, like it happened to our Wirelinks for elgg 1.8
It shouldn't be that hard, you need to do some preg_replace and find the string with "http://" on the content of the bookmark and then embed the link.
What happened to the Wirelinks? Will it be updated for Elgg 1.9.x and possibly the features extended to boomarks?
Basically I would like to have thumbnails like Wirelinks for the links posted via Bookmarks or via Hypewall to appear in the Activity page and Activity Widgets.
It also had a problem with https support with made it not that useful
@disha @Matt
It has been upgraded for elgg 1.9, with https support, walled garden support and embedding occurs on your site, so you won't depend on another website to make the embedding.
Take a look:
http://www.milocker.com/nine/activity
this is perfect i think..
give me ideas about http://jayasrilanka.net
Good to know, thanks!
@RJ (Arvixe) can you please add this to hypewall and core bookmarks
https://community.elgg.org/plugins/1132696 does not show the Elgg 1.9 version yet ?
It is still on beta phase. Still cleaning out some bugs.
I have to take a look at the hypewall code, shouldn't be hard (I hope)
For screenshots and thumbnails see also: screenshotlayer API - https://screenshotlayer.com
I really don't like relying on third party. A previous plugin used a third party app to create thumbnails, and it went offline, leaving users wondering what happened. I have yet to come up with a better solution.