I use the pluggin EnlargeIt so you never get to the Displayimage.php
I would like to have meta tag Keywords working in the thumbnail.php
I searched the forum and read that this tag should be there already
http://forum.coppermine-gallery.net/index.php/topic,55366.msg270308.html#msg270308
But it's not working for me annyway. Is there something i overlooked? And otherwise
how can i get it to work?
Thanks in advance Eddie Hillegers
Coppermine: http://www.ebonist.nl/portfolio/index.php
Quote from: eddieh on February 02, 2011, 12:51:35 PM
how can i get it to work?
Open
thumbnails.php, find
$meta_keywords = '';
and replace with
$meta_keywords = '<meta name="keywords" content="_current_picture_keywords_"/>';
Done that and the meta show up like this in the sourcecode
<meta name="keywords" content="_current_picture_keywords_"/>
It generates the tag but not the keywords.
thanks for the quick reaply.
Cheers Eddie
Which keywords should be displayed? The album keywords?
Quote from: Joachim Müller on September 28, 2008, 10:26:07 AM
7. Be detailed
Post as many details as possible
Quote from: Αndré
Which keywords should be displayed? The album keywords?
Album keywords or thumbnail keywords by the nature of my work
those are always the same per album and it's thumbnails therein
Sorry if i was incomplete with my reaction.
after i changed the code in thumnail.php and uploaded it
i went to http://www.ebonist.nl/portfolio/thumbnails.php?album=35
and checked the sourcecode of the page. That gave me the following
in the header
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Amsterdam - Meubelmakerij de Ebonist</title>
<meta name="keywords" content="_current_picture_keywords_"/>
So it does generate the tag but not the keywords
Sorry i hit post instead of preview.
thanks for the quick reply
Cheers Eddie
Open thumbnails.php, find
$meta_keywords = '';
and replace with
$meta_keywords = $CURRENT_ALBUM_DATA['keyword'] ? '<meta name="keywords" content="'.$CURRENT_ALBUM_DATA['keyword'].'" />' : '';
<meta name="keywords" content="kersen" />
You nailed it! great!
Thank you very much cheers Eddie
I'd buy you a couple of nice Amsterdam beers if i get to know your adres
i,ll send them to you.