How to make images and text searchable How to make images and text searchable
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to make images and text searchable

Started by Shabbir A Bashar, November 30, 2016, 11:12:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shabbir A Bashar

Hi everyone,

I've seen that some websites are using specific codes to help image and text search engines to make sure they can be easily identified.  It seems, the following lines of code are being used to achieve this:

=============
<meta name='keywords' content='Biman Bangladesh Boeing 737-800 S2-AFL, Biman Bangladesh at Dhaka - Hazrat Shahjala Intl airport, photo, image, picture' />
<meta name='description' content='Biman Bangladesh 737-800 photo taken by Shabbir A Bashar - Taxiing for departure.' />
<link rel='image_src' href='http://www.WEBSITENAME/images folder/uploaded-images/2016/11/23/812837.jpg' />
<meta name='medium' content='image' />
<meta property="og:title" content="Biman Bangladesh Boeing 737-800 photo by Shabbir A Bashar" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://www.WEBSITENAME/images folder/uploaded-images/2016/11/23/812837.jpg" />
<meta property="og:url" content="http://www.WEBSITENAME/photo/812837/s2-afl-biman-bangladesh-boeing-737-800/" />
<meta property="og:description" content="www.WEBSITENAME - some descriptive text" />

====================

Whereas the code that is generated by the default Coppermine 1.5.44 (yes I recently upgraded successfully from 1.5.9) is something like this:

===========================
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Main - 9V-SWS Singapore Airlines B773 - PlaneXplorer</title>
<meta name="keywords" content="Singapore Airlines,Boeing,B773,9V-SWS,ZSPD" />
===========================

for this page:
http://www.planexplorer.net/Xploregallery/displayimage.php?pid=529

Is there a way to incorporate this into my Coppermine powered website? 

Thanks in advance.