This streamlines Obsidian workflows by integrating TinyPNG's image compression service.
Note: This is NOT an official plugin from the TingPNG team. It is a community plugin.
You can install the Obsidian TingPNG Plugin by following these steps:
- Download 3 files:
main.js
,manifest.json
,styles.css
from the latest release. - Create a folder named "obsidian-tinypng-plugin" in your Obsidian vault's plugins folder.
- Once the plugin is installed, activate it by toggling the switch next to its name.
To configure the TingPNG plugin, you need to provide your API key and set the concurrency options. Here's how you can do it:
- Open the settings in Obsidian.
- Go to the "Plugins" section and find the TingPNG plugin.
- Enter your API key from Tinify in the corresponding field.
- Choose the desired concurrency level from the options provided.
- Click the "Save" button to save your settings.
To compress images using the TingPNG plugin, follow these steps:
- Open Obsidian and navigate to the vault where your images are located.
- Press
Ctrl/Cmd + P
to open the command palette. - Search for "Compress Images" and select it from the list.
- The plugin will start compressing the images using the provided API key and concurrency options.
- Once the compression is complete, you will see a notification with the results.
Note: Make sure to review the TingPNG terms of service and API usage limits before using the plugin.
If you encounter any issues with the TingPNG plugin or have suggestions for improvements, please reach out to the community for support.
Disclaimer: This plugin is not affiliated with or endorsed by the TingPNG team. Use at your own risk.