The deeper question is I am trying to figure out why it is processing some of my images twice, example:
37518051-357a-4726-8570-b6917f9107dc_hu73132704ad11f19c4d33394d1fc8105f_692486_1320x880_fit_q75_h2_lanczos.webp
37518051-357a-4726-8570-b6917f9107dc_hu73132704ad11f19c4d33394d1fc8105f_692486_1320x880_fit_q75_lanczos.jpg
One has a _h2 in there, why is this? What does it denote?
We would need to see your code to answer that question, but your example shows that the original image is rendered to both JPEG and WebP.
The “h2” in the cache key denotes the hint option in the image processing spec, applicable to WebP images only (1 = picture, 2 = photo, etc.).
You are right, I completely missed that. However I am not converting any images to jpg in any of my code. Does it also put the source image in the resources directory?
Yes, you are, somewhere: template, partial, shortcode, render hook. Maybe in a theme or module.
Once again you are right! Thanks a lot . I was only searching in .html files, turns out I converted to jpg in an xml file.
1 Like
system
Closed
December 29, 2023, 7:24pm
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.