Ghost/ghost/core/test/unit/frontend/meta
Kevin Ansfield 1be490ae9e
Reduced size of social metadata images (#19048)
refs https://github.com/TryGhost/Product/issues/4140

- added `social-image` image size to our `internalImagesSizes` list with a max-width of 1200
- extracted image utils from `{{img_url}}` helper to a utils file for re-use
- updated `getImageDimensions` method that reads image dimensions and modifies the finalised `metaData` object before use to adjust dimensions and associated URLs to match max width of 1200px
2023-11-20 12:39:51 +00:00
..
amp-url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
asset-url.test.js 🐛 Fixed Handlebars’ asset helper for SafeString input 2023-03-01 08:39:14 +01:00
author-fb-url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
author-image.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
author-url.test.js Fixed import of bson-objectid in accordance to the typings 2022-10-12 14:54:35 +07:00
blog-logo.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
canonical-url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
context-object.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
cover-image.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
creator-url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
description.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
generate-excerpt.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
image-dimensions.test.js Reduced size of social metadata images (#19048) 2023-11-20 12:39:51 +00:00
keywords.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
modified-date.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
og-image.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
og-type.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
paginated-url.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
published-date.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
rss-url.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
schema.test.js Updated page metadata to use author image over cover image (#17689) 2023-09-15 16:07:06 +02:00
structured-data.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
title.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
twitter-image.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00