Yup, makes sense. Simplest way to do this would probably be adding a filter to the_content with a prio higher than 10 to remove the mime-type icons for image links.
@thilol – you can try using the hidden_classname field in plugin admin.
Let us know how you get on. We can always use a jquery wildcard selector instead of classname in a later version of the plugin, so
jQuery(this).parents(‘.myexcludedclassname’).length)
becomes
jQuery(this).parents(‘[class^=wp-image-]’).length /* matches all images on my theme */
Thread Starter
ThiloL
(@thilol)
My image in the post has the following css-class:
alignleft size-full wp-image-351
So it’s not easy to decide for one.
Even if I use “alignleft” in the plug-in options it doesn’t work.
This is the page: http://s4000.heubisch.eu/
@thilol – you can choose to change your hidden_classname to size-full or add the hidden_classname as a class of your image.
I think that going forwards we will have a wildcard selector, but for the moment those are your options.
@thilol, in the new version (v3) you can add several classes to the exclude list. Hopefully this will give you more of the flexibility you are looking for.
Also, have a look at the example I’ve added to the FAQ.
If this is to your satisfaction, please mark the topic resolved.
Thanks, Juliette