Fix a bug in the Story when handling images of different sizes. Add a
photoWidth property to the StoryArchive, and resize all newly uploaded pictures to a Story.
This commit is contained in:
parent
56fa667f9d
commit
fcad3a112d
6 changed files with 50 additions and 4 deletions
|
|
@ -116,6 +116,13 @@ sub definition {
|
|||
namespace => 'Story',
|
||||
defaultValue => '3QpYtHrq_jmAk1FNutQM5A',
|
||||
},
|
||||
photoWidth => {
|
||||
tab => 'display',
|
||||
fieldType => 'integer',
|
||||
label => $i18n->get('photo width'),
|
||||
hoverHelp => $i18n->get('photo width help'),
|
||||
defaultValue => '300',
|
||||
},
|
||||
editStoryTemplateId => {
|
||||
tab => 'display',
|
||||
fieldType => 'template',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue