hello,
i want to display social icons on images like facebook. is there any way to embedd?
Thanks
hello,
i want to display social icons on images like facebook. is there any way to embedd?
Thanks
Two common approaches depending on what you meant by “embed”:
raised the right distinction; that will help decide which path you need. mentioned badges — many services give badge images or embed snippets you can use as the icon source.
A simple, reliable overlay pattern (HTML + CSS):
<div class="photo">
<img src="photo.jpg" alt="Photo description">
<a class="share fb"
href="https://www.facebook.com/sharer/sharer.php?u=https://example.com"
aria-label="Share on Facebook"
target="_blank" rel="noopener noreferrer">
<img src="fb-icon.svg" alt="">
</a>
</div>
.photo { position: relative; display: inline-block; }
.photo img { display: block; }
.photo .share { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; }
.photo .share img { width: 100%; height: 100%; display: block; } Practical tips and troubleshooting:
position:relative and the icon has a higher stacking context (z-index) if other overlays exist. aria-label and avoid decorative alt text on the icon image (use alt="") so screen readers focus on the link action.This covers the two paths and common gotchas so a working overlay or a server-side composite can be implemented cleanly.
Jump to Post— Member #120589You want to embed an image inside another image or do you want to place a 'button' on top of an image?
You want to embed an image inside another image or do you want to place a 'button' on top of an image?
I'm not sure I understand your question? You can embed your badges for social media on your website just like it is an image. If you want to display your other social media sites on your facebook page then you can add it as an application on Facebook or add it to your posts on Facebook.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.