There are meta tags, keyword for albums, but no tags for images. It will be very good for google bot when all images can have there own meta tags and keyword.

CommentFileSizeAuthor
#6 nodewords.module.txt20.9 KBeastcn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Babalu’s picture

subscribe

eastcn’s picture

Photos.module shows images of text to description.
Regarding the meta tags, You should look for expansion modules, such as: Meta tags http://drupal.org/project/nodewords

Konstantin_by’s picture

Assigned: Berdir » Unassigned

I already have Meta tags module installed. There only meta tags for albums not for images.

vidda’s picture

I have this Meta tags module and it does not seem to have such functionality for images from album photos. These images are probably unknown for other modules, they are only internal part of album photos, nothing else.

Berdir’s picture

Assigned: Unassigned » Berdir

The problem is probably that images aren't stored as nodes (while albums are), so they are not visible automatically to other modules.

I'll have a look at it to see if integration is possible.

eastcn’s picture

FileSize
20.9 KB

Need to do a little revision.
nodewords.module, about 772 lines, add the following code:

    case 'photos':
      // photos.module
      if(module_exists('photos') && arg(0) == 'photos' && arg(1) == 'image' && is_numeric(arg(2))){
        $image = db_fetch_object(db_query('SELECT pid, nid FROM {x_image} WHERE fid = %d', arg(2)));
        return array('type' => 'node', 'ids' => ($image->nid ? $image->nid: $image->pid));
      }
      break;

Will inherit the album node or set of meta tags. The revised document to download

nehelek’s picture

Assigned: Unassigned » Berdir

patch does not work because there is no nid column in the x_image table

Nathaniel’s picture

Assigned: Berdir » Unassigned
Issue summary: View changes
Status: Active » Closed (outdated)
Related issues: +#3100870: [meta] photos 6.0.x plan

Cleaning up the issue queue. This should be possible in 8.x-5.x since the images are entities now.