ibis icon indicating copy to clipboard operation
ibis copied to clipboard

[Feature Request]: define file name for cover

Open roberto-butti opened this issue 4 years ago • 0 comments

In order to load jpg file and png file as cover, make asset/cover.jpg configurable.

My proposal is to add image in config['cover']['image']

    /**
     * Cover photo position and dimensions
     */
    'cover' => [
        'position' => 'position: absolute; left:0; right: 0; top: -.2; bottom: 0;',
        'dimensions' => 'width: 210mm; height: 297mm; margin: 0;',
        'image' => 'cover.png',
    ],

Then, replace cover.jpg with the content of ['cover']['image']. Remember to Update the stub/ibis.php file

I'm going to create a PR

roberto-butti avatar Sep 20 '21 19:09 roberto-butti