plugin-icon

URL2PNG Screenshots

Автор: Nader·
Integrate screenshots from url2png.com into your website.
Версия
1.0.1
Активные установки
10
Последние изменения
Feb 15, 2014

For now the plugin is very basic but functional. Use this function within your theme files, inside loops or any other place in your code. Check out the FAQ. You can also use other functions of the plugin, just have a look at the code.

Skeleton: $url2png->getScreenshot('Website URL', WIDTH, HEIGHT, IMAGETAG, CLASS)

Example: $url2png->getScreenshot('www.bondero.com', 300, 300) // Result: http://www.example.com/wp-content/screenshots/...

Example: $url2png->getScreenshot('www.bondero.com', 300, 300, true) // Result: <img src="http://example.com/wp-content/screenshots/.…" alt="Website URL" class="" width="300" />

Example: $url2png->getScreenshot('www.bondero.com', 300, 300, true, 'alignleft') // Result: <img src="http://example.com/wp-content/screenshots/.…" alt="Website URL" class="alignleft" width="300" />

Проверено на
WordPress 3.2.1
Этот плагин можно скачать и использовать при .