Views Fields for Photos

CommentFileSizeAuthor
Views-fields.png61.81 KBAbu Salam

Comments

Abu Salam created an issue. See original summary.

nathaniel’s picture

Thanks for the report. Looks like the hook_views_data can be updated in photos.module. Around line 1709. Using the same settings as title should be fine:

  // Image description.
  $data['photos_image']['des'] = [
    'title' => t('Image description'),
    'help' => t('The description for this image.'),
    'field' => [
      'id' => 'standard',
    ],
    'sort' => [
      'id' => 'standard',
    ],
    'filter' => [
      'id' => 'string',
    ],
  ];

  • Nathaniel committed d4e7331 on 8.x-4.x
    Issue #3105183 by Abu Salam: Image Description is not available for...
nathaniel’s picture

Version: 8.x-4.2 » 8.x-4.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.