PixelPost Addons

   PixelPost: Addons

Installation and Configuration of PixelPost Addons which extend functionality by adding advanced features.

Addons in Use 2008

 * Image Statistics — detailed info about visitors and images viewed for current month. v2.01.  file.
 * Custom Fields — add extra fields to your images. v1.3.  file.
 * Copy Folder with Titles and Description — replacement for Copy Folder addon to read image titles and descriptions from  text file. v1.1β.   file.
 * MediaRSS — (PicLens support). v1.0.2.   file + modify template.
 * Contact Form — add contact page to site. v2.01.  (modified code) and   files + modify template.
 * Search — adds search box for title and description fields. v1.0β.  (modified code) file.
 * ImageCycle — sets never ending cycle for Previous and Next image links. Excellent! v1.0.0.  (modified code) file.
 * Flash Crop Admin — flash crop tool for thumbnails. vv1.22.  file +   folder.
 * Tag Organizer — rename and edit tags globally. v1.11.  file.
 * Ajax Categories Manager — easily edit categories for images. v1.02.  file +   folder.
 * Fastedit — add edit link to images on live site. v1.5.1.  (modified code).
 * Clickable Tags (schonhose.nl) — generates clickable tags list when editing images. Excellent. v0.3.  (modified code) file.
 * Google Site Map Creator — generates XML sitemap . v1.0..
 * Scalable Images — enables images to be scaled for visually impaired users. v1.0..
 * PPost Refresh Custom Pixelpost Admin — replacement Admin css. v0.2..
 * [ ] — . v..

Cool, but no joy

 * dfGallery — add a dfGallery slideshow to a page on site. Requires MediaRSS addon. v1.1.  folder. See Forum Thread
 * Pixelpost Signature — output latest or random image that you can use as a signature on other sites. v1.5.  file+folder.
 * Coverflow Standalone — standalone version of the coverflow browse addon that can be used in any template. v1.0.  +   folder.
 * Auto Resize — auto resize a full-sized image to specified width while maintaining aspect ratio. v2.1.3.  folder and files.
 * Auto Resize Admin — auto resize a full-sized image to specified size. v1.21.  file +   folder.
 * Slideshow (Using Flash) — configurable slideshow. v.1.1  file +   folder.
 * Image Reflection Generator — add image reflection, nice for right site. v1.2..
 * Admin Google Sitemap Ping Service — will ping google with your sitemap. v1.0.  file.
 * Slideshow — adds play slideshow link to images page. v1.0.4.  file.
 * Photoblink Thumbnails — display tiny thumbs and show fullsize thumb when hovering. v1.0.  file.
 * EntryPage Addon (schonhose.nl) — show custom home page. v1.0β.  folder.

Additional Research Needed

 * Forum: Highlight Colors — quirky addon that allows your theme to change it's colours based on what's in the image. Nice.
 * Forum: What About a Search Function — discussion with code for Search addon, but not completed.
 * Forum: Slideshow addon

Addon Manager Admin Addon
Allows automatic upload of Addon via Options > Add Addon in Admin panel. Just upload and go.
 * See Downloads: Addon Manager page.

Ajax Categories Manager Admin Addon
AJAX based admin addon that allows you to set categories for your pictures all at once via an admin menu item CategManager.
 * See Addons: Ajax Categories Manager page.

Album View Addon
Browse pages addon that displays a thumbnail image for each category, along with the category name and number of photos in the category. This then links to the browse pages for each category. Can set to use most recent photo or random.
 * See Addons: Album View page.

Auto Resize Admin Addon
Resizes uploaded images to a predefined size while preserving EXIP data. Set size in the Admin panel Options > Thumbnails.
 * See Forum: Auto Resize Addon.

Default setting keeps the fullsize as. To discard fullsize image, edit  and change to FALSE: $keepfullsizeimage = TRUE;

Clickable Tags Admin Addon
Excellent addon which automatically generates a list of clickable tags when editing images.
 * See schonhose.nl Clickable Tags Addon developer's website.

Contact Form Addon
Add a Contact Form to a PixelPost site so visitors can email you without exposing your email address.
 * See Addons: Contact Form page.

Contact Form Sitewide Tags (use on any site template)

 * — add to site menu to display a link to a contact form.
 * — displays the url to the contact form. Use this if you want to customize the link. Example:.

Contact Form Contact Page Tags (use in the Contact Form template)

 * — required tag that should be put in the contact form template header (between the code).
 * — required tag that should be put in the form so the form can disable the submit button after sending the e-mail.
 * — shows diagnostic messages that come up when submitting the form as well as reporting success or failure of sending the e-mail.
 * — contains the value of the name field of the form on submit. Useful if form was not validated.
 * — contains the value of the e-mail field of the form on submit. Useful if form was not validated.
 * — contains the value of the message field of the form on submit. Useful if form was not validated.

CoverFlow Standalone Addon
A browse page addon that generates a carousel of the image thumbnails. Drag the slider to see the pics.
 * See Addons: Coverflow Standalone page.
 * http://wiki.fishcakesmedia.com/adev/skitch/pixelpost-addon-coverflow-20080711-000510.jpg

Custom Fields Admin Addon
Allows you to add unlimited fields to images and set ields visibility and fields order.
 * See Downloads: Custom Fields Addon page and Forum: Custom Fields Addon.

To Install: Add these codes to template file:   ...   ... 
 * 1) Copy   to   folder.
 * 2) Define custom fields in Admin panel Addons > Custom Fields section.
 * 3) Edit your images and fill in the values.

Database Manager Admin Addon
This one sounded awesome, but it completely buggered my site when installed. Look again later.
 * See schonhose.nl DBManager Addon developer's website.

Dynamically Resize Image Admin Addon
BROKEN! ''I couldn't get this to work. Just ended up with blank image page.'' Dynamically resizes images to specified size when displayed. Current aspect ratio is retained within range of max width and max height. Can also add link to full size image if desired.
 * See Downloads: Dynamic Resize Image page.

You must edit Template to point at the  page. For the Simple Template, replace this line With this line (change the 800 and 600 to whatever you require): You can also add code to allow access to the full size image:

FastEdit Link Addon
Display link on images page when logged in to edit page for image.
 * See Downloads: FastEdit Addon page.

To install copy  to your   folder and insert the following link into  : 

If PixelPost is installed in sub-folder then you need to add the folder to the code: $fastedit = "Admin";

I modified this to include admin links for Browse and MiniCMS pages:  -- Browse  -- MiniCMS

Flash Crop Admin Addon
Flash cropping tool for thumbnails that replaces the default 12CropImage. Much more user friendly and can zoom into images further. Excellent.
 * See Addons: Flash Crop Admin Adon page.
 * http://wiki.fishcakesmedia.com/adev/skitch/pixelpost-admin-flashcrop-20080711-003546.jpg

Installing Flash Crop Admin Addon:
 * 1) Copy the file admin_FlashCropImage.php to your admin folder;
 * 2) Copy the folder flash_crop_classes to your includes folder;
 * 3) Go to the Addons page and turn of the 12CropImage Tool addon;
 * 4) Turn on the Flash Crop Admin addon;
 * 5) Edit and image and click on the Flash Crop submenu to load the editor.

Flash Thumbnail Scroller Addon
Excellent addon that puts a flash scroller on the images page with links to all your images. Comes with built-in user guide!
 * See schonhose.nl PixelPost Flash Thumbnail Scroller Addon developer's website.

FTP Permissions Admin Addon
Need to look into this one.
 * See schonhose.nl PixelPost FTP Permissions Addon developer's website.

Global Comment Settings Admin Addon
If you open the Admin > Options page, you can set the Global Comment Settings for your PixelPost site setting to:
 * Publish Instantly — everything submitted gets published (default);
 * To Moderation Queue — site administrator must approve comments before they are published;
 * Disable Comments — comments option is switched off.

The one catch is that this setting only affects images uploaded After you make the change, so all your previously uploaded images will have the old setting. You can change this option by editing your old images and changing the Comment Settings for each image one at a time.

The Global Comment Settings Addon allows you to do this globally for all images. It also has a very useful summary with details of how many images are in each of the three comment setting categories.
 * See Docs: Comment Settings for more info on changing your comment settings.
 * Goto Forum: Comments post for download link.

Google Maps Addon
Excellent addon which displays google maps with markers for all the photos.
 * See schonhose.nl PixelPost Google Maps Addon developer's website.
 * Based on Forum: JB Google Maps addon. See jonbulava.com JBGMap developer's website for this version.

Google Search Addon
Adds Google Search box to website. Need to register for API Key.
 * See Downloads: Google Search addon page and Forum: Does google really like "clean urls".

Couldn't get this to work so posted Forum: Google Search Addon on Tue 21/08/07.

Google Site Map Creator Admin Addon
Creates an XML file which helps get rankings up on Google and other search engines. Put the  folder.
 * See Forum: Google Sitemap Creator. Access the sitemap at:.
 * See also prince.little-kingdom.com Google Sitemap Tutorial and learn how to submit site to Google.

Google Site Map Ping Admin Addon
Automatically submits sitemap to Google by triggering a HTTP-request on new image upload.
 * See Downloads: Google Sitemap Ping page and Forum: Admin Google Sitemap Ping Service.

Image Statistics Admin Addon
Shows detailed information about visitors and the images viewed for the current month, and optionally creates an archive of past months. You can also share the month stats for every image with site visitors by adding these tags to your image_template.html page:
 * See Addons: Image Statistics page.

MiniCMS Admin Addon
Modified. Hack of MiniCMS and MaxiCMS with better design and custom TinyMCE menu bar.
 * 1) Put the   file in the   folder.
 * 2) Put the   file in the   folder.
 * 3) Add links to all pages you want into your template.
 * 4) Put the   folder in your   folder.
 * 5) Use the MiniCMS link in your Admin panel.

Also added Admin Edit link that can be added to template with  Code insert for : Note: You must edit the path if PixelPost is installed in sub-folder.

MiniCMS
Allows you to create and edit pages from the Admin panel using TinyMCE editor. Pages must be hard coded into the template. To Install:
 * See Forum: MiniCMS Addon page.
 * 1) Put the   file in the   folder.
 * 2) Put the   file in the   folder.
 * 3) Add links to all pages you want into your template.
 * 4) Put the   folder in your   folder.
 * 5) Use the MiniCMS link in your Admin panel.

MaxiCMS
Same as MinCMS but gives full TinyMCE editor.
 * See maxiCMS comment at bottom of Forum: MiniCMS Addon page.

To Install:
 * 1) Put the   file in the   folder.
 * 2) Put the   file in the   folder.
 * 3) Add links to all pages you want into your template.
 * 4) Download the latest version of the editor via tinymce.moxiecode.com TinyMCE Downloads page.
 * 5) Put the   folder in your   folder.
 * 6) Put the   file in the   folder.
 * 7) Use the MiniCMS link in your Admin panel.

Pop3 Post Admin Addon
Posts an image emailed from a specified address. Subject is title. Body is details.
 * See Downloads: Pop3 Post Addon and Forum: Pop3 Post Support page. This won't accept images posted via Entourage. Must test mail client before using.

To Install:
 * 1) Put the   file in your root folder.
 * 2) Put the   folder in your   folder.
 * 3) Put the   file in your   folder.
 * 4) Create a secret email address to use for this, ensuring it is secret and secure.
 * 5) Use the Admin panel Addons > Pop3_post to set the pop3 information of the specific email address.
 * 6) Set up chron job to execute   to check mailbox or just load the script in a browser to execute.

Pop3 Post Code Corrections
To fix error message  NOT an RFC 1939 Compliant server , edit file  and change this throughout: if($this->RFC1939) { CHANGE to (add exclamation point): if(!$this->RFC1939) { And another fix: Line 107 $this->BANNER = $this->parse_banner($reply); Line 108 $this->RFC1939 = $this->noop; CHANGE to Line 107 $this->BANNER = $this->parse_banner($reply); Line 108 return true; Line 109 $this->RFC1939 = $this->noop;
 * See wordpress.org Support: Post via email.

Scalable Images Addon
Addon created by me to forgo the need for the hack. Converts the standard px (pixel) dimensions of images to em values so that you can use CSS to Scale Images. This allows you to comply with vision impaired accessibility guidelines.

The additional tags are  and . You will need to change the HTML template for your site to enable this functionality. This does not yet work for Thumbnails.
 * 1) Put the   file into your   folder.
 * 2) Edit your   file to include the CSS code out lined below.

Original Hack
Code hack to allow Scalable Images as EM values using PX to EM Formula. Must also modify Template.
 * See webmasterworld.com Forum: px to em discussion with calculations and riddle.pl EM Calculator to convert px's to em's.
 * PX to EM Formula <tt>px*0.0626=em</tt>

Remember that EM is a derivative of the Font Size for the given element, so you'll need to tinker with it depending on page. One em is equal to the pt size of the M (the widest font element) of the current font and changes depending on the size of the font in each element.

Edited  to insert new variables: Code change to lines starting at 385: Changed to: Also, edit Template  and   insert in header: Image html:
 * <IMAGE_WIDTH_EM>
 * <IMAGE_HEIGHT_EM>

Search Addon
One doesn't exist so may have to code myself.
 * See Forum: Search Function and nauglevision.com developer's website with sell option and nice thumbnails on home page.

Tag Organizer Admin Addon
Makes it much much easier to organise your tags! Can rename them on all images at once, or even assign images with one tag to another. Also has an overview option so you can quickly edit all your tags at once. Very nice. http://wiki.fishcakesmedia.com/adev/skitch/pixelpost-addon-tag-organizer-20080711-005255.jpg
 * See Addons: Tag Organizer page.

TinyMCE WYSIWYG Editor Admin Addon
Couldn't get this Addon to work with miniCMS so did following hack. This adds a TinyMCE WYSIWYG Editor to the Image Description field.
 * See Downloads TinyMCE WYSIWYG Editor Addon or Forum: WYSIWYG Editor Admin Addon post.

TinyMCE WYSIWYG Editor Admin Hack
Hacked  to enable TinyMCE Editor for Image Description in image edit and add image pages.
 * See Forum: WYSIWYG editor for Pixelpost.

Starting on line 230, replace: With: