Title: URL2PNG Screenshots
Author: Nader
Published: <strong>3 januari 2012</strong>
Last modified: 15 februari 2014

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/url2png-screenshots.svg)

# URL2PNG Screenshots

 Av [Nader](https://profiles.wordpress.org/naderc/)

[Ladda ner](https://downloads.wordpress.org/plugin/url2png-screenshots.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/url2png-screenshots/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/url2png-screenshots/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/url2png-screenshots/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/url2png-screenshots/#developers)

 [Support](https://wordpress.org/support/plugin/url2png-screenshots/)

## Beskrivning

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" />`

## Installation

The installation is simple:

 1. Upload `url2png.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ’Plugins’ menu in WordPress
 3. Edit the head of the plugin: API Key, Secret Key, Alternative screenshot directory
 4. 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

## Vanliga frågor

#### 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](http://www.bondero.com)

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”URL2PNG Screenshots” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Nader ](https://profiles.wordpress.org/naderc/)

[Översätt ”URL2PNG Screenshots” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/url2png-screenshots)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/url2png-screenshots/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/url2png-screenshots/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/url2png-screenshots/)
via [RSS](https://plugins.trac.wordpress.org/log/url2png-screenshots/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0.1

 * Readme Change + Plugin Tuning

#### 1.0

 * Initial plugin: Get screenshot, save it to disk, display it

## Meta

 *  Version **1.0.1**
 *  Senast uppdaterat **13 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.2.1 eller senare **
 *  Testat upp till **3.2.1**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/url2png-screenshots/)
 * Etiketter
 * [images](https://sv.wordpress.org/plugins/tags/images/)[screenshots](https://sv.wordpress.org/plugins/tags/screenshots/)
   [url2png](https://sv.wordpress.org/plugins/tags/url2png/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/url2png-screenshots/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/url2png-screenshots/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/url2png-screenshots/reviews/)

## Bidragande personer

 *   [ Nader ](https://profiles.wordpress.org/naderc/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/url2png-screenshots/)