Recent Topics

[Plugin] STW Webshots - website thumbnails

started by on Feb 28, 2009 – Last touched: Mar 13, 2016

Feb 28, 2009 06:37    

This plugin allows you to display website thumbnails in you blogs.

It uses [url=http://www.shrinktheweb.com/]ShrinkTheWeb[/url] website thumbnail provider, so you have to create a FREE account there in order to use the plugin.

[url=http://www.sonorth.com/travel/download/K06SS5HUGB]Download v0.3[/url]

[url=http://b2evo.sonorth.com/show.php/b2evolution-freelance-work]DEMO[/url]

* You can select custom width and height for any webshot.
* The plugin automatically converts all "Link to URL" links into clickable images.
* By default it caches images for 5 days which minimizes the traffic and increases the loading speed, you can change the number of days in plugin settings.
* Use the "Webshot" button to insert a thumbnail in your post.
* You can add webshots in you skin using the following method

PHP

$GLOBALS['Plugins']->trigger_event'stw_webshot_s''http://b2evolution.net' );

stw_webshot_s - display a small (120x90) webshot
stw_webshot_l - display a large (200x150) webshot
stw_webshot_xl - display an extra large (320x240) webshot
stw_webshot_default - display the default-sized webshot (selected in plugin settings)

Oct 05, 2009 02:46

Hi,
Thanks for plugin and to discover this website! :)
I have only a little concern. It works without problem if you use HTML area. But when we add a webshot with TinyMCE, anything is added in area showing it's correctly done. Does it have a way to change this behavior? I deal with 30 users who don't know HTML and I'm sure they will tell me that it didn't work even if it does.
Thanks!
Mel

Oct 05, 2009 03:51

Thanks for the feedback, I thought nobody uses this plugin except me :)

The plugin adds the correct code to posts even if you don't see it in text area.

And I have a newer version, so this might be the reason why it's working for me. I'll upload that version and let you know here.

Sep 07, 2010 07:28

I'm getting this error:

ResponseStatus:
Invalid Request: Improperly formatted Url

CategoryCode:

But as far as I know the URL is right

Sep 10, 2010 00:35

The service could have changed URL params.
Try to set $debug = 1; in the plugin file, and see if you can track the problem down.

Sep 10, 2010 02:06

This is what I'm getting now:

Code

string(172) "http://www.shrinktheweb.com/xino.php?Service=ShrinkWebUrlThumbnail&Action=Thumbnail&STWAccessKeyId=Access Key: 0000000000000000&u=00000000&Size=xlg&Url=http://www.filehippo.com"

Code

array(4) {
  ["Service"]=>
  string(21) "ShrinkWebUrlThumbnail"
  ["Action"]=>
  string(9) "Thumbnail"
  ["Size"]=>
  string(3) "xlg"
  ["Url"]=>
  string(24) "http://www.filehippo.com"
}

Code

string(823) "<?xml version="1.0" encoding="UTF-8"?>
<stw:ThumbnailResponse xmlns:stw="http://www.shrinktheweb.com/doc/stwresponse.xsd">
  <stw:Response>
    <stw:ThumbnailResult>
      <stw:Thumbnail Exists="false"></stw:Thumbnail>
      <stw:Thumbnail Verified="false">noexist</stw:Thumbnail>
    </stw:ThumbnailResult>
    <stw:ResponseStatus>
      <stw:StatusCode>Invalid Request: Improperly formatted Url</stw:StatusCode>
    </stw:ResponseStatus>
    <stw:ResponseTimestamp>
      <stw:StatusCode></stw:StatusCode>
    </stw:ResponseTimestamp>
    <stw:ResponseCode>
      <stw:StatusCode></stw:StatusCode>
    </stw:ResponseCode>
    <stw:CategoryCode>
      <stw:StatusCode></stw:StatusCode>
    </stw:CategoryCode>
    <stw:Quota_Remaining>
      <stw:StatusCode></stw:StatusCode>
    </stw:Quota_Remaining>
  </stw:Response>
</stw:ThumbnailResponse>"

ResponseStatus:
Invalid Request: Improperly formatted Url

CategoryCode:

Sep 10, 2010 02:45

Check the access key value in plugin settings ;)

Sep 10, 2010 03:12

Sorry! :oops:

I pasted the code and also the words "Access Key:" which I guess I inadvertently copied from the STW page...

Thank You!

Mar 19, 2011 04:53

I'm going to release a completely rewritten and improved version of this plugin soon. It will work with www.thumbshots.ru/en/ screenshots provider.

Shrinktheweb provider became overloaded and too restrictive.

Mar 09, 2012 14:18

Hello,

Can you please tell me if this plugin (STW Webshots) works with v4.12 or 4.13 of b2evolution ?

Thanks,
Bogdan

Mar 09, 2012 14:27

I haven't touched the plugin for a long time. It wouldn't blow up your server if you try it :) It might not work with current Shrinktheweb features and limitations.

Mar 13, 2012 11:41

Thanks for your reply :)

I already try it :) but it doesn't show website thumbnails on my links to other sites.
That's why I asked you if it's compatible with v4.12 or 4.13 of b2evolution.

Is there something I should manually add to that specific links like when using the lightbox plugin, by adding "rel="lightbox"" ?

Mar 05, 2016 10:33

Hi Sam,

This is Brandon over at ShrinkTheWeb. I know that it's been a looong time since you've thought about this plugin that you created, but I wanted to reach out to you and see about updating it.

The "Preview Verification Page" required for Free accounts did not last long and did not meet its intended objective of making for less malicious use of screenshots. Mostly, it was just viewed as a way for us to intercept visitors, which was not the intention but the perception was widespread enough that we yanked that out and reverted back to the original methods for all users. We decided not to police the service at the expense of hurting our reputation. This greatly simplifies integration, and we also released an "Account API" a couple of years ago that provides for a clean integration on the admin configuration side of things as well.

At any rate, I wanted to see if you would be interested in releasing an update that supports the service for Free and Paid users alike (we recommend supporting the "Embedded" and "Advanced Method" APIs as both work for Free and Paid users) and also support some of our PRO features. There have been many updates to our PHP sample code and the later version STW Class is quite powerful and simple to use.

I am willing to sponsor this development, if you have the time and interest.

Please let me know. I am here to provide support, test code, and answer any questions.

Best regards,

Brandon

Mar 13, 2016 22:10

@puravida thanks for all the info. No idea if @sam2kb is able to take an update of this plugin now, so I will also ask the core devs to see if we can give it a go.

Regards!

Mar 13, 2016 22:39

@puravida Suppose we (core b2evolution dev team) update the plugin or write a new one, what would you expect it to do exactly?

  • Allow to insert website thumbnails into posts (I guess that's the basics)
    • Customizable size?
  • Anything else?

Thx.


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.