mutbl
Forum Replies Created
-
Forum: Plugins
In reply to: [Modern Image Formats] Custom thumbnail and image sizesGood to know, that you and your colleagues already fixed it. Waiting new release with fix to test it 🙂
Many thanks!
Forum: Plugins
In reply to: [Modern Image Formats] Custom thumbnail and image sizesCan’t understand why you suppose it’s expected behavior. I suppose this plugin should generate 700px version of webp (not only jpeg) and put it to source tag. But as I can see in source tag only basic sizes defined and not generate webp for 700px size in FS.
- This reply was modified 1 year, 6 months ago by mutbl.
Forum: Plugins
In reply to: [Modern Image Formats] Custom thumbnail and image sizesOutput fallback images – enabled (also generate fallback images in the original upload format)
username@www:/path/blog/wp-content/uploads/2024/12# ls -la
total 4072
drwxr--r-- 2 username username 4096 Dec 3 13:50 .
drwxr--r-- 5 username username 4096 Dec 1 08:50 ..
-rw-r--r-- 1 username username 37476 Dec 3 13:50 photounsplash-1024x683-jpg.webp
-rw-r--r-- 1 username username 71392 Dec 3 13:50 photounsplash-1024x683.jpg
-rw-r--r-- 1 username username 7236 Dec 3 13:50 photounsplash-150x150-jpg.webp
-rw-r--r-- 1 username username 9336 Dec 3 13:50 photounsplash-150x150.jpg
-rw-r--r-- 1 username username 125868 Dec 3 13:50 photounsplash-1536x1024.jpg
-rw-r--r-- 1 username username 194870 Dec 3 13:50 photounsplash-2048x1365.jpg
-rw-r--r-- 1 username username 10238 Dec 3 13:50 photounsplash-300x200-jpg.webp
-rw-r--r-- 1 username username 15203 Dec 3 13:50 photounsplash-300x200.jpg
-rw-r--r-- 1 username username 43560 Dec 3 13:50 photounsplash-700x469.jpg
-rw-r--r-- 1 username username 26946 Dec 3 13:50 photounsplash-768x512-jpg.webp
-rw-r--r-- 1 username username 48472 Dec 3 13:50 photounsplash-768x512.jpg
-rw-r--r-- 1 username username 105566 Dec 3 13:50 photounsplash-scaled-jpg.webp
-rw-r--r-- 1 username username 285916 Dec 3 13:50 photounsplash-scaled.jpg
-rw-r--r-- 1 username username 3154553 Dec 3 13:50 photounsplash.jpg
username@www:/path/blog/wp-content/uploads/2024/12#Generate the following code at front-end:
source type=”image/webp” srcset=”https://xxxxxxx/wp-content/uploads/2024/12/photounsplash-300×200-jpg.webp 300w, https://xxxxxxx/wp-content/uploads/2024/12/photounsplash-1024×683-jpg.webp 1024w, https://xxxxxxx/wp-content/uploads/2024/12/photounsplash-768×512-jpg.webp 768w” sizes=”(max-width: 700px) 100vw, 700px“
- This reply was modified 1 year, 6 months ago by mutbl.
Forum: Plugins
In reply to: [Modern Image Formats] Custom thumbnail and image sizesI’m using the following code:
function my_theme_setup() {
add_image_size(‘my-theme-post-image’, 700, 9999);
}
add_action(‘after_setup_theme’, ‘my_theme_setup’ );Everything is work fine with jpg, but not with webp or avif.