Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9002547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:35:06+00:00 2026-06-16T00:35:06+00:00

trying to get my Like button to link to WordPress attached image URL. Is

  • 0

trying to get my “Like” button to link to WordPress attached image URL.

Is it possible to “Like” just an image file?

Here’s what I have

<?php $large_image_url = wp_get_attachment_url( get_post_thumbnail_id(), 'large'); ?>

<div class="likeButton" style="float: left;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($large_image_url); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:25px"></iframe></div>

Firebug shows it’s linking, but pressing like yileds no results to my FB page. Hewlp!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:35:07+00:00Added an answer on June 16, 2026 at 12:35 am

    See my answer here: Like Button counts the likes of a PDF but does not actually post the activity?

    You can’t like a file directly because the file won’t serve the metadata Facebook uses to display the ‘like’ story – you need to like a HTML URL, then include the image on that URL (or redirect users other than Facebook’s crawler to the image)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get my like button on my website www.nacts.com.au to add
Im trying to get an image from a wcf rest service like so: [ServiceContract]
With rails version 2.3.8 I'm trying to get HTML output like: <a href=/product/list data-role=button>Product
I'm using Rails3. Now trying to implement follow button in index.html.erb just like twitter.
I am trying to get twitter updates like this: try { $doc = new
I'm trying to get matches for commands like this; [AUTR| <version_software> | <version_protocol> |
I'm trying to get a layout to look like this : (source: yfrog.com )
I'm trying to get my location using it like this: LocationManager myLocationManager = (LocationManager)
I am trying to get some toon shadding like effect for primitive types, ie.
hi I am trying to get user profile information like this once the authentication

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.