Skip to content
This API by PHP that get the thumbnail images of the specified URL from pagepeeker and, tunnel or convert to it base64.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
image
source
test
LICENSE
README.md

README.md

Get thumbnail from PagePeeker

This API by PHP that get the thumbnail images of the specified URL from PagePeeker and, tunnel or convert to it base64.

Description

August 2019, free.pagepeeker.com cannot obtain thumbnail images via SSL.
This API by PHP is get the thumbnail images from free.pagepeeker.com and, tunnel or converts them to base64.

Example of use

Paste Title / ジグソーTools ~ 指定したWebページのURLを<a>タグで囲むWebサービス
Thumbnail acquisition part in Paste Title (HTML or Markdown).

Requirement

This program has been tested with PHP7.

Usage

get_thumbnail.php?size=[size]&base64=[base64]&url=[url]
No Item Type Must Comment Example
1 size string yes Thumbnail size.
Select t,s,m,l,x.
See PagePeeker API document.
t
2 base64 boolean yes Is the return value acquired in base64? true
3 url string no Thumbnail acquisition source. http://bit.ly/2ZVDTyD

Install

Put common.php and thumbnail.php in the same folder.

Test

Use postman, and import "test/GitHub.postman_collection.json".

Licence

MIT

Author

hiroshikuze

Donation

Author's wish list by Amazon(Japanese)

You can’t perform that action at this time.