Targeting img element is rather presumpuous. This patch just makes it set defaults to panopoly img tags.
This is to http://drupal.org/project/panopoly_images , and I'm uploading the patch to http://drupal.org/project/panopoly .
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2468445.patch | 689 bytes | robloach |
| #2 | panopoly_images-img-css-2468445-2.patch | 519 bytes | dsnopek |
Comments
Comment #1
robloachComment #2
dsnopekAh, good catch, thanks! Only the theme should mess with all 'img' tags. However, you missed a few of the image styles from Panopoly. Here's a new patch with the rest. It looks good in my testing! I'll commit in a moment.
Comment #4
dsnopekCommitted! Thanks, again. :-)
Comment #7
andrew_mallis commentedThere is a regression when using the media browser library to search for items of type video.
should include
or the video thumbnails bust outside their container.
It's kinda late rolling a proper patch is outside my immediate reach. Maybe tomorrow.
Comment #8
dsnopekThanks! If you do roll a patch, can you put it on a new issue?
Comment #9
robloachShould those style definitions be part of the Media module? Looks like there isn't a `.media-thumbnail` definition in media.css.
Comment #10
robloachAh, I see it part of panopoly_images....
https://github.com/RobLoach/panopoly_images/pull/1
https://github.com/RobLoach/panopoly_images/pull/1.diff
https://github.com/RobLoach/panopoly_images/pull/1.patch
Comment #11
andrew_mallis commentedI've taken a closer look at this and have a better solution in mind. Will post new issue.
Comment #12
robloachhttps://www.drupal.org/node/2573877