82
82
if current_item.is_capable(ItemCapabilities.HasThumbnails) and \
83
83
Settings().value('api/thumbnails'):
84
84
# If the file is under our app directory tree send the portion after the match
86
86
if frame['image'][0:len(data_path)] == data_path:
87
87
item['img'] = urllib.request.pathname2url(frame['image'][len(data_path):])
88
88
Registry().get('image_manager').add_image(frame['image'], frame['title'], None, 88, 88)