Image Processing
Optimize your image generation workflow in SleekPixel by choosing between synchronous and asynchronous image processing. Follow these steps to configure your preferred method.
Understanding Image Processing Modes
- Synchronous Processing: Images are generated immediately when needed. This ensures that images are available right away but may cause a slight delay in page load time.
- Asynchronous Processing: Images are generated in the background. This allows pages to load faster, but images may not be immediately available on the first load. In asynchronous mode, the fallback will be the default Open Graph image or the featured image until the generated image is ready.
Configure Image Processing Mode in SleekPixel
You can select your preferred image processing mode in the SleekPixel settings:
-
Access SleekPixel Settings:
- Log in to your WordPress admin dashboard.
- Navigate to
SleekPixel
in the sidebar and click onSettings
.
-
Locate the Options Section:
- In the settings page, find the
Options
section.
- In the settings page, find the
-
Choose Image Processing Mode:
- Look for the setting labeled
Image Processing
. - Select either Synchronous or Asynchronous from the available options.
- Synchronous: Images will be processed immediately.
- Asynchronous: Images will be processed in the background. The default Open Graph image or featured image will be used as a fallback until the custom image is generated.
- Look for the setting labeled
-
Save Your Settings:
- Click the
Save Options
button at the bottom of the page to apply your new settings.
- Click the
Considerations
Performance Impact:
- Synchronous: May increase page load time, especially if generating large or complex images.
- Asynchronous: Improves page load speed but will cause a slight delay in image availability.
User Experience:
- Synchronous: Users will see the generated images immediately.
- Asynchronous: Users may see the default Open Graph image or featured image until the custom image is ready.