=== My Mobypictures === Contributors: chillez Tags: mobypicture, widget, photos, pictures Requires at least: 2.2 Tested up to: 2.8 Stable tag: 1.2.2 This simple widget allows you to display your recently added Mobypicture items. == Description == The My Mobypictures plugin allows you to show your recently added items to Mobypicture.com on your WordPress powered website. This simple widget automatically displays them in your sidebar or add the code manually to sidebar if you don't use widgets. = Features = Version 1.2.2: bug fix - the option 'Use linked images' now also works without 'Use cropped images' being selected and visa versa New in version 1.2.1: as per request includes optional PHP code that retrieves only the 'raw' original images from Mobypicture.com and lets the theme style.css format the images. See Installation for details. * Simple * Customizable widget title * Supports Mobypicture user accounts, groups and public timeline * Change the number of images displayed (up to 20 images supported) * Adjust thumbnail size (default value in v1 was 70 x 70) * Adjust thumbnail padding (default value in v1 was 5) * Select image format (orginal thumbnail or square thumbnail) * Link to Mobypicture images on/off == Installation == = Themes with widget support: = 1. Upload `my-mobypictures.php` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Add the widget to the sidebar 4. Setup the widget 5. Enjoy! = Themes without widget support: = 1. Upload `my-mobypictures.php` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Insert and edit the PHP code listed below in your `sidebar.php` at the desired location: `< ?php mobypicture($public = false, $group = false, $username = chillez73, $num = 4, $w = 70, $h = 70, $p = 2, $square = true, $linked = true); ?>` * `$public = false` >> replace with `true` to shown images from public timeline; * `$group = false` >> replace with `true` to show images from a group (only use `$group` when `$public = true`); * `$username = chillez73` >> replace with your own Mobypicture username or group name (only use `$username` when `$public = true`); * `$num = 4` >> replace with the number of thumbnails you wish to display; * `$w = 70` >> replace with desired width of the thumbnail in number of pixels; * `$h = 70` >> replace with desired height of the thumbnail in number of pixels; * `$p = 2` >> replace with desired padding between the thumbails; * `$square = true` >> replace with `false` to use original thumbnail format (typically when width and height are not equal); * `$linked = true` >> replace with `false` when you do not wish to link thumbnails to the image on Mobypicture.com = Total style control = Alternatively you can also use below string of PHP code to only extract the 'raw' images from Mobypicture.com and let the image formatting be decided by your theme stylesheet (style.css): 1. Upload `my-mobypictures.php` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Insert and edit the PHP code listed below in your `sidebar.php` at the desired location: `< ?php mobypicture_raw($public = false, $group = false, $username = chillez73, $num = 4, $square = true, $linked = true); ?>` * `$username = chillez73` >> replace with your own Mobypicture username or group name (only use `$username` when `$public = true`); * Add img.mobypicture_raw {