Free Photos

Usage:

Free photos is a Word Press plugin created by Fotoglif to enable bloggers to get access to top quality news, sports and celebrity images that can be added to their blog free of charge from within the Word Press "New Post" page. Easily search for images or browse the categories and add images to your post in any size with one click! These images are available as an advertising supported include to your blog posts and a small, non-intrusive advertisement will appear at the bottom of the image. We share revenue from the advertisements with bloggers who have registered at http://fotoglif.com. Simply add your publisher ID below after registering to participate in the revenue share. Need Help? Go to http://getsatisfaction.com/fotoglif and we will be pleased to assist you in your use of the plugin.


Options:

Publisher Id: ">
Add your publisher ID above to participate in the revenue share. Your publisher ID was emailed to you in the welcome message when you registered at http://fotoglif.com. Please check you spam as sometimes our emails can get filtered out.
Number of Images Displayed:
Choose the number of images you would like to have displayed when you search using the Free Photo's Plugin (Max: 40)
'; // Use nonce for verification echo ''; // The actual fields for data entry echo '
'; echo ' '; echo ''; echo '
'; echo ''; echo ''; echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
'; echo '
'; fotoglifplugin_draw_embedpanel(); echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo ''; echo '
'; echo '
'; echo ''; } /* Prints the edit form for pre-WordPress 2.5 post/page */ function fotoglifplugin_old_custom_box() { echo '
' . "\n"; echo '
' . "\n"; echo '

' . __( 'Free Photos', 'fotoglifplugin_textdomain' ) . "

"; echo '
'; // output editing form fotoglifplugin_inner_custom_box(); // end wrapper echo "
\n"; } /* When the post is saved, saves our custom data */ function fotoglifplugin_save_postdata( $post_id ) { // verify this came from the our screen and with proper authorization, // because save_post can be triggered at other times if ( !wp_verify_nonce( $_POST['fotoglifplugin_noncename'], plugin_basename(__FILE__) )) { return $post_id; } // verify if this is an auto save routine. If it is our form has not been submitted, so we dont want // to do anything if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) return $post_id; // Check permissions if ( 'page' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_page', $post_id ) ) return $post_id; } else { if ( !current_user_can( 'edit_post', $post_id ) ) return $post_id; } // OK, we're authenticated: we need to find and save the data $mydata = $_POST['fotoglifplugin_new_field']; // Do something with $mydata // probably using add_post_meta(), update_post_meta(), or // a custom table (see Further Reading section below) return $mydata; } ?>