This is the homepage of the WP-PhotoNav plugin for WordPress. It is mainly thought as a more interactive platform than the plugin page at the WordPress plugin directory.
I do not plan to significantly increase the functionality of the plugin. Of course I will provide necessary maintenance either in accordance to changes in WordPress itself or due to bugs in the produced output.
If you are interested in the technical details, want to report issues or even contribute, please use the public project on GitHub.
Please download this plugin from the WordPress plugin directory.
You can use WP-PhotoNav either via WordPress shortcodes or via the media button on top of the editor, which will show a dialogue similar to the ones you know from inserting common images. The dialog does nothing more than automatically generating the shortcode for you. The following examples have the shortcode used to generate them below the image.
This is the easiest way to include a panorama in your post. You only have to specify the URL of the image.
For more sophistication, WP-PhotoNav accepts a number of parameters, most of which are demonstrated in the following example:
[photonav url='/wp-uploads/2009/07/panorama02_resized.jpg' container_height=300 mode=drag360 popup=colorbox animate=left position=right label=1]
The following parameters are used:
- container_height – Defines the height of the displayed frame (hence the container). If the image is higher than the given height, vertical scrolling (or dragging) is enabled. The unit is one pixel. There is also the parameter container_width in case you don’t want the frame to fill the horizontal space available in the post or page.
- mode – Specifies one of the following modes:
drag360where move is the default mode and doesn’t have to be specified. The drag mode allows the user to navigate the panorama by dragging it inside the frame. The drag360 mode is similar, but generates the illusion of an vertically infinite image. This is useful for 360° panoramas where the user can turn around in each direction infinitely.
- popup – If specified, enables a popup for enlarged view. The only valid popup type at the moment is
colorbox, which only works if the ColorBox plugin for jQuery is available. It is provided e.g. by the jQuery Colorbox plugin. You have to install this plugin separately to make use of the popup functionality.
- animate – If specified, enables one of the following animation modes: left, right or zoom. By using this option, the panorama can be rotated automatically starting from the
- position – Defines the initial horizontal postion. The parameter may be a pixel value for horizontal displacement or take any one of the following relative values, for which the corresponding pixel value is automatically calculated: center, left or right.
- label – If this option is enabled, an overlay will be displayed in the top right corner of the image to inform the user of the additional capabilities.
Plugin en el español por Andrew de WebHostingHub.