How to make a “Grab this” linkback button

Wondering how to make a “Link back to us” a.k.a “Grab this” button widget just like the live example below? Whereby readers would copy and paste the code in the textbox to display your button/badge on their blog? It’s easy, you can do it in just two steps.

Grab this linkback

[Update June 2013] Update tutorial to keep up with Blogger's latest user interface.

Here’s how:

1. Make the button

Make a button, badge, banner or whatever. Make it eye-catching and inviting. The goal is to get people to click the button. You can make it on your own using Gimp or Photoshop or you can use an online button maker/generator. Some of the sites that offer the service are CoolText, GRSites and AdamKalsey. There is also list of button makers by Mashable.

2. Display the button and code in your sidebar

  1. Go to Dashboard > Layout.
  2. Click Add A Gadget.
  3. In Add A Gadget window, select HTML/Javascript .
  4. Enter the title of your widget e.g. Link back to us or Grab this button.
  5. Copy the following code and paste it inside the content field.
    <img src="YourButtonUrl"/> 
    <textarea style="width: 95%; height: 80px" name="textfield"><center><a title="YourBlogName" href="YourBlogUrl" target="_blank"><img border="0" src="YourButtonUrl"/></a></center></textarea>
  6. Replace:
    • YourButtonUrl with the direct link to the button.
    • YourBlogUrl with the url of your blog.
    • YourBlogName with the name of your blog.
  7. You can change the size of the textbox by changing the width and height attribute values.
  8. Click Save and view your blog.

That’s it. Enjoy.

There is an alternate method on how to install “link to us” widget -no code will be displayed, no copy-pasting required.)

71 comments to "How to make a “Grab this” linkback button"

Tujuh Saudara-Shopping Songket and Kebaya Online August 6, 2009 at 4:42 PM    

thanks.. this code is really..really help me..^_^

Greenlava August 6, 2009 at 7:35 PM    

Glad to help :)

InnO August 25, 2009 at 11:29 AM    

nice souvenir from you, thx

Greenlava August 27, 2009 at 12:55 PM    

My pleasure InnO

TCKK October 19, 2009 at 8:40 AM    

Thank you. This really helped!

patrick November 17, 2009 at 5:49 PM    

as usual on the net, people do not know how to explain and assume certain knowledge that is not there!I followed your instructions and got a nice html text in a box with numbers around.Useless

Greenlava November 17, 2009 at 9:04 PM    

and there are people who expect to be spoonfed, even for free stuff.
Have you read the FAQs? December 28, 2009 at 6:13 PM    

Thax this work great for me. Very easy to follow. Thax again.

Emily February 20, 2010 at 5:39 AM    

One question and I may be thinking about it too hard:

How do I get the button url? I have the graphic made, but am confused on the step inbetween to get it linked? Where do I upload it?

Greenlava February 20, 2010 at 9:10 AM    

Upload it to Photobucket, Flickr or any other free image host.

Anonymous,  April 16, 2010 at 5:23 AM    

Thank you!! I had made a button previously, and totally forgot how to make one. This tutorial was very helpful, and I'll be adding it to my bookmarked pages.


Greenlava April 16, 2010 at 4:36 PM    

You're welcome and thanks for bookmarking.

Pink Princess April 17, 2010 at 5:11 PM    

Just addd YOUR button to my blog :)

Greenlava April 17, 2010 at 5:21 PM    

@Pink Princess
Thanks :)

Lisa Marie May 13, 2010 at 12:52 PM    

Kind of a dumb question... I thought it was going to have the box below it so that readers could copy and code and paste the button to their blog?
It did work... I have a friend's blog I've been wanting to link to on my page so I used her picture, your code and voila, I now have her button on my page.
But how do I get it so that it also displays the code underneath the button for others to grab it? (She doesn't know how to do this either so I thought I'd find out for her)

Greenlava May 13, 2010 at 4:32 PM    

@Lisa Marie
Use the code in step 2.6, not the code under the red badge (that's a finished product demo)

Greenlava May 13, 2010 at 4:33 PM    

@Lisa Marie
Use the code in step 2.6, not the code under the red badge (that's a finished product demo)

Ashley May 14, 2010 at 8:10 AM    

THanks so much!!!! I was having such a hard time trying to figure it out!!! You rock!

Jo Princess Warrior June 29, 2010 at 3:58 PM    

Thank you! That was so simple.

Greenlava June 29, 2010 at 9:51 PM    

@Jo Princess Warrior
You're welcome

Michele,  July 5, 2010 at 10:34 PM    

Okay, so to totally dumb this down and make sure I've got the gist...Making a button is a 3-step process. First, I have to create the button image in one place (like GRSites). Second, I have to find a host (like Flickr) and upload the image (therby giving me the ButtonURL). Third, I have to set up the button on my blog. Does that sound right?

Greenlava July 6, 2010 at 12:15 AM    


BearyWishes August 2, 2010 at 11:56 PM    


Greenlava August 3, 2010 at 1:16 AM    


Penny August 26, 2010 at 6:14 AM    

I am having difficulty with uploading my blog button from Flickr. I do all the steps as you have detailed (thank you!) and when I install it, it doesn't work. People who copy and put it on their blog state it doesn't work when they click on it. The same happens to me - it sure does look pretty, but doesn't work. Is there something specifically I am doing wrong? Thanks for any and all help!

Greenlava August 26, 2010 at 10:12 AM    

You code is wrong. Use this one instead:
[img src="" /]
[textarea style="width: 191px; height: 80px" name="textfield"][center][a title="A Sweet Grace" href="" target="_blank"][img border="0" src="" /][/a][/center][/textarea]

copy and paste, then carefully replace [ and ] with < and > respectively.

Aarthi August 28, 2010 at 2:52 PM    

Thanks a lot for the useful tip and the code format that you have provided here. It was immensely helpful to me. I am a writer basically and find it difficult to understand and put to use coding in my blog's pages, but your guidance was truly helpful! Thanks again! Please keep up the fantastic work!

Greenlava August 28, 2010 at 8:03 PM    

Blogger tutorials for the masses, that's one of my goals.
Thanks for your kind words :)

Face of Avon September 12, 2010 at 10:56 PM    

My image wont come in. I tried it at google image and flicker.

Greenlava September 13, 2010 at 3:06 PM    

@Face of Avon
I see you've solved the problem, by yourself :)

by night October 29, 2010 at 8:06 PM    

I just used your advice to make a "grab a button" link in a message and it worked super fine! I think it was my 10th attempt. You wouldn't believe how relieved and happy I am now... Thank you very, very much!

Greenlava October 30, 2010 at 3:03 PM    

@by night
You're welcome. Thanks for the comment.

Beth @ Wiccan Make Some Too November 5, 2010 at 11:57 AM    

Oh wow I am totally stoked! It worked. I have only been trying like forever & could not figure it out. Read your instructions & now I am so happy. Thanks heaps!

Greenlava November 5, 2010 at 7:10 PM    

@Beth @ Wiccan Make Some Too
My pleasure. Thanks for commenting.

H.H. December 5, 2010 at 2:50 PM    

Thanks for the easy tutorial. I tried two other codes from elsewhere and for some reason they did not work as I could not change the size of the textbox with their codes. However yours was perfect so thank you!

crickets December 24, 2010 at 2:49 AM    

Thx for the great tutorial. It worked great for me a few months ago, but now I'm having a problem with the size of the button graphic. It is huge! I host my pics on photobucket, and I tried uploading a smaller export image size...did not work. HELP!

Greenlava December 24, 2010 at 4:46 PM    

You can resize the image using HTML -by adding either width or height atribute, like so:
[img src="YourButtonUrl" width="100px" /]
add it in both line 2 and 3.

Kat January 16, 2011 at 4:31 AM    

Thank you, thank you, thank you!!!!!!! Simple and easy! I also used imageshack to upload my button and got the direct link that way. I hope that helps someone :):) Again, than you!!!!!!

T. E. C. January 19, 2011 at 4:37 AM    

This code was extrememly helpful!! Thanks so much for sharing!

Sarah February 3, 2011 at 8:33 AM    

So I'm not sure what I am doing wrong. I get the code box to show up but instead of my picture/button being there it's just a red X. I was using Picasa and then switched to Photobucket. Please help!!

Greenlava February 4, 2011 at 7:35 AM    

Make sure you have the correct URL to the image. The URL should end with either .jpg, .gif or .png.

Inspired February 18, 2011 at 7:39 AM    

Just got it to work for me and I've never done this before.

Took some brainstorming but seems to be working!

angie February 21, 2011 at 8:23 AM    

Okay I followed all of the steps but my button does not work??? what did I do wrong

Greenlava February 21, 2011 at 9:58 PM    

I won't know if I don't see the code. Why don't you post the code on my Facebook page (since you can't post it here in the comments).

KarenK April 13, 2011 at 7:20 AM    

Thanks so much! Worked first time.

Melanie April 16, 2011 at 9:54 PM    

I don't have HTML/Javascript thing! :(

Greenlava April 17, 2011 at 10:38 AM    

Of course you do. Scroll down the Add A Gadget window to find it.

jbplbarbara April 22, 2011 at 12:54 AM    

A HUGE THANK YOU!!! This was so helpful. Thank you so much for sharing. Best of luck and success in your business.
Many blessings,

Lizbeth April 26, 2011 at 4:00 AM    

I'm so close....I've got the image and text box under the image but the button won't work when I click on!

Greenlava April 26, 2011 at 9:41 PM    

The image won't click on your blog. But it will be clickable once installed on your friends' blog.

Joy Page Manuel April 28, 2011 at 4:35 AM    

MUCH appreciated!! Out of 4 other sites I checked out, yours really worked!

TheVelvetBox May 1, 2011 at 3:55 AM    

Thank u so Much! it was easy and it worked the first time I did it. Thanks!

Escape by Fiction May 1, 2011 at 5:01 AM    

thanks for the assistance, it was a big help!!

Kristen May 28, 2011 at 12:16 AM    

Ahhh success! I figured it out with a little more playing. This is all so new to me and your site is a HUGE help! Thank you so much!

Susan June 5, 2011 at 12:03 AM    

This sounds easy to do, but, how do you get the image and code on the same page? Will there be a place in the HTML/javascript to install the image?
Thank you for your assistance.

Greenlava June 5, 2011 at 7:17 PM    

Upload your image by following this tutorial, and then use the direct link as YourButtonUrl.

Cheryl July 6, 2011 at 10:47 AM    

THank you, thankyou! Easy schmeezy with your help for this bloggin' newbie! I got BUTTONZ!

Jody Pearl July 15, 2011 at 1:30 PM    

thankyou soooo much for all your help! I have what looks like the perfect Grab Button however I'm not sure if I've actually just created a nice picture with useless code underneath! I don't seem to have a link back to my Blog - can I ask you to swing over and have a look please?!

Greenlava July 16, 2011 at 2:24 AM    

@Jody Pearl
Click here for the answer.

Keri Kelly July 18, 2011 at 12:33 AM    

Thank you for your straightforward and easy steps. I used it for my blog and have linked to this site for others to enjoy!

Mio August 27, 2011 at 5:23 AM    

thanks a lot. This code and your easy to follow guide is very helpful :) and it works on my blog now yeah !

rose water August 28, 2011 at 6:58 PM    

Thank you SO much for this! I'd tried it many times using other websites' instructions, but this one was so clear and simple to follow - so thanks again :)

Wirelicious Jewellery September 20, 2011 at 11:45 PM    

Thank goodness an intelligently written description for a computer Dummy.

Anonymous,  October 7, 2011 at 11:25 PM    

THANK YOU!!!!!!!!!!!!! There are so many websites' instructions and i'm so excited that i finally found one that works!!! Thanks again!

Kristina October 9, 2011 at 12:25 PM    

Thanks this was so helpful. It still took me almost an hour to get it completely right but I have it. Thank you so much, now I just need to get someone to put it on their blog to make sure it works properly. Thank you, thank you thank you!

PSYCHABLES October 21, 2011 at 7:07 AM    

Hi I am grabbing your link button.. Thanks for your info!

Feral Turtle November 13, 2011 at 9:36 PM    

Hi I just subscribed to your site, bookmarked you and added your button to my blog under my button, so that other people could see your post on creating buttons. Thank you for this post and your help. I will be browsing through your blog for other helpful tips. Cheers!

channelspk December 10, 2011 at 10:47 AM    

Nice trick dude, this trick only show the link which we provide it,I want a tip ,when visitor visit the page, the only that page link appear in text box, like many website written in side bar "Link to this page " a hypertext link written below that specific page.IF you know how to do this then please share it........Thanks

sierrasavannah December 15, 2011 at 8:53 AM    

Hi there, i cannot resize the button! it is HUGE- and I have tried what you said earlier to Crickets (comment #37) but it did not work. Thanks in advance.

Greenlava December 17, 2011 at 2:11 AM    

It should've worked. Try it again. with this code:
[img src="" width="150px"]

decampurdotcom February 13, 2013 at 11:57 PM    

cool!! it help me alot..thanks!

Click to go to top Click to comment