JPG Mag Ad
JPG Mag Ad: WordPress Plugin
Latest version is 0.1.
JPG Mag Ad is a WordPress 2.0 plugin that makes it easy to include JPG Magazine photo ads in your posts. You can even right or left float the ads. You simply pass in the parameters for the image – your username, the theme id, and if you want it right or left aligned, and the output is your image in JPG Magazine’s ad format.
To Use
To add an ad to your post, use the following:
[JPGMag]username,theme,float[/JPGMag]
Where:
- username is your JPG Magazine username
- theme is the theme id for your entered image
- float can be one of three values: left, right, or none
Log into your JPG Magazine account. Choose an image that you have submitted for a theme. Click on Promote your Photo!. In the textbox, take note of the person (your username), and theme.
http://box.jpgmag.com/badge.php?person=tammie&theme=1
The code above shows the value of the Javascript source. In it, the username is tammie and the theme is 1.
Download
Installation
Save the file above as jpgMag_ad.php, and upload it to your WordPress Plugins folder. Activate it in your WordPress admin login under plugins.









