Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: keywords from images to the meta tags  (Read 4874 times)

0 Members and 1 Guest are viewing this topic.

adiboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Computer repair stoke on trent
keywords from images to the meta tags
« on: March 15, 2005, 07:57:11 pm »

hi every one.   i want it to ask if i can have my keywords that i have got on the images on the photo albums  to the keywords of the page so like wen i put my site on google search all the pages are included on it.


i want to get the keywords from images and put them on the meta tags of the page


can it be done


Logged
Computer repair stoke on trent  :o http://sy2.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: keywords from images to the meta tags
« Reply #1 on: March 15, 2005, 11:06:04 pm »

not sure what you refer to: the keyword of a file is already being used as keyword in the meta tag as well. Take a look at the demo: the keywords of http://coppermine.sourceforge.net/demo/displayimage.php?pos=-2 are "strawberry apple fruit" - here's a snippet of the html output:
Code: [Select]
<meta name="keywords" content="strawberry apple fruit">. If this is not what your question is about, please elaborate.

Joachim
Logged

adiboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Computer repair stoke on trent
Re: keywords from images to the meta tags
« Reply #2 on: March 15, 2005, 11:16:57 pm »

do you knwo why i have got 2 keywords on them will googel index every thing?


<META NAME="KEYWORDS" CONTENT="Free, FREE, free, 3d animals, space, aircraft, nature, tropical">


and

<meta name="keywords" content="Kill All The Humans">
Logged
Computer repair stoke on trent  :o http://sy2.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: keywords from images to the meta tags
« Reply #3 on: March 15, 2005, 11:39:29 pm »

post a link to your site.

Joachim
Logged

adiboy

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Computer repair stoke on trent
Re: keywords from images to the meta tags
« Reply #4 on: March 16, 2005, 12:06:34 am »

here is the link http://fun.diboy.co.uk
Logged
Computer repair stoke on trent  :o http://sy2.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: keywords from images to the meta tags
« Reply #5 on: March 16, 2005, 06:21:41 am »

edit http://fun.adiboy.co.uk/themes/caliSkinV6/template.html, find
Code: [Select]
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT">
<META NAME="DISTRIBUTION" CONTENT="GLOBAL">
<META NAME="AUTHOR" CONTENT="{TITLE} gallery">
<META NAME="COPYRIGHT" CONTENT="Copyright CPG-Themes 2004 by DaMysterious">
<META NAME="KEYWORDS" CONTENT="Free, FREE, free, 3d, 3d pictures, erotic art, pinups, artist, cartoon, anime, manga, scenery, scenic, artistic, babes, supermodel, ocean, underwater, photos, movies, animals, space, aircraft, nature, tropical">
<META NAME="DESCRIPTION" CONTENT="{TITLE} is your ultimate place to get free desktop wallpapers, images, pictures, and photos from various categories easily!">
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
<META NAME="REVISIT-AFTER" CONTENT="1 DAYS">
<META NAME="RATING" CONTENT="GENERAL">

<META NAME="GENERATOR" CONTENT="Coppermine v1.3 - Copyright 2004 by http://forum.coppermine-gallery.net/">
and replace with
Code: [Select]
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT">
<META NAME="DISTRIBUTION" CONTENT="GLOBAL">
<META NAME="AUTHOR" CONTENT="{TITLE} gallery">
<META NAME="DESCRIPTION" CONTENT="{TITLE} is your ultimate place to get free desktop wallpapers, images, pictures, and photos from various categories easily!">
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
<META NAME="REVISIT-AFTER" CONTENT="1 DAYS">
<META NAME="RATING" CONTENT="GENERAL">

Then edit displayimage.php and find
Code: [Select]
    if ($CURRENT_PIC_DATA['keywords']) { $meta_keywords = "<meta name=\"keywords\" content=\"".$CURRENT_PIC_DATA['keywords']."\">"; }  and replace with
Code: [Select]
    if ($CURRENT_PIC_DATA['keywords']) { $meta_keywords = "<meta name=\"keywords\" content=\"".$CURRENT_PIC_DATA['keywords']."Free, FREE, free, 3d, 3d pictures, erotic art, pinups, artist, cartoon, anime, manga, scenery, scenic, artistic, babes, supermodel, ocean, underwater, photos, movies, animals, space, aircraft, nature, tropical\">"; } 
Joachim

P.S. Please note that I consider those keywords as "keyword spamming", as those keywords don't match your site's content at all.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.