We've found 9 snippets tagged Images
Add Custom Image Sizes Into WordPress Media Library

Add Custom Image Sizes Into WordPress Media Library

This code snippet will allow you to add pre-defined custom image sizes to med...
Auto Link Featured Post Thumbnails to The Post Permalink

Auto Link Featured Post Thumbnails to The Post Permalink

This WordPress code snippet will link all featured post thumbnails to the pos...
Remove Default Image Thumbnail Sizes in WordPress

Remove Default Image Thumbnail Sizes in WordPress

If you have defined custom image sizes in your theme then with this code snip...
Get The First Image From Posts & Display

Get The First Image From Posts & Display

For posts does not have featured image, we will get the first image from post...
Add Custom Image Size to Post Thumbnails

Add Custom Image Size to Post Thumbnails

WordPress has built-in function add_image_size(). Using this core function in...
Prevent Browser Caching Image Files

Prevent Browser Caching Image Files

To prevent browser caching image files, we can append image URLs with query s...
Disable Automatic Compression of JPG in WordPress

Disable Automatic Compression of JPG in WordPress

WordPress has built in compression for JPG images but you can disable automat...
Show All Media Attachments to a Post

Show All Media Attachments to a Post

WordPress have get_attached_media() function that makes it very easy to retri...
Remove Width & Height Attributes From Uploaded Images

Remove Width & Height Attributes From Uploaded Images

Wordpress automatically insert the image width and height attribute in the im...