Deskripsyon
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" />
Pag-install
The installation is simple:
- Upload
url2png.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit the head of the plugin: API Key, Secret Key, Alternative screenshot directory
- Place
<?php $url2png->getScreenshot('Website URL', WIDTH, HEIGHT, true); ?>or other functions in your templates
Make sure the screenshots directory is writeable by your webserver
FAQ
What features are planned in future versions?
- Make API-Key, Secret Key editable through the admin interface
- Make screenshots featured images by default / on demand
- Enable the use of shortcode within posts
- Any other ideas?
More information
Visit BONDERO
Mga Review
Wala pang reviews para sa plugin na ito.
Mga Contributor at Developer
Ang “URL2PNG Screenshots” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.
Mga ContributorIsalin ang “URL2PNG Screenshots” sa iyong wika.
Interesado sa development?
Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.
Changelog
1.0.1
- Readme Change + Plugin Tuning
1.0
- Initial plugin: Get screenshot, save it to disk, display it