TinyPNG Integration Plugin for Bubble.io
Enhance your Bubble app with the most complete TinyPNG plugin on the marketplace. Effortlessly manage image compression, resizing, and conversion with 8 pre-configured API endpoints. Here’s what you can do:
Key Features:
[]1. Compress Image File: Reduce image file size without compromising quality.
[]2. Compress Image from Link: Compress images directly from a URL.
[]3. Image Download Request: Easily download compressed images.
[]4. Resize (Cover) Image: Resize images to cover a specific dimension.
[]5. Convert Image: Convert images to different formats.
[]6. Resize (Thumb) Image: Create thumbnail versions of images.
[]7. Resize (Fit) Image: Resize images to fit within specified dimensions.
[]8. Convert and Transform Image: Combine conversion and transformation in one step.
Why Choose Our Plugin?
[]User-Friendly Interface: Manage all functionalities through an intuitive and easy-to-navigate interface.
[]Seamless Integration: Easily integrate TinyPNG’s powerful image optimization features into your Bubble app.
[]Comprehensive API Coverage: Access a wide range of TinyPNG’s capabilities directly from your Bubble app.
[]Time-Saving: Reduce development time with pre-configured endpoints, allowing you to focus on building your app.
Enhance Your App's Image Management
Our TinyPNG plugin empowers you to optimize and transform images efficiently, enhancing your app’s performance and user experience. Whether you’re compressing, resizing, or converting images, this plugin ensures that your image handling is streamlined and effective.
Transform your Bubble app into a powerhouse of image optimization with the TinyPNG Integration Plugin. Get started today and experience the convenience of managing images like never before.
IMPORTANT: TinyPNG returns a link that is only temporarily stored on their servers. Make sure you create a new image in your Bubble app and add :saved to s3.
API Key Conversion:
[]Get your API Key: Obtain your API key from your TinyPNG account.
[]Go to Base64 Encoder: Visit https://base64encode.org.
[]Type in the Key: Enter api:YOUR_API_KEY into the encoder.
[]Copy the Output: Copy the Base64 encoded output.
Use as Authorization: Use the encoded key in this plugin as the Authorization header. Make sure you add Basic before your encoded key.
Example: Basic YXBpRmZ...
Setting Up API Calls in Bubble:
[]Compress Image File: Use this endpoint to reduce the file size of images uploaded to your app.
[]Compress Image from Link: Optimize images directly from a URL.
[]Image Download Request: Retrieve the optimized image from TinyPNG’s server.
[]Resize (Cover) Image: Resize images to cover a specific dimension while maintaining the aspect ratio.
[]Convert Image: Convert images to different formats (JPEG, PNG).
[]Resize (Thumb) Image: Create thumbnail-sized images.
[]Resize (Fit) Image: Adjust images to fit within specified dimensions while preserving the aspect ratio.
[]Convert and Transform Image: Combine conversion and transformation operations in one step.
Best Practices:
[]Check Image Quality: After compression and conversion, review the image quality to ensure it meets your requirements.
[]Storage Management: Regularly monitor and manage your S3 storage to avoid unnecessary storage costs.
[]Error Handling: Implement error handling in your workflows to manage any issues with API calls, such as failed image uploads or transformations.
[]Documentation: Refer to TinyPNG’s official API documentation for detailed information on each endpoint and additional parameters you can use.
Additional Tips:
[]Testing: Test each API call thoroughly in your development environment before deploying to production.
[]Automate Workflows: Use Bubble’s workflow automation to streamline image processing tasks, such as automatically compressing and saving images upon upload.
Keep API Key Secure: Ensure your API key is stored securely and not exposed in your application code.
By following these instructions and best practices, you can fully leverage the TinyPNG Integration Plugin to optimize and manage images efficiently in your Bubble app.
Types
This plugin can be found under the following types: