WordPress native album enhancement plug-in WP Galaxy Lightbox released
Plug in preview (click the picture to try)
Plug in download
Update log
-
V1.0.4 Fix the bug of repeatedly loading JS CSS and disable switching when the animation is not played (2019-1-13) -
V1.0.3 Reject unqualified JQuery imports -
V1.0.2 Add background setting page -
V1.0.1 Replace the plug-in with a new version that depends on JQuery, and modify the plug-in code to make the effect consistent with the old version -
V1.0.0 Initial upload
principle
usage method
-
Download the plug-in, package the zip, upload and enable it. -
Select Add Media ->Create Album in the upper left corner when editing an article or page. -
Select your favorite image (multiple choices), and then click the lower left corner to create a new album to enter the album setting page. -
Set in the upper right corner Album size , and set link to The option is changed to Media files ( important )。 -
Click Insert Album to add the album short code to the article. -
Return to the foreground preview effect.
help
common problem
-
Click the image to jump to the image url
Check whether the JQuery library is imported. If not, import it. Then check whether the foreground output content is normal. -
The size of the album is a thumbnail, and the size of the album output from the foreground is uneven
The size of the foreground album is related to the thumbnail cutout size set by WP background. -
Whether to support non album ordinary pictures
I won't support it. The light box function of this blog is only used for photo album display, so I didn't write it. -
Applicable WordPress version
WordPress 4.7. x has been tested, and other versions have not been tested.
Third party content
-
LightBox2.js @MIT protocol, and this blog has modified its animation effect. -
PureLove theme background setting interface style. -
wp-includes/media.php @GPL protocol, copy and modify the album processing source function.
References
Comment
Comment area
0F support! 0F Wow, when are you coming to typecho 0F Sculling Succeeded in sculling!
0F Nice, it's perfect. Thanks to the blogger 0F It's much better Whether to add a page turning function is to display pages when there are many pictures 0F Where can I download it? 0F In WordPress 5.2.2, the prompt: PHP Notice: Undefined index: gallery lightbox save once in \Wp content plugins WP Callery LightBox Plus zm_gallery_light_admin.php on line 26, please tell me the reason, thank you!