php - Joomla "Link Preview" (like the facebook feature) -



php - Joomla "Link Preview" (like the facebook feature) -

i seek joomla 2.5 website feature of facebook "preview link". feature should generate preview when come in link in article (just facebook in status field). need features link text/images not video.

i found link having difficulties understand how suppose implementing joomla website.

thanks lot help!

to dictate used facebook link in content, need create utilize of facebook opengraph meta tags.

take @ section of facebook developers site, section 3: utilize proper open graph tags.

link here

the 3 need you're after are:

<meta property="og:title" content="mycontenttitle" /> <meta property="og:description" content="enter snippet here." /> <meta property="og:image" content="http://myurl.com/images/logo-100x100.jpg " />

you can either statically set these website, or manipulate template files articles, , echo out article titles/images/snippets using php.

//edit//

after clarification comments, easiest method add together tooltips using jquery/jquery ui:

jquery ui tooltips

you can create tooltips big like, add together preview of article leads to.

of course, you'll have create changes site template add together this, , include jquery ui/jquery template header, if it's not there already.

in add-on that, you'll need utilize php echo article title, description , image within tooltip.

php jquery facebook joomla joomla2.5

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -