WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: picturefillwp (Used by 2 domains)

Picturefill.WP

👤 kylereicks 📦 v1.3.5 🔗 Plugin Homepage

Note: This is an implementation of Picturefill.js version 1.2.x. For an implementation of Picturefill.js 2.x, see the master branch of the GitHub repository.

Picturefill.WP is a simple and option-less plugin to serve HDPI and responsive images on a WordPress website.

This plugin parses post and page content replacing images with a special syntax similar to the proposed syntax for the HTML5 picture element, then uses an adapted version of picturefill.js to load the appropriate image to the browser.

Considerations before installing

Slow Loading on Activation

The first time a page or post is loaded after activating Picturefill.WP, new @2x size images will need to be created for the images in the post or page content. This can take several seconds and will take longer on image heavy posts. Once these images are created, posts should load at least as fast or faster than they do without the plugin.

If you are installing Picturefill.WP on a large and image heavy site, you may want to consider using another plugin like Regenerate Thumbnails to create the new image sizes for existing posts and pages.

500 or 504 server errors

These errors are related to the slow loading listed above. If the server reaches its timeout limit before it is finished processing new images, it will return a 500 or 504 error. Refreshing the page usually gives the server the time it needs to finish processing the images. On some image-heavy posts, it may take more than one refresh.

Image Sizes

By default, WordPress creates as many as 3 images of different sizes for each uploaded image (“large”, “medium”, and “thumbnail”), in addition to the “full” image size.

This plugin adds responsive breakpoints based on the width of the image. The largest available image will display unless the browser width is less than the image width + 20px, in which case the next size down is displayed.

To use this plugin most effectively, set the default image sizes (“large”, “medium”, and “thumbnail”) to reflect useful breakpoints in your theme design.

Errors and Warnings

As of version 1.3.3 Picturefill.WP suppresses errors and warnings in parsing the DOM. Errors and warnings can now be collected via the picturefill_wp_syntax_present_libxml_errors and picturefill_wp_get_images_libxml_errors filters.

add_filter('picturefill_wp_get_images_libxml_errors', 'handle_errors');

function handle_errors($errors){
  foreach($errors as $error){
    // Handle errors here.
  }
}

Theme CSS

As described in the Details section, the picturefill.js syntax uses nested span elements. If a theme’s CSS applies styles to un-classed span elements, you may notice some of these spans showing up unexpectedly on the page after activating Picturefill.WP. If possible, it is best to remove the offending code from your theme files, but adding the flowing to the bottom of your theme’s CSS file should also work to reset these styles.

span[data-picture]{display:inline;margin:0;padding:0;border:0;}
span[data-picture] span{display:inline;margin:0;padding:0;border:0;}

Caching

To improve performance, especially in image heavy posts, Picturefill.WP uses transient caching. The cache will be refreshed automatically every time a post is updated or Picturefill.WP is updated. The cache can be manually refreshed by deactivating and reactivating Picturefill.WP from the plugins menu.

If you suspect that Picturefill.WP’s caching is causing trouble with another plugin or theme feature, first try deactivating and reactivating Picturefill.WP. If problems persist, try lowering the priority for Picturefill.WP to be executed by adding the following to your functions.php file:

remove_filter('the_content', array(Picturefill_WP::get_instance(), 'apply_picturefill_wp_to_the_content'), 11);
add_filter('the_content', array(Picturefill_WP::get_instance(), 'cache_picturefill_output'), 9999);

If you still encounter problems with other plugins or theme features, you may want to disable caching all together. See the subsection on how to disable caching under the “Extending Picturefill.WP” section of the GitHub repository.

Details

Picturefill.WP looks through the_content to find elements like this:

Accessible alternate text for the image

then replaces them with something like this (visit the GitHub repository for a breakdown of the syntax):


  
  
  
  
  
  
  
  

The adapted version of picturefill.js then looks for the last data-src listed where the associated data-media matches the device and browser, and loads the appropriate image inside the matched element.

Extending Picturefill.WP

See the Extending Picturefill.WP subsection of the GitHub repository for a list of plugin hooks and examples.

Advanced Use

Markup Tricks

Limit Responsiveness

The responsiveness of an image can be limited by adding the class min-size-{image size}. For example, an image with the class min-size-medium will not load an image smaller than size medium.

Skip Images

To skip images and load them normally add the attribute data-picturefill-wp-ignore to the tag.

Helper Functions

See the helper functions section of the documentation on GitHub.

DomainExposuresHeadersLast Checked
l*r*e*r*e*h.com F 2026-05-13 17:24:44
g*n*a*.net F 2026-05-03 11:29:26

Top 50 Plugins

Plugin Count
elementor 1,756,473
contact-form-7 1,728,289
elementor-pro 1,024,971
woocommerce 799,922
revslider 604,917
jetpack 459,268
js_composer 423,031
wp-rocket 325,807
essential-addons-for-elementor-lite 283,118
gravityforms 258,255
complianz-gdpr 248,417
cookie-law-info 224,740
instagram-feed 223,256
google-site-kit 216,880
sitepress-multilingual-cms 215,794
google-analytics-for-wordpress 210,035
header-footer-elementor 205,913
elementskit-lite 198,799
bluehost-wordpress-plugin 189,610
gutenberg 159,149
cookie-notice 146,224
gutenberg-core 144,661
wpforms-lite 127,657
the-events-calendar 127,623
litespeed-cache 126,200
gtranslate 124,664
astra-sites 118,113
popup-maker 113,498
woocommerce-payments 111,181
tablepress 105,027
honeypot 94,590
coblocks 93,714
astra-addon 93,376
all-in-one-seo-pack 91,553
wp-smushit 91,525
duracelltomi-google-tag-manager 91,157
LayerSlider 89,799
bb-plugin 89,314
premium-addons-for-elementor 85,023
akismet 84,679
megamenu 83,993
cleantalk-spam-protect 82,503
mailchimp-for-wp 82,075
woocommerce-gateway-stripe 81,463
ml-slider 78,813
fusion-builder 77,905
ewww-image-optimizer 77,261
formidable 76,623
borlabs-cookie 76,613
wp-pagenavi 76,351

Top 50 Themes

Theme Count
hello-elementor 600,560
Divi 500,236
astra 415,541
flatsome 126,169
Avada 121,734
generatepress 116,737
pub 100,060
oceanwp 81,549
kadence 76,302
enfold 70,112
salient 65,454
twentyseventeen 54,760
bb-theme 54,332
twentytwentyfour 52,997
cocoon-master 51,737
h4 51,188
betheme 50,586
blocksy 49,275
dt-the7 44,946
twentytwentyfive 42,642
neve 38,308
Avada-Child-Theme 36,816
gox 32,908
woodmart 32,438
bridge 32,297
twentytwentyone 31,574
lightning 30,807
twentytwenty 29,395
swell 28,245
Impreza 25,689
bricks 25,333
twentytwentythree 23,657
Newspaper 22,757
twentytwentytwo 19,761
sydney 19,597
epik-redesign 19,271
uncode 18,603
voxel 17,877
twentysixteen 17,759
pro 17,587
storefront 17,462
extendable 14,471
Total 14,416
yith-wonder 13,964
kubio 13,887
hello-theme-child-master 12,992
factory-templates-4 12,783
themify-ultra 12,708
yootheme 12,593
hestia 12,458