Found it:
$('img[src*=".gif"]').addClass('gif-class');
Thanks to @BrianFegter
Related Posts:
- show hide image script after 4 seconds [closed]
- How to modify image editor dialog options on WordPress?
- Multiple images with Media Uploader on front-end
- How can I use cached images in an AJAX response?
- Help to upload post attachments from Ajax
- Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1
- How to use Facebox in WordPress theme?
- How to get the image-URL from Media-Upload in a post?
- Fancybox just loading small white square
- Hide Title tag on image Hover
- Access html element in media modal with jQuery
- Issues Adding a jQuery Image Slider
- Display images from JS?
- Select image and display from textfield?
- Thickbox not displaying just the image, instead showing full page in lightbox
- WordPress: Preload next post images
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- What’s the proper way to find and remove duplicate images from posts and the media library?
- get_post_gallery with Gutenberg
- Saving the pre-sanitized filename of an attachment as the Title or Caption
- Creating a rotating header /image slider using theme customization
- Add aditional class to get_avatar when showing image
- Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
- Double thumbnails?
- Alter media caption/description conflict in WordPress?
- No srcset for hard-cropped thumbnails
- Loop through child images of a parent for a Nivo Slider
- Rename attachments during upload
- Limit author image size
- Remove the http protocol from images
- Query for recent images across multiple posts
- Display one random image, but only if landscape
- Is there a way to get attachment data?
- How to change image url?
- Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 [closed]
- How to add data attribute to all images in posts [closed]
- How to order images in a post in WordPress 3.3?
- Image thumbnails not available post migration, but still accessible via direct URL – DB issue
- Override img class in gallery
- Change image url size in post editor (when cliking on image)
- Exclude images from “inserted into post” when trying to get attachments
- Set jpeg_quality for certain post-types
- image uploaded cant be shown
- WordPress automatically downscaled images larger that original
- Sharing images to social media – issue with aspect ratio
- How to add custom classes to figure element only if image has caption?
- I got an issue after i migrated a site
- I want to use the GD image editor for just one function then switch back to ImageMagick
- 409 error (Conflict) when trying to insert an image into a post
- Exclude image titles from search results
- Gallery with thumbnail carousel
- Thumbnails generated by “add_image_size” are not removed when removing media
- WordPress 3.0 embedded images
- TImthumb not working for absolute path
- Correctly implementing the Facebook Like button
- Omit image captions from get_the_content()
- Store in media library image uploaded from url
- How to limit the number of images displayed in the media window?
- Media gallery images url instead of ID on WP API Response
- How to get image from media library with URL [duplicate]
- WordPress Creates Unused (Unregistered) Image Sizes
- Custom image uploader without widgets
- How to upload and style svg logo?
- How to change the catalog product image size by product id?
- are unattached media files a problem?
- Disable image rename on upload
- Development environment and “production” environment domains
- HTTP error when uploading an image
- Why am I getting and error from wp_get_attachment_image_src?
- How do I implement an image viewer and rotator? [closed]
- Upload images – Theme options
- How to get post id of first child of the same post type?
- Product Images Making a Column
- What’s are some best practices for responsive images (e.g. for section headers)?
- Recreate the upload folder from a website without having access to the backend/cpanel/filezilla directly from the website
- how automatically show the image title before the image caption/description in a wordpress gallery?
- change the h3 subtitles of the wordpress gallery shortcode
- Hot Linked Own Images
- Site not showing Image in WordPress and in HTML code also which uploaded in root what is the solution for this?
- How to bulk update then save images in wordpress posts
- How to set a post featured image from an already made custom field
- Change wordpress default upload path to another domain
- Alt attribute is not showing while the value is given in Media
- Alternative image sizes are too large
- Responsive images in Bootstrap 4 slider
- How can I add an “Attach image to this post/page” link on the Add Media lightbox?
- How to call thumbnail by aqua resizer in best practice. Specify image dimensions’s notify from GTmetrix
- How do i replace the title attribute of img tag with the image caption
- Create slider option in editor
- Assign one featured image to multiple posts?
- Why are my ‘medium’ images the wrong size
- How can I hide previous_image_link() on first attachment page?
- An image on my site is showing as the wrong image [closed]
- Set padding for all content except images and few more elements
- Theme files and imagesnot loading on a mobile device
- Guaranteed Image Sizes
- How to change the alignment of the background image for small screen (tablet/smartphone etc.)
- get_theme_file_uri function not showing background image inside data-setbg in html
- How to show file type of featured image?
- Could a very long article slow down all website and wpadmin?