https://github.com/ai5gw/webp
Automatically convert and serve WebP images (not only) on WordPress without a plugin
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.4%) to scientific vocabulary
Repository
Automatically convert and serve WebP images (not only) on WordPress without a plugin
Basic Info
- Host: GitHub
- Owner: AI5GW
- Language: PHP
- Default Branch: main
- Size: 3.91 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
WebP (not only) for WordPress
This PHP script combined with the directives in the corresponding .htaccess files automatically converts all .jpg, .jpeg and .png files to WebP and serves those instead if the browser supports it.
Installation
Copy all files from the src folder into the /wp-content/uploads/ folder of your WordPress installation. If you want to use the code with any other CMS or even without a CMS, copy the files to the root directory of your content path. If you're not using WordPress, make sure to change the RewriteBase in the .htaccess file to your path.
Requirements
The PHP extension Imagick has to be installed on the Webserver.
Links & Contact
If you have any questions or comments, feel free to contact me through the email address provided in the project files. Additionally, feel free to check out my blogs and YouTube channel for additional information, examples and feedback:
Blog (EN): https://baltic-lab.com
Blog (DE): https://baltic-labor.de/
YouTube (EN): https://www.youtube.com/c/BalticLab
Changelog
- v0.0.1 Initial release
Owner
- Login: AI5GW
- Kind: user
- Website: https://baltic-lab.com
- Twitter: BalticLabEE
- Repositories: 6
- Profile: https://github.com/AI5GW
GitHub Events
Total
- Push event: 1
- Create event: 2
Last Year
- Push event: 1
- Create event: 2