Warning: Cannot modify header information - headers already sent by (output started at /home/havenl/domains/chillez.com/public_html/wp-content/plugins/link-library/link-library.php:1) in /home/havenl/domains/chillez.com/public_html/wp-includes/feed-rss2.php on line 8
Chillez.com » beta http://www.chillez.com ... just a playground to experiment with blogging Thu, 11 Mar 2010 10:29:52 +0000 en hourly 1 Mobypicture plugin v1.2.1 beta http://www.chillez.com/2009/04/mobypicture-plugin-v121-beta/ http://www.chillez.com/2009/04/mobypicture-plugin-v121-beta/#comments Sat, 11 Apr 2009 21:49:19 +0000 Gilles http://www.chillez.com/?p=389
Output Mobypicture plugin v1.2.1 beta

One of the comments received on the Mobypicture plugin is that it ignores the image style settings included the WP theme style.css that is being used. I have extended the plugin with an additional function that only retrieves the images from Mobypicture.com and does not include any formatting. You will have to include img.mobypic with the desired settings in your style.css

Installation

1. As always download the plugin and put contents in your wp-content/plugins folder and activate the plugin.

2. Open the theme style.css and include the class img.mobypic in the image handling section (if you have one ;-) ). I used these settings for my test:

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

3. Next, open the file sidebar.php in your favorite editor and include the following code at the desired location. Don’t forget to change the username. Of course you can change the other settings to your liking as well:

<h2>Mobypicture_raw Test</h2><ul>
<?php mobypicture_raw($public = false, $group = false, $username = chillez73, $num = 9, $square = true, $linked = true); ?>
</ul>

That’s it!
Download version 1.2.1 beta here. Public release v1.2.1 now available here.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

]]>
http://www.chillez.com/2009/04/mobypicture-plugin-v121-beta/feed/ 0