Compatible with DokuWiki
No compatibility info given!
Similar to mozshot
This requires PHP5 to run.
This little plugin will allow you to insert a preview of any website.
Use the following syntax to insert an image which will show a preview image of amazon.com. If you click you will be redirected to google.com
<webthumb:http://www.amazon.com|http://www.google.com>
You can also use the following syntax, if preview image and linktarget should be the same:
<webthumb:http://www.dokuwiki.org>
Hope someone likes it.
The Plugin is using a webservice for fetching the images and is not generating them.
Download the Zip-File and extract it to the folder: /lib/plugins/webthumbs/
Not working with DokuWiki-2009-02-14 ! (generates a PHP error when trying to log in, something wrong in line 25 of the script) - Greguti, April, 11, 2009)
That is strange, just checked this extension with a clean install of DokuWiki-2009-02-14. No error and everything works fine. clang
tried again, here is the error message when I refresh a page once Webthumbs is activated: “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.65/greguti/www/articles/lib/plugins/webthumbs/syntax.php on line 25”. Line 25 is:private $sWebService = "http://open.thumbshots.org/image.pxf?url=";
It seems that you are using a PHP 4.X Environment and therefore the private is not supported. Try to replace the line with on of the two alternatives:
//Alternative 1 (private removed) $sWebService = "http://open.thumbshots.org/image.pxf?url="; //Alternative 2 (private replaced with var) var $sWebService = "http://open.thumbshots.org/image.pxf?url=";
Let me know if this will fix your problem.
Hey there! Thanks so much for the quick answer! Alternative 2 is the good one, works great on my website. Alternative 1 generates some PHP error. Thanks for this handy plugin!
Tons of Thanks to you!! Its awesome, I was looking for something like this from long time.
Now I can get rid of my all bookmarks: Harish :)
Is there a way to use both the services which are selectable in the backend? I find that some sites are available with and then not with the other and vice versa. Great plugin.
Currently not. But both services are generating preview images for websites they do not yet have. I think you just have to wait some time until the real preview is displayed.
2011-09-26 I wish an option to save the images on my DokuWiki folder, just for speed purposes. Anyway, great plugin