Hi Iamnt,
I’m not sure I understand the question. Are you saying that you installed the plugin but it’s not showing up in your list of installed plugins in the admin? If that’s the case, then something may have gone wrong during the install process. I would suggest trying to reinstall.
Once installed and activated, the plugin will automatically add srcset
and sizes
attributes to all of the images you’ve embedded in posts.
Joe
Thread Starter
lamnt
(@lamnt)
Hi Joe,
Once installed and activated, the plugin will automatically add srcset and sizes attributes to all of the images you’ve embedded in posts.
It’s my expected. I did installed and activated the RICG Responsive Images 3.0. But i don’t see the the attr srcset in the posts. just on have an attr “full-size”.
What’s happen with the images embeded in the old posts? or it just apply for new posts.
Thanks Joe.
Hi Lam,
The srcset
and sizes
attributes should apply to both old and new posts. Can you try turning off other plugins to test so there are no conflicts?
Thanks,
Joe
Thread Starter
lamnt
(@lamnt)
Hi Joe,
I have tried deactive all plugins, just active the plugin RICG and test in two case:
1. It works fine with fresh intalled wordpress and the plugin RICG. I tested it with my theme and twenty fifteen theme, create some new posts, add some new images. In Media Library, i see the image have some more options in the “Size”.
2. On fresh installed wordpress with old database, it doesn’t work with images in the old posts. In the Media Library, I don’t see any option in the Size of the old images. So, when i upload the new images, i can see some more options on that.
I think the plugin doesn’t apply for old images embed in the posts. Do you have any ideas to update them?
Thanks,
Lam
Hi Lam,
It sounds to me like WordPress was not making extra sizes of your old images when they were uploaded. Our plugin only uses the image sizes available and doesn’t create any new image sizes by itself. I would suggest regenerating all of your image sizes using a plugin like this one: https://wordpress.org/plugins/regenerate-thumbnails/.
Let me know if that fixes the problem.
Joe
Thread Starter
lamnt
(@lamnt)
Thanks Joe,
I still didn’t try it. I have tried made the images responsive by another the way.
Thanks for your helps.
Hi,
same problem here: Installed the plugin but nothing happens (only the picturefill.js is included in frontend).
I have no settings-page nor link to settingspage in the backend: looked through your code and couldn’t find any kind of add_menu command …
shouldn’t there be one?
No srcsets created.
Can you help?
i use WP 4.3.1 and php 5.4 – if this matters.
Hi Melela,
The plugin doesn’t add any settings page, because there are no settings 🙂
The plugin automatically adds srcset
and sizes
attributes to images in post content and to post thumbnails, but … the attributes are only added if there are multiple image sources available with the same aspect ratio after excluding images that are wider than 1600 pixels (that value can be configured with the max_srcset_image_width
filter hook).
The attributes are added before the page is being displayed. So you don’t see the attributes in the post editor, only when you view the page source or inspect the code in your browser.
Did you change the dimensions of image size “medium” and/or “large” in the settings > media menu? Assuming you use the defaults (300 width/height for “medium” and 1024 for “large”) a srcset
should be added to images in post content with at least those two image sizes. If the original image that you uploaded isn’t wider than 1600 pixels it should be included in the srcset
as well.
For post thumbnails (featured images) it depends on what size has been set for them and most of all if crop is set to true
. But let’s first focus on content images to not make it more complicated.
Let us know if you still think the plugin isn’t working after reading this information.