my-mobypictures.php to the /wp-content/plugins/ directorymy-mobypictures.php to the /wp-content/plugins/ directoryInsert 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.comAlternatively 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):
my-mobypictures.php to the /wp-content/plugins/ directoryInsert 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);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




