How to Optimize and to Compress Images in WordPress – 6fc Live

Optimizing and compressing images on your WordPress website, such as your WooCommerce store “My Shop” (from your “Blog Page” guide) featuring products like “Flying Ninja” (from your “Creating Products” guide), is essential for improving page speed, SEO, and user experience. The Smush Pro plugin, featured in the 6fc Live Educate WordPress video, offers powerful image optimization with an excellent compression-to-quality ratio. This guide details how to install, configure, and use Smush Pro to optimize images, based on the video and enriched with web sources.

Sponsored Note: The video is sponsored by Appmaker, a plugin that converts WooCommerce sites into native Android/iOS apps. Get 30% off for the first 200 signups at appmaker.xyz (per video).

Why Use Smush Pro?

  • Performance: Reduces image file sizes by up to 70% without quality loss, boosting page speed (scores 90+ on GTmetrix).
  • WooCommerce Fit: Optimizes product images (e.g., “Flying Ninja”) and complements payment gateways like Paytm (from your “Paytm” guide).
  • Free Features: Compresses up to 50 images (5 MB max) per click, with lazy loading and basic resizing.
  • Pro Features ($7.50+/month): Unlimited bulk compression (32 MB max), CDN, WebP conversion, and advanced integrations.
  • SEO Benefits: Faster load times improve rankings, aligning with Yoast SEO (from your “Yoast SEO” guide).
  • Limitations: Free version limits bulk compression; Pro requires subscription after a 7-day trial.

Step 1: Install and Activate Smush Pro

  1. Download Smush Pro:
    • Visit wpmudev.com/project/wp-smush-pro/ (link in video description) and sign up for the 7-day free trial.
    • Download the Smush Pro zip file (e.g., wp-smush-pro.zip).
  2. Install Plugin:
    • In your WordPress dashboard, go to Plugins > Add New > Upload Plugin.
    • Click Choose File, select the Smush Pro zip file, and click Install Now (per video).
    • Click Activate to enable the plugin.
  3. Verify Installation:
    • Confirm: Smush appears in the sidebar or under Plugins > Installed Plugins (per video).
    • Check: Settings link redirects to the Smush dashboard.
  4. Alternative (Free Version):
    • Search for WP Smush in Plugins > Add New, install, and activate (limited to 50 images, 5 MB max).

Step 2: Configure Smush Settings

  1. Access Smush Dashboard:
    • Go to Smush in the sidebar and click Settings (per video).
    • Explore features in the Smush dashboard (e.g., Bulk Smush, Lazy Load, CDN).
  2. Bulk Smush:
    • Enable: Click Recheck Images to scan for unoptimized images (per video).
    • Settings:
      • Image Sizes: Select thumbnails to compress (e.g., medium, large, per video).
        • Default: Compress all thumbnails for maximum optimization.
        • Custom: Uncheck sizes to exclude (e.g., full-size images).
      • Automatic Compression: Enable to compress images upon upload (per video).
        • Applies to selected image sizes.
      • Super Smush: Enable multipass lossy compression for maximum file size reduction (per video).
        • Reduces size by stripping data without visible quality loss.
      • Metadata: Enable to remove unnecessary data (e.g., EXIF) to reduce load (per video).
    • Action: Click Bulk Smush Now to optimize all uncompressed images (per video).
      • Free: Up to 50 images (5 MB max).
      • Pro: Unlimited images (32 MB max).
  3. Image Resizing:
    • Scaled Images: WordPress scales images over 2560×2560 pixels by default (per video).
      • Options:
        • Set custom threshold (e.g., 1920×1920).
        • Disable scaled images to keep originals only.
    • Compress Uploaded Images: Enable to compress original uploads (not just thumbnails, per video).
    • Backup Uploaded Images: Enable to save original copies (increases storage, per video).
  4. PNG to JPEG Conversion (Pro Only):
    • Enable to convert PNGs to JPEGs when it reduces file size (per video).
    • Preserves quality while minimizing size.
  5. Directory Smush:
    • Optimize images outside the uploads folder (e.g., theme or plugin images, per video).
    • Click Choose Directory, select a folder with uncompressed images, and click Choose Directory to compress (per video).
  6. Lazy Load:
    • Enable: Click Activate under Lazy Load to defer off-screen image loading (per video).
      • Boosts page speed, especially for image-heavy sites.
    • Settings:
      • Media Types: Select file types (e.g., JPEG, PNG, per video).
      • Output Location: Choose where lazy loading applies (e.g., posts, widgets).
      • Display Animation: Set load animations or placeholders (per video).
      • Include/Exclude: Enable/disable for post types or specific URLs (per video).
      • Script Placement: Choose header or footer (footer for faster speed, per video).
      • Native Lazy Loading: Enable browser-native lazy loading (per video).
      • Disable Noscript: Enable to avoid W3C validation errors (per video).
    • Deactivate: Click Deactivate to disable if needed (per video).
  7. CDN (Pro Only):
    • Enable to serve images from Smush’s 40 Tbps CDN across 45 global locations (per video).
      • Reduces load time by serving images from closer servers.
      • Supports higher traffic without delays.
    • Local WebP: Serve WebP images without CDN reliance (per video).
  8. Integrations:
    • Gutenberg Blocks: Enable Smush stats in post/page editors (per video).
      • Shows image size options to select the smallest file.
    • Other Plugins: Integrate with NextGen Gallery, WPBakery, etc. (per video).
  9. Tools:
    • Image Resize Detection: Enable to ensure high-quality images and avoid blurry outputs (per video).
      • Alerts for undersized images in galleries.
  10. Save Changes:
    • Click Save Changes for each section (per video).

Step 3: Optimize Images

  1. Run Bulk Smush:
    • In Smush > Bulk Smush, click Bulk Smush Now (per video).
    • Monitor progress as images are compressed (free: 50 images; Pro: unlimited).
  2. Upload New Images:
    • Upload images via Media > Add New.
    • Confirm: Automatic compression applies to selected sizes (if enabled, per video).
  3. Check Directory Smush:
    • Revisit Smush > Directory Smush and compress non-media images as needed (per video).
  4. Verify Lazy Load:
    • Visit a page (e.g., yoursite.com/shop) in incognito mode.
    • Confirm: Images load only when scrolled into view (per video).

Step 4: Test and Monitor

  1. Test Optimization:
    • Visit your site (e.g., yoursite.com) and check image-heavy pages (e.g., product pages).
    • Confirm:
      • Images load quickly and maintain quality.
      • Lazy loading works (images appear as scrolled).
      • CDN (Pro) serves images from global servers.
    • Use GTmetrix to verify page speed (target: 90+ score).
  2. Monitor Storage:
    • Check Media > Library for file sizes post-compression.
    • If backups are enabled, monitor uploads folder size (per video).
  3. Troubleshoot:
    • Images Not Compressing?:
      • Verify settings (e.g., image sizes, automatic compression).
      • Ensure Pro license is active (for unlimited compression).
      • Clear cache (from your “Backup and Migration” guide).
    • Lazy Load Issues?:
      • Check media types and output locations.
      • Disable conflicting plugins (e.g., other lazy load tools).
    • Theme Conflicts?: Test with Astra or Storefront (from your “Astra” or “Creating Products” guides).
    • Contact support at wpmudev.com/support/ or check wpmudev.com/docs/.

Step 5: Enhance with Integrations

  1. Smush Features:
    • Free:
      • Compress 50 images (5 MB max) per click.
      • Lazy loading, basic resizing, metadata removal.
    • Pro ($7.50+/month):
      • Unlimited compression (32 MB max).
      • CDN, WebP conversion, PNG to JPEG.
      • Gutenberg stats, directory smush.
    • Pricing: 7-day trial, then $7.50/month or $90/year (wpmudev.com/pricing/).
  2. WooCommerce Integration:
    • Optimize product images for “Flying Ninja” to improve checkout speed.
    • Pair with WooCommerce Wishlist for enhanced UX (from your “Wishlist” guide).
    • Secure payments with Paytm, Razorpay, or UPI QR Code (from your “Paytm,” “Razorpay,” or “UPI Payment” guides).
    • Promote products with NotificationX or Icegram Express (from your “NotificationX” or “Announcement Bar” guides).
  3. Custom Styling:
    • Style lazy load placeholders in Appearance > Customize > Additional CSS:.smush-lazy-load { background: #f5f5f5; border-radius: 5px; } .smush-placeholder { opacity: 0.8; } @media (max-width: 600px) { .smush-lazy-load { min-height: 100px; } }
    • Align with Astra’s design (from your “Astra” guide).
  4. Alternative Plugins:
    • ShortPixel: Adaptive compression, WebP support (free up to 100 images/month).
    • Imagify: Bulk optimization, WebP conversion ($4.99+/month).
    • EWWW Image Optimizer: Local compression, no size limits ($9+/month).

Step 6: Best Practices

  1. Image Optimization:
    • Compress all thumbnails unless specific sizes are needed (per video).
    • Enable Super Smush for maximum compression without quality loss.
  2. User Experience:
    • Use lazy loading for image-heavy pages (e.g., product galleries).
    • Set subtle load animations to avoid distracting users.
  3. Testing:
    • Test compression on various image types (e.g., JPEG, PNG).
    • Verify CDN performance in different regions (Pro only).
    • Check mobile responsiveness with optimized images.
  4. Performance:
    • Combine Smush with caching (from your “Backup and Migration” guide).
    • Monitor site speed with GTmetrix or Google PageSpeed Insights.

Pro Tips

  • Engagement: Promote optimized pages with a Welcome Bar (from your “Sticky Menu” guide) or Join.chat for support (from your “Join.chat” guide).
  • Security: Protect media uploads with Wordfence or Limit Login Attempts Reloaded (from your “Malware Removal” or “Limit Login Attempts” guides).
  • Compliance: Use GDPR Cookie Consent for CDN tracking (from your “Cookie Notice” guide).
  • SEO: Boost rankings with Yoast SEO and fast-loading images (from your “Yoast SEO” guide).
  • Backup: Save media with UpdraftPlus (from your “Backup and Migration” guide).
  • Export Content: Archive product pages with Aspose.Words Exporter (from your “Aspose Exporter” guide).

Congratulations!

You’ve optimized and compressed images on your WordPress website with Smush Pro and 6fc Live! Your site, whether a blog or e-commerce store like “My Shop,” now loads faster, improving SEO and user satisfaction. For unlimited compression and advanced features, continue with Smush Pro (wpmudev.com). Combine with your other guides (e.g., “Astra,” “Paytm,” “Yoast SEO”) for a robust platform. Need help with setup, optimization, or troubleshooting? Comment below or visit wpmudev.com/support/!

Leave a Comment

Your email address will not be published. Required fields are marked *