Description
YAOYUE Image Upload for LskyPro uploads image files from the WordPress media workflow to a LskyPro image hosting service configured by the site administrator. After a successful upload, the plugin replaces the media library image URL with the remote image URL returned by LskyPro.
Features:
- LskyPro API v1 / v2
- Domain-only API configuration. The plugin builds
/api/v1or/api/v2automatically. - Token configuration.
- Temporary username and password token refresh for open-source v1.
- Album and storage strategy options for commercial v2.
- Plugin option cleanup on uninstall.
External Services
This plugin connects to the LskyPro image hosting service configured by the site administrator.
The service endpoint is not hard-coded for normal uploads. The administrator must enter their own LskyPro domain in the plugin settings before upload features can work.
Data that may be sent to the configured LskyPro service:
- Image files uploaded through the WordPress media workflow
- Image file names
- MIME types
- The configured LskyPro token
- For open-source v1 token refresh only, the username and password entered by the administrator for that request
The plugin does not store the v1 password. The password is used only during the current token request.
Please review the terms and privacy policy of the LskyPro service you configure. If you use a self-hosted LskyPro instance, your own service rules apply. If you use a third-party LskyPro provider, follow that provider’s terms and privacy policy.
LskyPro project: https://github.com/lsky-org/lsky-pro
Installation
- Upload the plugin directory to
/wp-content/plugins/yaoyue-image-upload-for-lskypro. - Activate the plugin through the WordPress Plugins screen.
- Open
Settings -> Lsky Pro Settings. - Select the API version.
- Enter your LskyPro domain, for example
https://img.example.com. - Enter or refresh the Token.
- Save settings.
FAQ
-
Do I need to enter the full API path?
-
No. Enter only the LskyPro domain. The plugin automatically builds the API endpoint according to the selected API version:
- v1:
https://img.example.com/api/v1 - v2:
https://img.example.com/api/v2
- v1:
-
Does the plugin store my v1 password?
-
No. The password is only used during the current token request and is not saved.
-
Does the plugin add public credit links?
-
No. The plugin does not add public “powered by” links or credit links to the front-end site.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“YAOYUE Image Upload for LskyPro” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “YAOYUE Image Upload for LskyPro” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.5
- Improved settings page security checks and nonce validation.
- Added AJAX nonce and capability checks.
- Improved settings storage compatibility.
- Added WordPress.org and GitHub/self-hosted dual-channel build flow.
- GitHub/self-hosted channel supports
Update URIand a self-hosted update manifest. - WordPress.org package uses the
yaoyue-image-upload-for-lskypro/yaoyue-image-upload-for-lskypro.phpstructure. - GitHub/self-hosted package keeps the legacy
lsky_plugin_wp/LskyPro.phpstructure. - Settings page now requires only the LskyPro domain and builds
/api/v1or/api/v2automatically. - v1 passwords are no longer stored.
- Improved upload error handling.
- Replaced direct database table updates with WordPress standard APIs.
- Improved remote request validation and error handling.
- Added PHP 8.5 compatibility for deprecated
finfo_closeandcurl_closebehavior. - Improved settings page UI.
2.0.4
- Fixed an upload failure caused by an incorrect variable name.
2.0.3
- Fixed media library thumbnail display issues.
2.0.2
- Fixed image name parsing issues in some naming formats.
2.0.1
- Added support for open-source and paid LskyPro versions.
- Added token refresh support.
- Added settings link on the plugin list page.
- Added uninstall cleanup.