Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#385 2021-12-07 10:44:21

hidalgo
Member
From: Australia
Registered: 2008-02-05
Posts: 61
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Thanks for taking a look.

I’m also getting an error on image upload with the plugin enabled:

Warning "chmod(): No such file or directory".

But this is also happening on 4.8.7 (with PHP version: 8.0.13)

Last edited by hidalgo (2021-12-07 10:46:23)

Offline

#386 2021-12-07 11:47:32

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,559
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

hidalgo wrote #332108:

I’m also getting an error on image upload with the plugin enabled:

Warning "chmod(): No such file or directory"....

But this is also happening on 4.8.7 (with PHP version: 8.0.13)

Yes, I mentioned that upthread, here. It is a annoying, but no bad things happen, as far as I can tell.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#387 2021-12-07 12:57:56

etc
Developer
Registered: 2010-11-11
Posts: 4,586
Website GitHub

Re: smd_thumbnail: manage multiple thumbnails of your images

hidalgo wrote #332099:

I’m currently using Textpattern 4.8.8-dev and noticed that the thumbnail profile Quality () setting is ignored, and generates images at the default 75 quality only.

Certainly me, when introducing avif format, sorry. The image quality does not seem to be used by core, but I have forgotten the plugins…

Edit: should be fixed, please test.

Offline

#388 2022-01-13 10:35:08

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,231
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

Not sure if this is specific to smd_thumbnail. Yesterday a client came across a strange occurrence: an image uploaded in portrait format to the images panel displays fine but the smd_thumbnailed versions that were automatically created were in landscape format.

I was able to solve the problem by opening and re-saving the image in photoshop, and then uploading it again. The thumbnails were then correct.

Does this mean perhaps that an image can record orientation in more than one place – perhaps actual image orientation and display orientation –, and that textpattern is recognizing one but the resize function isn’t? Any ideas?


TXP Builders – finely-crafted code, design and txp

Offline

#389 2022-01-13 11:24:34

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,559
Website

Re: smd_thumbnail: manage multiple thumbnails of your images

I haven’t seen that, so far.

Speculation: browsers (last 2 years ? something like that) read the image orientation EXIF data; there is a CSS property to control that: image-orientation. Textpattern does not read that data afaict, but. Is is possible that more recent versions of GD (latest is 2.3.3) now actually reads that and uses it when processing an image such as resizing?


Where is that emoji for a solar powered submarine when you need it ?

Offline

Board footer

Powered by FluxBB