Jetpack Lazy load images fade in

Which part doesn’t work? You might need to change your transition property to include a name, as well as a delay. Optionally add the timing: .jetpack-lazy-image { opacity: 0; transition: opacity 0.3s ease; } https://developer.mozilla.org/en-US/docs/Web/CSS/transition

Redirect when user clicks on an image

You have 2 ids with the same name and the form gets broken, always provide different ids on a page: <form method=’post’ id=’back_button_form’ action=”> <p class=”form-submit”> <input name=”back_button_img” type=”image” id=’back_button_img’ src=”https://wordpress.stackexchange.com/questions/345310/back.png”/> </p> </form>

Enlarge Featured WordPress Images

There is a plugin called Bulk Resize Media that might be able to do this for you, but I am not sure I would recommend doing that. Bulk resizing images to a SMALLER size is hardly ever a problem. Images are easily compressed without degradation. They are compressed by removing every Nth pixel, which the … Read more

How to change background image

This code isn’t coming from Core, so you should search down where the shortcode comes from – a theme or a plugin. My guess is that “2407” might be the Post ID of a particular image. If that is true, then you can go into your Media Library and find the Post ID of the … Read more

Access html element in media modal with jQuery

(function($){ //since only one label with data-setting=’caption’ exists, use this selector $(“[data-setting=caption]”).children(‘textarea’).attr(‘required’, true); })(jQuery); I’m more curious as to how adding this would affect anything since these labels are not inside a <form> element?

Allow users to upload attachments to certain posts

One way to do this might be with a plugin such as Gravity Forms, they allow you to create posts from a form, you can upload images too. They have an add on that helps you with this: https://www.gravityforms.com/add-ons/advanced-post-creation/ You can also see a bit more on this information here: https://fewerthanthree.com/tutorial/using-gravity-forms-multi-file-uploads-when-creating-a-new-post/ There might be other … Read more

Broken images on iphone

You either upload or convert your images after upload to webp format, which is supported by limited range of browsers (see https://caniuse.com/#feat=webp for complete list). The important information for you is that it’s not supported in iOS Safari I suggest you re-upload your media in other image format (jpeg, png etc.). If you want to … Read more