Remove k3-image-clip plugin
This commit is contained in:
parent
ba25a9a198
commit
84de819756
6 changed files with 10 additions and 57 deletions
|
@ -14,7 +14,6 @@
|
||||||
"php": ">=8.1.0 <8.4.0",
|
"php": ">=8.1.0 <8.4.0",
|
||||||
"getkirby/cms": "^4.0",
|
"getkirby/cms": "^4.0",
|
||||||
"kirbyzone/sitemapper": "^1.2.1",
|
"kirbyzone/sitemapper": "^1.2.1",
|
||||||
"mullema/k3-image-clip": "^3.2",
|
|
||||||
"wearejust/kirby-twig": "^5.0"
|
"wearejust/kirby-twig": "^5.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
44
composer.lock
generated
44
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1484ade1a41699eca25b1637f84aaccf",
|
"content-hash": "f17093a48c983686f90617c12b92d15c",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "christian-riesen/base32",
|
"name": "christian-riesen/base32",
|
||||||
|
@ -633,48 +633,6 @@
|
||||||
},
|
},
|
||||||
"time": "2016-12-13T01:01:17+00:00"
|
"time": "2016-12-13T01:01:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "mullema/k3-image-clip",
|
|
||||||
"version": "3.2.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/mullema/k3-image-clip.git",
|
|
||||||
"reference": "66e5c2147fd6736f48878aaed6eef9ffe08cdd21"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/mullema/k3-image-clip/zipball/66e5c2147fd6736f48878aaed6eef9ffe08cdd21",
|
|
||||||
"reference": "66e5c2147fd6736f48878aaed6eef9ffe08cdd21",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"getkirby/composer-installer": "^1.2"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"getkirby/cms": "<3.6"
|
|
||||||
},
|
|
||||||
"type": "kirby-plugin",
|
|
||||||
"extra": {
|
|
||||||
"installer-name": "k3-image-clip"
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Matthias Müller",
|
|
||||||
"email": "moeli@moeli.com",
|
|
||||||
"homepage": "https://getkirby.com/plugins/mullema"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Visual image clip for Kirby 3",
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/mullema/k3-image-clip/issues",
|
|
||||||
"source": "https://github.com/mullema/k3-image-clip/tree/3.2.0"
|
|
||||||
},
|
|
||||||
"time": "2022-11-05T10:49:35+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "phpmailer/phpmailer",
|
"name": "phpmailer/phpmailer",
|
||||||
"version": "v6.9.3",
|
"version": "v6.9.3",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
title: Image
|
title: PDF
|
||||||
accept:
|
accept:
|
||||||
mime: application/pdf
|
mime: application/pdf
|
||||||
|
|
|
@ -9,4 +9,3 @@ size: small
|
||||||
limit: 15
|
limit: 15
|
||||||
image:
|
image:
|
||||||
ratio: 1/1
|
ratio: 1/1
|
||||||
back: white
|
|
||||||
|
|
|
@ -19,18 +19,15 @@ fields:
|
||||||
label:
|
label:
|
||||||
en: Meta image
|
en: Meta image
|
||||||
fr: Méta image
|
fr: Méta image
|
||||||
type: image-clip
|
type: files
|
||||||
query: site.images
|
query: site.images
|
||||||
|
uploads: false
|
||||||
|
multiple: false
|
||||||
|
required: true
|
||||||
layout: cards
|
layout: cards
|
||||||
image:
|
image:
|
||||||
cover: true
|
cover: true
|
||||||
back: white
|
ratio: 1200/675
|
||||||
multiple: false
|
|
||||||
required: true
|
|
||||||
clip:
|
|
||||||
minwidth: 1200
|
|
||||||
minheight: 675
|
|
||||||
ratio: fixed
|
|
||||||
help:
|
help:
|
||||||
en: "Image displayed by social networks (format: JPEG or PNG)."
|
en: "Image displayed by social networks (format: JPEG or PNG)."
|
||||||
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)."
|
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)."
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
{# Image #}
|
{# Image #}
|
||||||
{% if site.meta_image is not empty %}
|
{% if site.meta_image is not empty %}
|
||||||
<meta id="schema_image" itemprop="image" content="{{ site.meta_image.toImage.url }}">
|
<meta id="schema_image" itemprop="image" content="{{ site.meta_image.toFile.url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.template != 'error' %}
|
{% if page.template != 'error' %}
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<meta property="og:description" content="{{ site.meta_description }}">
|
<meta property="og:description" content="{{ site.meta_description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.meta_image is not empty %}
|
{% if site.meta_image is not empty %}
|
||||||
<meta property="og:image" content="{{ site.meta_image.toImage.clip(1200, 675).url }}">
|
<meta property="og:image" content="{{ site.meta_image.toFile.crop(1200, 675).url }}">
|
||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:image:height" content="675">
|
<meta property="og:image:height" content="675">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
<meta name="twitter:description" content="{{ site.meta_description }}">
|
<meta name="twitter:description" content="{{ site.meta_description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.meta_image is not empty %}
|
{% if site.meta_image is not empty %}
|
||||||
<meta name="twitter:image" content="{{ site.meta_image.toImage.clip(1200, 675).url }}">
|
<meta name="twitter:image" content="{{ site.meta_image.toFile.crop(1200, 675).url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue