@acekyd, you’re awesome — this improvement is great!
Completely optional — may I suggest that you change “width” to “max-width” in the default CSS, to make sure that smaller-width images have the correct dimensions by default?
(I can fix this in my own custom CSS, but this might help non-developers.)
Here’s the current problem — this is what smaller-width images look like with the current CSS:
https://www.dropbox.com/s/4etork6kt5c7msg/display_medium_posts-image-width-100-percent-issue.png?dl=0
And here’s the fix — what smaller-width images look like with max-width:
https://www.dropbox.com/s/6kneda618ltlv0b/display_medium_posts-image-width-100-percent-issue-fixed-max-width.png?dl=0
In other words, change this CSS:
#display-medium-owl-demo img {
width: 100%;
to this:
#display-medium-owl-demo img {
max-width: 100%;
…
Anyway, I’m all set for now. Just a suggestion that might help other people who use your plugin.
Thanks again for adding images — it make your plugin so helpful, and YOU ARE AWESOME for adding this feature.
-
This reply was modified 7 years, 9 months ago by
Joe Westcott.
-
This reply was modified 7 years, 9 months ago by
Joe Westcott. Reason: embedded image #1
-
This reply was modified 7 years, 9 months ago by
Joe Westcott. Reason: fixed post after breaking it with an image that wasn't really an image... oops