forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Shabbir A Bashar on November 30, 2016, 11:12:38 pm

Title: How to make images and text searchable
Post by: Shabbir A Bashar on November 30, 2016, 11:12:38 pm
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.