$(wrapper).find('img').remove(); is very harsh. Patch makes sure the image has jp-poster ID.

CommentFileSizeAuthor
remove-poster-by-id.patch383 bytesamitaibu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

deviantintegral’s picture

Status: Needs review » Needs work

It's not clear to me what that CSS selector is doing. Is it missing a close bracket? I'm wondering if this is what you were going for, though I'm not sure how to replicate your issue:

// Remove any images that are not posters.
$(wrapper).find('img[id!=jp_poster]').remove();
markie’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

All: With the release of 7.x-2.0 I am going to close this issue and look forward to any new issues created against that release. Thanks for your patience on this project.