Demian
Forum Replies Created
-
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesI will give you a screenshot, wat is wrong:
As you can see it renders 300 size, while it is 1200. It’s globally over the site. I can fix this by forcing a width: 100%;, but that is fixing an issue which doesn’t make sense. When the image is set as 1200 it should load 1200.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesThe image is not taking full length, while it is set as full, it shows a rendered 300 width image.
This seems to be a wide issue. Every picture that has been added with wpbakery is being rendered as 300 px. I can modify it with CSS, but this is not a user friendly soltion. This site is a community with a lot of authors, and I cannot teach them all how to change the aspect ratio when they just simply add a picture and they select full size and it is not working. Something is off here. Here is another example in the sidebar: https://hrcommunity.nl/hr/academie/
They all render as 300.
- This reply was modified 1 week, 3 days ago by Demian.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesI see on the homepage also a rendered size of 300 x auto. See this image (HR Webinar Week):
Should be full size – page builder is wpbakery and it is set as full size. I don’t now what is going on here.
- This reply was modified 1 week, 4 days ago by Demian.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesHi @vanyukov
Yes I can set an aspect ratio 300/170 that would fix it as a workaround. But is the missing srcset not strange? Or is this normal?
Demian
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesThis is even weirder, the srcset is missing here. And despite it states fit=crop it renders as 304 x 173 instead of 300 x 170. There are also plenty who have the srcset loaded.
I checked the images, and all images from 5 november are missing the srcset and I started to offload the images on the 4th of November.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesI don’t see it, do you have a screenshot of devtools which one?
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesNo worries, I also just discovered this now. With our theme we can make additional image sizes. And a cropped version is set in this case
_us_300_170_crop
. You can actually see it based on the classes of the image.However, I assume that when cloudflare adds fit=crop to the initial src, you could give an additional condition to add it to the srcset, despite which theme or plugin is used? Just thinking out loud ??
Demian
- This reply was modified 1 week, 5 days ago by Demian.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Cropped ImagesHi @vanyukov
Offloading/Uploading did not do anything. Support of Cloudflare consists of an AI chat. What seems to be the problem is that srcset is not taking the fit attribute, the src is good. Are you sure the srcset is not generated by the plugin? Is there something missing?
With thanks,
DemianHi @femiyb
Sorry to mention this initially, this was the first thing I checked, because it looks like indeed, but this is not the case.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Webp AVIFSorry! I have to come back to this. I did a pagespeed test, and it still stated “use next gen images”, but this was coming from OpenStreetMap iframe. It seems to be all good.
- This reply was modified 3 weeks, 4 days ago by Demian.
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Webp AVIFHi @vanyukov
So I offloaded the entire media library, but when I inspect the pages, everything is still originally jpg and png served from cloudflare. No new gen images. So how does this works?
site: hrcommunity.nl
Demian
Forum: Plugins
In reply to: [Quiz Maker] Avoid Refreshing and restart quizOkay, pro version as in Business is enough? I cannot figure out this option in the feature list on your site
Forum: Plugins
In reply to: [Quiz Maker] Avoid Refreshing and restart quizHi!
This works for non logged in users as well?
Regards,
DemianForum: Plugins
In reply to: [Post Type Archive Descriptions] Shortcode PossibilityIt seems that $post_type returns into an empty string from the plugin. I also get this warning:
PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /wp-content/plugins/post-type-archive-descriptions/inc/template-tags.php on line 36
Not sure if $post_type is properly defined.
Forum: Plugins
In reply to: [Post Type Archive Descriptions] Shortcode PossibilityTo give an example. We use the CPT UI plugin to generate post types. They also have a field for post type descriptions, unfortunately not a user friendly input field. But if I use a custom function to project it into the frontend template it works:
function custom_output_cpt_description_shortcode() {
? ? echo get_the_post_type_description();
}
add_shortcode( 'post_type_description', 'custom_output_cpt_description_shortcode' );