Title: iPhone-Widget
Author: Aaron Kittredge
Published: <strong>5 marts, 2011</strong>
Last modified: 5 marts, 2011

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# iPhone-Widget

 Autors [Aaron Kittredge](https://profiles.wordpress.org/kittyridge/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/iphone-widget.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/iphone-widget/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/iphone-widget/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/iphone-widget/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/iphone-widget/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/iphone-widget/)

## Apraksts

Using this widget you can easily place the iPhone containing an image of the cover
of the book you are reading in the sidebar. You can also specify a URL to link to
when clicking on the book cover image. Supports multiple instances, so you can use
it multiple times in multiple sidebars. (adapted from the Simple Image Widget)

Once the plugin is enabled, the widget will be available in your widgets list as“
iPhone Widget”. You can add this widget to sidebars as many times as you need. The
control interface allows you to specify the following options for each instance 
of the widget:

 * Image URL: The full URL to the image file
 * Alternate Text: Shown by the browser if image cannot be displayed
 * Link URL: URL to open when the book cover image is clicked on (optional)
 * Open link in new window: If this is checked, the above link URL will open in 
   a new browser window

## Ekrānuzņēmumi

 * [[
 * iPhone Widget control interface
 * [[
 * iPhone Widget in sidebar

## Uzstādīšana

Installation is very simple:

 1. Copy/upload the `iPhone-Widget` folder to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the “iPhone Widget” plugin to a sidebar in ‘Design’ -> ‘Widgets’

## BUJ

  How do I upload an image?

The iPhone Widget does not provide a mechanism for uploading images or files. You
can however upload an image in the ‘Write’ section of WordPress. From there you 
can click on the ‘Add an Image’ icon (next to ‘Add Media’ label). After uploading
an image, copy the ‘Link URL’ for use in your iPhone Widget.

  How many images can be display?

Each instance of the widget can only display one image, but you can create as many
instances as you need.

  How do I change the alignment?

This can be done with CSS. Depending on your WordPress theme, one of these methods
below will work, though you may have to experiment a little to find out which one.

For the last one with margin top, right, bottom, and left, replace the 0’s with 
a number, for example 10px, where the px stands for pixels. As you increase or decrease
a side, the Ereader will shift position enabling you to get the perfect spacing 
in you sidebar. Don’t forget that you can use negative numbers too, like -10px. 
Experiment with the numbers and refresh your website to see what way the Ereader
moves in your sidebar. Keep doing this until its just right!) :

    ```
    .iphone { text-align: center; }
    .iphone { margin:0 auto; }
    .iphone { margin:0 auto; text-align: center; }
    .iphone { margin:0 auto; text-align: left; }
    .iphone { margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; }
    ```

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“iPhone-Widget” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi
cilvēki.

Līdzdalībnieki

 *   [ Aaron Kittredge ](https://profiles.wordpress.org/kittyridge/)

[Tulkot “iPhone-Widget&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/iphone-widget)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/iphone-widget/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/iphone-widget/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/iphone-widget/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/iphone-widget/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versija **1.2**
 *  Pēdējo reizi atjaunots: **pirms 15 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 2.5 vai jaunāka **
 *  Pārbaudīts līdz: **2.9.2**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/iphone-widget/)
 * Birkas:
 * [image](https://lv.wordpress.org/plugins/tags/image/)[photo](https://lv.wordpress.org/plugins/tags/photo/)
   [picture](https://lv.wordpress.org/plugins/tags/picture/)[sidebar](https://lv.wordpress.org/plugins/tags/sidebar/)
   [widget](https://lv.wordpress.org/plugins/tags/widget/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/iphone-widget/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

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

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/iphone-widget/reviews/)

## Līdzdalībnieki

 *   [ Aaron Kittredge ](https://profiles.wordpress.org/kittyridge/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/iphone-widget/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](http://www.kittyridge.com/freebies/)