With this addon you can show user uploaded photos as gallery & allow delete photo. It can be used in 2 ways:
- Show for logged in user his own gallery (user_id=”current”) – common used
- Show any user gallery with entering numeric user_id (user_id=”11″)
Usage:
[fv_user_photos user_id="current" not_logged_text="Please log in to see your photos!" per_page=9 enable_lightbox=1 upload_link="/" upload_text="Upload a new photo >>"]
Params:
user_id
– can be “current” or numeric valuenot_logged_text
– text to show, if user not logged in (in case of user_id=”current”)per_page
– number, photos per pageenable_lightbox
– add preview icon & lightbox functionalityupload_link
&upload_text
– if you wish add after gallery link, where use can upload more photos
FAQ
Q: Can it be used without Buddypress? Yes, of course.
- – [fix] Small fix for broken public styles
- – [tweak] Small html tweak for gallery
/* 0.8 ## 25/09/2017 */ ** REQUIRED 2.2.510
- – [tweak] Small enhancements with fetching user gallery entries
- – [new] New shortcode param “lightbox_script”
/* 0.6 ## 15/09/2017 */ ** REQUIRED 2.2.510
- – [fix] Bugfix: removed from user gallery items with status “On moderation”
/* 0.5 ## 15/09/2017 */ ** REQUIRED 2.2.510
- – [fix] Bugfix: removed from user gallery items with status “On moderation”
/* 0.5 ## 16/05/2017 */ ** REQUIRED 2.2.510
- – [fix] Some fixes for WP Foto Vote 2.2.510
/* 0.4 ## 11/04/2017 */ ** REQUIRED 2.2.411
- – [new] Added param “contest_id” that allows show entries from specified Contest
/* 0.3 ## 02/02/2017 */ ** REQUIRED 2.2.411
- – [tweak] renamed to UserProfileLite + changed slug to “upl” from “uml”
- – [tweak] “fv_lib_js” and “fv_modal” now loading without specifying the path
- – [tweak] added filter ‘fv/upl/public/thumbnail_size’ with 2 params ( array(‘width’ => 400, ‘height’ => 400, ‘crop’ => true, ‘size_name’ => ‘fv-upl-thumb’), $contestant )
/* 0.2 ## 06/01/2017 */
- – added lightbox preview option “enable_lightbox” param (example: enable_lightbox=1, enable_lightbox=0)