Plugin Directory

My Mobypictures

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 { } to your theme stylesheet style.css

Example settings (see Screenshots for result):

img.mobypicture_raw { padding: 0px; margin: 0 2px 3px 0; border: 4px ridge #2772B3; width: 50px; height: 50px; }

You can also insert this code in a page or post if you want (see also Screenshots). However this requires the ability to run PHP in your post and/or page. This feature is not included in WordPress by default. You will need a plugin to enable this. For example: runPHP

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)