Comments (9)
There could be a few reasons that this isn't working on your site. Are you seeing any specific error messages? Can you post the resulting image markup after grabbing an image using the wordpress editor?
from wp-tevko-responsive-images.
Just a stab in the dark, but tinyMCE might be stripping the srcset for older versions of WordPress, I know they only just fixed that bug in 4.1.
from wp-tevko-responsive-images.
@jhned that's more than likely what's causing it
from wp-tevko-responsive-images.
@mdmcginn I implemented a fix before being told that 4.1 would finally address the issue - 89a4526
from wp-tevko-responsive-images.
tinyMCE is likely my problem. The resulting image markup has no srcset. I don't see any error messages.
from wp-tevko-responsive-images.
So then a (possibly hackey) fix would be to add this to your functions.php file 89a4526
as far as supporting older versions of WP, I think it's best to encourage users to update
from wp-tevko-responsive-images.
After adding the fix, I got Fatal error: Cannot redeclare override_mce_options() (previously declared in /srv/www/vhosts/dmc-wp/wp-content/themes/tamutoday/functions.php:20) in /srv/www/vhosts/dmc-wp/wp-content/plugins/respimg/wp-tevko-responsive-images.php on line 44
from wp-tevko-responsive-images.
then in your themes functions.php file, around line 20, make sure that the override_mce_options()
function includes the same parameters that exist in 89a4526
from wp-tevko-responsive-images.
Error because I'm using an earlier version of the plugin which already contained 89a4526.
Okay. It's legitimate to tell people "Upgrade if you want it to work".
from wp-tevko-responsive-images.
Related Issues (20)
- `the_post_thumbnail()` not returning `srcset` attributes. HOT 2
- Function to output responsive images in themes HOT 1
- Should we increase the default of 'max_srcset_image_width'? HOT 1
- Update documentation of 'wp_get_attachment_image_sizes()'
- Incorrect inline documentation HOT 2
- Problem with filter deprecation notices HOT 1
- Test test_tevkori_filter_content_images() failing against WP nightlies HOT 2
- Full URL path to files HOT 1
- Add custom srcset + sizes values to post thumbnails? HOT 1
- Incorrect srcset for retina images in 3.1.0 HOT 1
- Image tags without ending slash are never made responsive. HOT 4
- wp_calculate_image_srcset(): Reduce accepted aspect ratio difference HOT 2
- Default theme image options can make test fail HOT 2
- Responsive images broken on edited/imported content HOT 1
- Update documentation about plugin features HOT 2
- Problem with WooCommerce images HOT 4
- Use custom sizes attribute with the_post_thumbnail HOT 5
- Backport WP 4.4.1 fixes. HOT 1
- Deprecate/remove calls to `_wp_upload_dir_baseurl()`
- Plugin compatibility with PHP 8.0 | Imagick 3.5.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-tevko-responsive-images.