0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Aileen Nowak 93ee19f36e 🐛 fix: make small media types not stretch (#7265)
no issue

Fixes a bug with displaying small media types like images or gif. Two reasons for that:
1. In many cases, we only have the relative URL instead of the absolute URL for the media source and therefore, `Amperize` module wasn't able to detect the image size and set the default image size of `width="600"` and `height="400"`.
2. Even if we have detected the correct image size, the attribute `layout="default"` would still make it strech. This issue is fixed in `Amperize`, but it wasn't merged at this time, so I set the dependency on my fork.

Adds `amp-anim` to the `.post-content` class, to have same CSS style as an image.
2016-08-25 11:09:25 +02:00
..
api 🎨 Theme events (#7269) 2016-08-25 10:36:12 +02:00
apps 🐛 fix: make small media types not stretch (#7265) 2016-08-25 11:09:25 +02:00
config feature: theme upload/download/delete (#7209) 2016-08-23 13:07:25 +01:00
controllers [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
data 🎨 Util to convert relative urls in absolute (#7264) 2016-08-25 07:09:40 +01:00
errors 🎨 Improve theme validation error messaging (#7253) 2016-08-24 14:45:54 +02:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
mail 🐛 Don't overwrite config.theme.title in GhostMail (#7224) 2016-08-19 10:22:07 +02:00
middleware Remove open redirect by removing double slashes from redirects (#7247) 2016-08-23 13:47:59 +02:00
models fix: "url" field is undefined when restricting returned fields (#7089) 2016-07-18 22:21:47 +02:00
permissions feature: theme upload/download/delete (#7209) 2016-08-23 13:07:25 +01:00
routes feature: theme upload/download/delete (#7209) 2016-08-23 13:07:25 +01:00
scheduling post-scheduling: delete job but time is null (#7035) 2016-06-28 20:14:29 +02:00
storage Use node-archiver to create zips (#7268) 2016-08-25 09:22:22 +02:00
translations 🎨 Improve theme validation error messaging (#7253) 2016-08-24 14:45:54 +02:00
utils Use node-archiver to create zips (#7268) 2016-08-25 09:22:22 +02:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
filters.js
ghost-server.js
i18n.js
index.js fix: enable maintenance mode only if there is an upgrade to perform (#7129) 2016-07-26 09:56:07 +01:00
overrides.js
update-check.js Support for custom notifications (#7077) 2016-07-22 14:02:10 +01:00