I want to be able to echo the URL of the featured image of a post and after looking some on the web I found the following which works...
I am using the ACF Plugin. I want to have a field where I can upload an image, and the result will display the full image in the Lightbox...
This question already has answers here: Settings in ‘Media > Settings’ is ignored when inserting images (3 answers) Closed 7 years ago. I am using wp_get_attachment_image_src to construct the...
After 3.5 removed support image_resize and now says to use wp_get_image_editor as described here: https://codex.wordpress.org/Function_Reference/wp_get_image_editor Before (when it was image_resize), it would take in the image and the resize...
I have a new set of image sizes for my site’s in-development theme. My server is filled with old image sizes, most of which have never been used. You’ve...
When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I’ve placed in Settings/Media....
Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact...
The official code reference for get_the_post_thumbnail_url states: $size (string|array) (Optional) Registered image size to retrieve the source for or a flat array of height and width dimensions. (emphasis mine)....
I use a lot of embedded videos (via oembed) on my blog, and that can slow down page loads. Is there a way to automatically replace YouTube (and other)...
I would like the thumbnails underneath the main image on the single product page to replace the main image when they are either clicked or on hover, I prefer...