Skip to content

Commit 0e26874

Browse files
Merge pull request #82 from grueneschweiz/feat_insta_ratio
Adding a new Format for Insta Posts in 4:5
2 parents 9bbb63b + 5ed6a27 commit 0e26874

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

resources/js/locales/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@
249249
"fbWebsite": "Facebook Website Vorschaubild",
250250
"video": "Video (Full HD)",
251251
"twFeed": "Twitter Feed Bild",
252+
"instaPost": "Instagram Post",
252253
"instaStory": "Instagram Story",
253254
"custom": "Eigene Grösse",
254255
"a6": "A6",

resources/js/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@
249249
"fbWebsite": "Facebook Featured Website",
250250
"video": "Video (Full HD)",
251251
"twFeed": "Twitter Feed Image",
252+
"instaPost": "Instagram Post",
252253
"instaStory": "Instagram Story",
253254
"custom": "Custom size",
254255
"a6": "A6",

resources/js/locales/fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@
249249
"fbWebsite": "Facebook Site Web en vedette",
250250
"video": "Vidéo (Full HD)",
251251
"twFeed": "Image du fil Twitter",
252-
"instaStory": "Photo Instagram",
252+
"instaPost": "Post Instagram",
253+
"instaStory": "Story Instagram",
253254
"custom": "Taille personnalisée",
254255
"a6": "A6",
255256
"a5": "A5",

resources/js/service/canvas/ImageSizes.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const ImageSizeIds = {
99
fbWebsite: 'fbWebsite',
1010
video: 'video',
1111
twFeed: 'twFeed',
12+
instaPost: 'instaPost',
1213
instaStory: 'instaStory',
1314
customScreen: 'customScreen',
1415
a6: 'A6',
@@ -105,6 +106,16 @@ export const ImageSizes = [
105106
media: Media.screen,
106107
rotatable: false,
107108
},
109+
{
110+
id: ImageSizeIds.instaPost,
111+
width: 1080,
112+
height: 1350,
113+
resolution: 300,
114+
labelKey: 'images.create.sizes.instaPost',
115+
excludeStyleSets: [],
116+
media: Media.screen,
117+
rotatable: false,
118+
},
108119
{
109120
id: ImageSizeIds.instaStory,
110121
width: 1080,

0 commit comments

Comments
 (0)