![]() The methods for the GD image engine from WP do not seem to include conversion/encoding so I am also happy with any methods using in the GD module concerning encoding to WebP. I find GD to me quite stable and fast, it does not matter it creates lossy WebP versions. In WP 5.2 things still worked just fine with imagick but there must have been changes introduced that make using imagick in later versions of WP useless. Lately I find imagick just crashes or takes ages to do anything. GD image engine should be used for the conversion. Where should the converted files be stored? wp-content/uploads/ default folder structure. webp files are just there to be used inside the picture element. jpeg files and their metadata in the Media Library, the. Also I don't need to have metadata of the converted images in the WP db, fine with having the original. also be happy with firing a cron job once new images are uploaded if that is better. When should the encode happen ? At any time you know it is a good point in the hook routine, could be this but if you know better or have another solution then use that and possibly let me know why you choose another hook. I need none of all that and am after pure simple code using GD. how the converted files are served, where they are stored, etc. ![]() There are many PHP solutions and WP plugins, they all come with additional options that I don't want/need, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |