Basic usage
The following video will walk you through the basic operation of the plugin.
Step by Step
The following series of videos offers an in-depth guide to using Portfolio Slideshow Pro.
PSP Docs
Shortcode Attributes
If you would like to customize your slideshows on a per-slideshow basis, you can add the following attributes to the shortcode, which will temporarily override the defaults.
To select a different page parent ID for the images:
[portfolio_slideshow id=xxx]
To add a custom class to the slideshow wrapper:
[portfolio_slideshow class=alignright]
To change the image size you would use the size attribute in the shortcode like this:
[portfolio_slideshow size=thumbnail], [portfolio_slideshow size=medium], [portfolio_slideshow size=large], [portfolio_slideshow size=full], [portfolio_slideshow size=custom]
This setting can use any custom image size that you’ve registered in WordPress.
You can specify a custom image size directly in the shortcode with the height and width attributes:
[portfolio_slideshow width=600], [portfolio_slideshow height=450], [portfolio_slideshow width=600 height=450]
The height and width attributes override the size attribute and by default will not upscale or crop the images unless used with the crop attribute.
You can crop the main images to a specific size:
[portfolio_slideshow crop=true], [portfolio_slideshow crop=false]
This setting must be combined with a custom image size (either in the plugin settings or in the shortcode). Both height and width must be specified. This setting will force images to fit, may remove parts of the image, and may result in upscaled images, so try to upload images that are as close to the intended cropped size as possible.
You can add a custom slide container height:
[portfolio_slideshow slideheight=400]
Useful if you don’t want the page height to adjust with the slideshow.
Image Transition FX:
[portfolio_slideshow trans=scrollHorz]
You can use this shortcode attribute to supply any transition effect supported by jQuery Cycle, even if they’re not in the plugin! List of supported transitions here. Not all transitions will work with all themes, if in doubt, stick with fade or none.
Transition Speed:
[portfolio_slideshow speed=400]
Add a delay to the beginning of the slideshow:
[portfolio_slideshow delay=1000]
Show titles, captions, or descriptions:
[portfolio_slideshow showtitles=true], [portfolio_slideshow showcaps=true], [portfolio_slideshow showdesc=true] (use false to disable)
Center the slideshow:
[portfolio_slideshow centered=true], [portfolio_slideshow centered=false]
Time per slide when slideshow is playing (timeout):
[portfolio_slideshow timeout=4000]
Autoplay:
[portfolio_slideshow autoplay=true]
Duration:
You can set a time for the entire slideshow, in seconds, which will automatically calculate the per-slide timeout for you. This pairs nicely with the audio player support.
[portfolio_slideshow duration=300]
Audio:
You can add audio to the slideshow by specifying any MP3 URL. This feature pairs nicely with the “Duration” attribute, you can create a slideshow that lasts exactly as long as the audio file. Be careful with autoplay! If you have multiple posts on a page (the blog homepage, for example), you\’ll end up with overlapping audio. Autoplay is recommended on single pages only. You must have our free Haiku audio player plugin installed and activated for this feature to work.
[portfolio_slideshow audio=http://madebyraygun.com/uploads/audiofile.mp3]
Randomize slideshow:
[portfolio_slideshow random=true]
Exclude featured image:
[portfolio_slideshow exclude_featured=true]
Loop the slideshowg:
[portfolio_slideshow loop=true]
disable slideshow looping: [portfolio_slideshow loop=false]
Clicking on a slideshow image::
Clicking on a slideshow image can advance the slideshow, open a custom URL (set in the media uploader), open in a full-screen gallery mode, or open the full-size version of the image in a lightbox:
[portfolio_slideshow click=advance] or [portfolio_slideshow click=openurl] or [portfolio_slideshow click=fullscreen] or [portfolio_slideshow click=lightbox] or [portfolio_slideshow click=none] to deactivate all click behavior.
Click target::
If you’ve set the click behavior to open a URL, you can specify whether it should open in the current window or a new window:
[portfolio_slideshow target=current] or [portfolio_slideshow target=new] or [portfolio_slideshow target=parent] The parent option is for slideshows embedded in iframes and popups.
Navigation links can be placed at the top:
[portfolio_slideshow navpos=top]
or at the bottom: [portfolio_slideshow navpos=bottom]
Use [portfolio_slideshow navpos=disabled] to disable navigation altogether. Slideshow will still advance when clicking on slides, using the pager, or with autoplay.
Navigation link style can be selected:
[portfolio_slideshow navstyle=text] or [portfolio_slideshow navstyle=graphical]
The navigation info can be customized:
Hide the play button:
[portfolio_slideshow showplay=false]
Hide the slidecounter:
[portfolio_slideshow showinfo=false]
Pager style can be selected:
[portfolio_slideshow pagerstyle=thumbs][portfolio_slideshow pagerstyle=carousel][portfolio_slideshow pagerstyle=bullets][portfolio_slideshow pagerstyle=numbers]
In the carousel, you can change the number of thumbnails per row:
[portfolio_slideshow carouselsize=8]
When the thumbnail pager is selected, you can customize the thumbnail size, thumbnail margin, and whether to enable proportional (non-cropped) thumbnails:
[portfolio_slideshow thumbnailsize=80][portfolio_slideshow thumbnailmargin=10][portfolio_slideshow proportionalthumbs=true]
You can also control the width of the thumbnail pager if you want to limit the number of thumbnails per row:
[portfolio_slideshow pagerwidth=500]
Pager position can be selected:
[portfolio_slideshow pagerpos=top] or [portfolio_slideshow pagerpos=bottom]
or disabled: [portfolio_slideshow pagerpos=disabled]
Toggle thumbnails can be enabled or disabled:
[portfolio_slideshow togglethumbs=true] or [portfolio_slideshow togglethumbs=false]
If toggle thumbnails are enabled, you can define the default togglestate to be open or closed:
[portfolio_slideshow togglestate=open] or [portfolio_slideshow togglestate=closed]
You can enable the fancygrid, which toggles between thumbnail view and slideshow view:
[portfolio_slideshow fancygrid=true]
Setting togglestate=open while in FancyGrid view shows thumbnails first, setting togglestate=closed will show the main image first with the option to toggle the thumbnails.
Fullscreen Mode for slideshows can be added via the shortcode or the options panel. This makes a slide open into a fullscreen, mobile-friendly slideshow when a slide is clicked, and adds a button to the nav that also activates the fullscreen slideshow.
Simply set the “Clicking on a slideshow image” option to “Opens a fullscreen slideshow” in the options panel, or add it in the shortcode for specific slideshows:
[portfolio_slideshow click=fullscreen]
Include or exclude slides:
[portfolio_slideshow include="1,2,3,4"]
[portfolio_slideshow exclude="1,2,3,4"]
You need to specify the attachment ID, which you can find in yourMedia Library by hovering over the thumbnail. You can only include attachments which are attached to the current post. Do not use these attributes simultaneously, they are mutually exclusive.
There is also an “Exclude from slideshow” checkbox in the image uploader. Instead of including or excluding slides from your slideshow, you may want to consider adding a standalone slideshow with just the images you need and inserting that instead.
Multiple slideshows per post/page:
You can insert as many slideshows as you want in a single post or page by using the include/exclude attributes, or by creating multiple standalone slideshows.
Popup Shortcode
It’s possible to create a link to a popup window that includes a slideshow with the shortcode [popup-slideshow id=xx text="Link text goes here"]. This shortcode is generated when you upload images using the standalone slideshow builder in the WordPress dashboard sidebar. Slideshow ID and link text are the only required attributes, but the shorcode supports several configuration options.
Window height: customize the height of the popup window:
[popup-slideshow windowheight=600]
Window width: customize the width of the popup window:
[popup-slideshow windowwidth=800]
Height: customize the height of the slideshow inside the popup window:
[popup-slideshow height=600]
Width: customize the width of the slideshow inside the popup window:
[popup-slideshow width=800]
Thumbnail: use a thumbnail image instead of text to trigger the popup window:
[popup-slideshow thumbnail=true]
Thumbnail size: customize the size of the thumbnail image used to trigger the popup window:
[popup-slideshow thumbnail=true thumbsize=150]
Slideheight: create a minimum fixed height for the slides inside the slideshow area (prevents items below the slideshow from adjusting to the height of the slideshow)
[popup-slideshow slideheight=400]
Center the slideshow
[popup-slideshow centered=true]
Enable the carousel pager
[popup-slideshow carousel=true] or [popup-slideshow carousel=false]
Note that the carousel pager is the only pager available in popup mode.
Carousel size: the number of thumbs to show in the carousel.
[popup-slideshow carouselsize=6]
Captions, descriptions, and titles
[popup-slideshow showcaps=true showdesc=true showtitles=true]
Autoplay
[popup-slideshow autoplay=true]
Navigation style
[popup-slideshow navstyle=graphical] or [popup-slideshow navstyle=text]
Navigation position
[popup-slideshow navpos=top] or [popup-slideshow navpos=bottom] or [popup-slideshow navpos=disabled]
Working with Video
Portfolio Slideshow Pro allows you to include inline videos from YouTube and Vimeo. Just add a link to your YouTube or Vimeo video in the “Portfolio Slideshow slide link URL” field when you upload your images. It probably makes sense to use a screenshot or thumbnail from your video as the image you’re uploading, since this will be shown in the slideshow carousel.
It is possible to customize the size of the video by appending width and height variables to the video URL. The variable format is ww for window width and wh for window height, like this:
http://www.youtube.com/watch?v=mddw-cn-mOU&ww=800&wh=600
Changelog
1.6.0
* New feature: Inline videos – enter a YouTube or Vimeo link in the URL field and the video will be displayed inline with the slideshow.
* New feature: Fullscreen galleries – adds click option to view a mobile-friendly fullscreen gallery (powered by Photoswipe)
* New feature: Crop images to specified dimension.
* New feature: Use slideshow thumbnail to link to popup slideshows.
* New feature: Control background loading of images for better slideshow performance.
* Improvement: Select slideshow by title in WYSIWYG shortcode generator.
* Improvement: Better image quality by default.
* Improvement: Nowrap feature is now called “loop”
* Improvement: FancyGrid and thumbnail toggle options can start with thumbnails visible or hidden.
* Improvement: Compatibility with ProPhoto mobile theme.
* Bug fix: Some options were not correctly preserved during upgrades.
* Bug fix: Horizontal scroll transition wasn’t scrolling properly.
* Bug fix: Comments in popup template were causing php header error with some themes/plugins
* Bug fix: Slideshow no longer flashes on page load in some themes.
* Javascript & CSS compatibility and performance improvements.
1.5.6
* Better CSS namespacing to avoid theme conflicts (Bootstrap, etc).
* Cleanup of deprecated cache functions
* Fixed carousel behavior when too few items are present.
* Fixed WP_DEBUG errors in plugin compatibility tests.
* Better function name for TinyMCE functions to avoid conflicts
* Better compatibility with other plugins using the WPThumb library
1.5.5
* Fixed typo in shortcode attributes
* Deactivate free version of plugin on activation of Portfolio Slideshow Pro
* Fix overlapping navigation in certain circumstances.
* Improved CSS compatibility with more themes
* Fixed upgrade bug that sometimes deactivated Cycle script
* Last few WPThumb errors in admin (Relevanssi compatibility)
* Better validation
1.5.4
* Fixed an issue with WPThumb interfering with template image functions.
1.5.3
* Prevent WPThumb from loading in the admin section.
1.5.2
* Fixes an error message in the media library.
1.5.1
* Fixes a bug with .gif file compression.
1.5.0
* Improvement: Plugin is now fully internationalized and ready for translation
* New feature: Fancy Grid option for slideshow (toggle between thumbnails and main image view)
* Improvement: Images now resize responsively according to browser height as well as browser width
* New feature: New popup slideshow format
* Improvement: Added “click target” option to the shortcode
* Improvement: Thumbnails can now be proportional (no longer limited to square)
* New feature: Links to Vimeo and YouTube now open up in popup rather than leaving the site
* Improvement: Replaced timthumb.php script with WP Thumb for better server compatibility
* New feature: Mouse scroll in lightbox advances the slideshow
* Improvement: Carousel is now a completely separate pager option
* Improvement: Thumbnail size and thumbnail margin can now be set in shortcode
* New feature: Option to set a maximum pager width for thumbnails
* New feature: Checkbox in image uploader to exclude images from slideshow
* Improvement: Carousel autoscroll is temporarily disabled if user is browsing the carousel
* Improvement: Added option for _parent in click target menu and in shortcode
* Bug fix: Corrected fatal error on activation if free version of the plugin is activated
* Bug fix: Height of slideshow wasn’t calculated properly on random slideshows or when linking directly to an image within a slideshow
* Bug fix: Many minor HTML & CSS improvements.
1.4.9
* Added new “delay” attribute to delay the start of the slideshow.
* Javascript optimizations
1.4.8
* Added new “slideheight” attribute to allow for fixed-height slideshows.
* Thumbnail alt tags now display the image title.
* Changed image class name for compatibility with ProPhoto blogs.
* Option to disable the Cycle script, in case another copy is already loaded.
1.4.7.1
* Fixed bug that caused “fopen” errors on some servers.
1.4.7
* Singinifcantly improve slideshow load time for slideshows with many images or with very large images.
* Improve touch/wipe response on iOS devices.
* Added class attribute to shortcode.
* Fluid width is now available as shortcode attribute.
* Fix for missing images on some multi-site installs.
* Fix for pager active class not activated on some slideshows.
* Fix for unclickable last slide (and incomplete lightbox gallery) if nowrap is set to true.
1.4.6
* Fix for missing thumbnails in some cases.
* Fix for incorrectly sized images in some cases.
* Keyboard advance & swipe advance are selectable from settings panel.
* Drag and drop sorting of images in slideshow uploader.
1.4.5.1
* Fixed small javascript issue which caused slideshows to autoplay in some circumstances.
1.4.5
* Notification if GD is not supported on server
* Improved slideshow javascript load times.
* Fluid-width theme support is disabled by default.
* Link targets for custom URLs were blank.
* Support for larger original images in thumbnailer script.
1.4.4
* Important security update for timthumb.php script.
* Validate fields in administrative panel so empty fields don’t cause an error.
* Fixed error with some widget configurations that broke slideshows.
* Added debug mode to help with troubleshooting.
1.4.3
* Fixed minor JS bug that prevented the pause button from working.
1.4.2
* Fix for thumbnail generation on WordPress Multisite installations.
* Fix display for slideshows with javascript disabled.
1.4.1
* Notification if cache directory can’t be created on install.
* Notification if auto-updates can’t run because email address isn’t entered.
* Notification if auto-updates can’t run because server PHP version is unsupported.
* Added option to disable fluid-width theme support.
* Slideshows load more quickly.
* Delay in older versions of IE have been fixed (modified Fancybox script).
* Visual improvements in IE 7.
* Cleaned up some HTML for the validator.
1.4.0
* New feature: You can now specify custom sizes directly in the shortcode with the “height” and “width” attributes.
* New feature: Shortcode builder button in visual editor
* New feature: Slideshow advances on swipe, or keyboard arrow press
* Improvement: No regeneration necessary for custom sizes and thumbnails – sizes are available immediately.
* Improvement: Carousel advances automatically when images advance to next row.
* Improvement: Customize the navigation by hiding the play button, the slide numbers, and change the displayed text.
* Improvement: Specify the number of thumbnails per row in the shortcode with the “carouselsize” attribute.
* Improvement: Slideshows now dynamically resize in fluid-width themes (works with “fade” transition only).
* Improvement: Options page completely re-coded using WordPress settings API for better display and performance in WordPress 3.2.
* Improvement: Settings are stored as an array in a single database option for better performance.
* Bugfix: Autoplay slideshows with audio don’t cause Flash error in IE & Firefox.
* Bugfix: Toggle icon doesn’t show if thumbs are disabled
* Bugfix: Descriptions support newline breaks.
* Many minor HTML & CSS improvements for compatibility with a wider variety of themes.
1.3.4
* CSS: Thumbnails weren’t floating properly in some themes.
* First slide of slideshow overlapped with page content in some themes.
* Minimized scripts and CSS.
* Updated to latest version of cycle plugin, 2.9.9.
1.3.3
* Fixed loading problem with Fancybox & IE.
* Changed .gallery class selector for Fancybox to .gallery-item so it no longer clashes with other themes using a generic .gallery class.
* Changed admin page capability to manage options for better compatibility with role management plugins.
* Minor PHP housekeeping issues.
1.3.2
* Fix for coflict with some plugins that use the same function or file names.
* Changed the load order of scripts for better performance in IE.
* Fixed the spacing issue in lightbox titles.
* Better fallback if custom thumbnail size is not available (no longer uses full-size images in thumbs).
* Restored display for users without javascript.
1.3.1
* New option for images that link to custom URLs to open in same window or new window.
1.3.0
* Standalone slideshow builder: create reusable slideshows to add to any page, post, widget, or PHP template.
* New sidebar widget! Add a slideshow to any widgetized area of your site.
* Support for custom image sizes.
* New autoplay and slideshow timing features.
* Audio player integration.
* Randomized slideshows.
* Lightbox mode.
* Improved carousels.
* Improved in-app help.
* Several bugfixes and general code improvements.
1.2.5
* Bugfix: Slideshows with bullets were showing the wrong number of bullets if include or exclude was selected.
* CSS: Thumbnail toggle did not show up in Firefox in some configurations.
* New feature: Optionally enable custom post type for standalone slideshows.
1.2.4
*Bugfix: Auto-updater was not working properly in 1.2.2 and 1.2.3.
1.2.3
* Bugfix: Compatibility update for WP 3.1 in plugin updater script
* CSS fix for thumbnails not clearing properly when followed by additional content.
1.2.2
* Bugfix: stop/start slideshow function was sometimes unreliable
* Updater now gives a notice if you’re using an old version of PHP
* Bullets pager looks better in IE
* Slideshows load more quickly
* Click on play button now starts slideshow from the current slide
* Bugfix: ScrollHorz transition was showing whitespace between slides
* General HTML, CSS, Javascript, and PHP cleanup
1.2.1
* Added option for thumbnail carousel
* Added option to toggle thumbnails
* You can now use any post ID as the slideshow parent
* Added options for thumbnail margins and selectable number of thumbnails per row
* Improved pager styles, especially for centered slideshows
* Bugfix: The updater now only runs if you’re using PHP5 (fixed crash)
* Bugfix: No more blank slides (even if slideshow content is filtered by another plugin)
1.1.9
* Smoothed transitions for centered slideshows
* Centered pagers and navigation on centered slideshows
* Fixed bullet visibility in IE.
1.1.8
* CSS fix: thumbnails are centered on centered slideshows
* Javascript fix: empty slides are no longer shown when slideshow content is filtered by another plugin.
1.1.7
* Added ability to center slideshows
* Eliminated javascript, navigation, and pager elements from displaying in feeds.
1.1.6
* Added auto-updater function
* Added link to settings page on plugin activation page
* CSS fix for z-index problem with suckerfish menus
* CSS fix for thumbnail indent on some themes
1.1.5
* Minor javascript change to support separate nav and slideshow divs.
* Add option to resize thumbnails.
1.1.4
* Bugfix related to hash detection
* Added new video documentation
1.1.3
* New settings page
* Shortcode atts for showing titles, captions, descriptions
1.1.2
* Non-numerical hashes in the URL no longer break the slideshow.
1.1.1
* Minor CSS update to improve compatibility with some themes
1.1 First release of Portfolio Slideshow Pro (previously Portfolio Slideshow)
* Added new graphical navigation
* Added new pagers – numbers & bullets
* Added pager position = top
* Added play button to all slideshows
* Significant refactoring of JS, CSS, & PHP