sigal
sigal copied to clipboard
No resize and copyright plugin ?
I would have to no resize pictures but also use copyright plugin but it seems that the copyright plugin hooks to the resizing of the pictures, and then, isn't triggered if
use_orig = True
# or
img_processor = None
Is there a possibility to achieve a non-resize but still have copyright watermark using sigal ?
It is called after the resize indeed, but it should be called even if img_processor
is None:
https://github.com/saimn/sigal/blob/master/sigal/image.py#L132
Are you sure that this doesn't work ?
oh you are right, it was really small and I didn't catch it first.
however with img_processor = None
, thumbnails doesn't have the copyright anymore, only the "final picture" has.
I looked at the code and there is nothing specific for thumbnails. I think thumbnails have the copyright because there are created on the "resized" image, which should work also if the image is not resized (with img_processor = None
). But I have not tested.