Tagged: x
-
AuthorPosts
-
September 27, 2016 at 11:06 am #1192510
neodjandreParticipantI am using this code to remove additional image sizes created by theme which seems to work but I can still see 1 more size being generated when i upload an image.
add_action('init', 'remove_plugin_image_sizes'); function remove_plugin_image_sizes() { remove_image_size('post-thumbnail'); remove_image_size('entry'); remove_image_size('entry-cropped'); remove_image_size('entry-fullwidth'); remove_image_size('entry-cropped-fullwidth'); }Is there something I am missing here?
September 27, 2016 at 11:27 am #1192543
ThaiModeratorHi There,
It could be from the 3rd party plugins.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
September 27, 2016 at 11:33 am #1192551
neodjandreParticipantThis reply has been marked as private.September 27, 2016 at 2:16 pm #1192761
DarshanaModeratorHi there,
Can you please try the following (https://community.theme.co/forums/topic/duplicate-image-sizes/#post-306165).
Hope that helps.
September 27, 2016 at 2:29 pm #1192794
neodjandreParticipantYes, I tried that but for some reason there is still 1 image size that seems to be generated by the theme..
September 27, 2016 at 4:28 pm #1192958
JadeModeratorHi there,
I tried to login using the info you provided but it seems to be incorrect.
Kindly double check.
September 28, 2016 at 6:13 am #1193698
neodjandreParticipantHi,
Please try again as it’s correct login.
September 28, 2016 at 7:07 am #1193763
Paul RModeratorHi,
These are all the image sizes that are registered.
Kindly delete those that you need.
add_action('init', 'remove_plugin_image_sizes'); function remove_plugin_image_sizes() { remove_image_size('thumbnail'); remove_image_size('medium'); remove_image_size('medium_large'); remove_image_size('large'); remove_image_size('post-img'); remove_image_size('post-thumbnail'); remove_image_size('entry'); remove_image_size('entry-cropped'); remove_image_size('entry-fullwidth'); remove_image_size('entry-cropped-fullwidth'); }Thanks
September 28, 2016 at 3:24 pm #1194565
neodjandreParticipantah, this doesn’t work! I give up.. I guess I have to live with this additional image, I don’t know where it’s coming from but the dimensions are calculated automatically which makes me guess is X-theme but nevermind..
September 28, 2016 at 5:54 pm #1194765
DarshanaModeratorHi there,
You will also have to inspect your 3rd party plugins.
Thanks!
September 29, 2016 at 3:43 pm #1196318
neodjandreParticipantFinally!! For your information this is the problem:
you might be interested in reading this for your own purposes…
September 29, 2016 at 8:58 pm #1196759
Rue NelModeratorHello There,
Thanks for sharing this information.
Cheers.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1192510 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
