| 开发者 |
c0redump
kukumber19 |
|---|---|
| 更新时间 | 2026年9月7日 21:46 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Plugins > Add New.SmallPict in the search bar.Settings > SmallPict.Plugins > Add New.smallpict folder to your WordPress server into the /wp-content/plugins/ directory via FTP.Settings > SmallPict.Yes! SmallPict requires a free account (managed securely via Freemius) to access our cloud processing API. This ensures your server isn't bogged down during the compression process.
SmallPict is designed to be the most "magical" image optimizer. No complicated server configurations, no API key copy-pasting required. We use smart AI compression to reduce your image weight without sacrificing visual quality, and all processing is handled safely in our cloud.
Your images will simply stop being optimized until your quota resets the next month. You can also upgrade your plan directly in your dashboard to continue optimizing right away.
Not at all. Our Smart Compression technology is specifically designed to balance maximum file size reduction with premium visual quality. Your website visitors won't notice a difference in quality, but they WILL notice the faster loading speed.
SmallPict automatically creates Next-Gen formats (WebP and AVIF) of your uploaded images and serves them conditionally. If a visitor's browser doesn't support WebP or AVIF, they will smoothly receive the original optimized format (like JPEG or PNG) instead.
Absolutely not. We care about your privacy. The image optimization process is performed in real-time in our cloud, and the optimized image is immediately returned to your WordPress website. We do not permanently store or retain copies of your images.
Yes! Our dedicated support is ready to help you fix any issue with your image optimizing process. You can reach out directly from your SmallPict settings area.
SQLSTATE 22P02 serialization errors during background processing.smallpict_account_capabilities from the cloud API.authenticate() now syncs subscription_status and billing_provider from the cloud API with backward-compatible fallback to legacy license_status.class-smallpict-core.php, class-smallpict-basic-optimizer.php, class-smallpict-anim-handler.php, class-smallpict-smart-scaling.php, templates/admin-settings.php, and the entire vendor/ directory (Freemius SDK).composer.json no longer requires freemius/wordpress-sdk.build.sh, build-wporg.sh) simplified — no more Freemius stripping or WPORG_REMOVE markers.get_subscription() and get_billing_portal_url() for native billing portal integration.php -l) with zero errors after refactor.usage_YYYY_MM), so quotas reset automatically at the start of each billing cycle with zero infrastructure cost (no cron job needed).get_license_state() returns none, pending_activation, or active; should_show_license_form() drives conditional UI rendering.GET /v1/plugin/connection now returns has_pending_license and license_status fields for authoritative license state without a separate quota call.function_exists('SmallPict') check — corrected to class_exists('SmallPict') with proper SmallPict::get_instance() singleton access.SmallPict_Quota_Manager::init_tracking() and get_tracking_data() methods.$is_sandbox check block that referenced undefined $fs and $site variables in the WP.org build.if ($old !== $new) condition instead of a mismatched brace that caused syntax errors.auth_exchange backend now reads existing tenant data before writing, using update_item with partial field updates to preserve usage_YYYY_MM fields across re-installs.create_upload and get_usage endpoints now reads from the correct monthly field instead of the deprecated current_usage_mb field.get_usage API response now includes anchor_day, next_reset_date, and grace_expires_at fields for accurate UI display.error now correctly aliased as #err in UpdateExpression to prevent ValidationException.install_id schema validation now accepts both int and str for forward compatibility.build-wporg.sh) no longer creates a .zip archive in the build directory, preventing accidental inclusion of the zip file in SVN/WordPress.org deployments.SLUG and BUILD_DIR to env vars (were incorrectly passed as with: inputs to 10up/action-wordpress-plugin-deploy).buttonizer/freemius-deploy GitHub Action with a direct Freemius API Python script, eliminating the set-output deprecation warning.JWT_SECRET env var is missing.is_sandbox mode is now determined by a server-side environment variable (ALLOW_SANDBOX), not a client-supplied flag (prevents quota bypass).file_get_contents() S3 upload with streaming cURL (CURLOPT_INFILE) to prevent PHP OOM errors on large files.wp_localize_script for future AJAX request verification./tmp directory is now fully cleaned after each job (input + output files) to prevent storage leaks across warm invocations.get_usage API endpoint now returns real usage data from DynamoDB instead of a hardcoded placeholder.image/gif added to allowed upload content types for animated image support on paid plans.WordPress.Security.EscapeOutput PHPCS/WPCS sniffs (confirmed zero violations).phpcs:disable blocks and documented rationale.json_encode with wp_json_encode to comply with WordPress Coding Standards.rename() function with WP_Filesystem::move() to comply with WordPress standards.smallpict.pot template file to satisfy Domain Path requirement.gmdate().unlink with wp_delete_file for better filesystem compatibility.?sp_reset_license=1).