All Collections
Tips, Tricks & Tweaks
How do I remove the Image Sharing buttons from some images?
How do I remove the Image Sharing buttons from some images?

Learn how you can exclude the Image Sharing from some images

João Romão avatar
Written by João Romão
Updated over a week ago

Our image sharing feature allows visitors to share independently an image to their favorite social networks. If you don't know about the feature, here's how it looks:

However, there might come the case where you don't want these buttons to show in some images, such as logos. When that time comes, it's easy to remove them.

Instead of the normal code, which looks like this:

<img src="http://blog.getsocial.io/wp-content/uploads/2015/05/image_share.png" alt="Share buttons for images">

Just add the class gs-no-share and the buttons will disappear. Example:

<img class="gs-no-share" src="http://blog.getsocial.io/wp-content/uploads/2015/05/image_share.png" alt="Share buttons for images">

The images using that class should be button-free now.

Did this answer your question?