[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GMG-Devel] Setting the picture size
From: |
Ben Sturmfels |
Subject: |
Re: [GMG-Devel] Setting the picture size |
Date: |
Sat, 4 Aug 2018 22:19:13 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1 |
On 04/08/18 08:54, Adrián Isaías González Ceja wrote:
> Hi devel community
>
> Is it possible the configure the medium and thumbnail sizes when the
> picture is resized in the submit?
Hi Adrián,
Absolutely - set something like this in your mediagoblin.ini config file
and restart the Celery process (or the main process if you're using
CELERY_ALWAYS_EAGER=true):
[media:medium]
max_width = 800
max_height = 800
[media:thumb]
max_width = 320
max_height = 320
Defaults are 640x640 and 180x180. For details see
mediagoblin/mediagoblin/config_spec.ini.
Regards,
Ben
signature.asc
Description: OpenPGP digital signature