Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2020-08-05 10:31:47

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: Multiple image handling: profiles

I am a bit baffled about the stance here, I must admit – I get that there’s a need for optimisation…but how did we get from “much better image handling” to “farming out files to and fro to an optimisation-as-a-service platform” so quickly?

Offline

#50 2020-08-05 10:34:12

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: Multiple image handling: profiles

Vienuolis wrote #325165:

I do not know any similar desktop app.

There’s ImageOptim if you have a Mac: imageoptim.com/mac and some alternatives if you don’t.

Edit: oh, and there are command line versions of ImageMagick and GD so if you can get the settings you want then perhaps that might be worth a try?

Last edited by gaekwad (2020-08-05 10:38:16)

Offline

#51 2020-08-05 10:53:36

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 310
Website GitHub GitLab Mastodon Twitter

Re: Multiple image handling: profiles

I have FileOptimizer app mentioned there, and PngQuant as a plugin — far to Tinify, do not worth attention. I am afraid ImageOptim, too.

Offline

#52 2020-08-05 11:00:11

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Multiple image handling: profiles

OK, so we’ve covered optimisation now. Going back to the image handling, I think we have a pretty clear route forward – thanks everyone!

Offline

#53 2020-08-07 10:08:24

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Multiple image handling: profiles

Been playing with some layout for potential new editing features that would be possible in the image manipulation libraries we are thinking of using: design-patterns.textpattern.com/mockups/secondary/content-image_edit-proposal.html

Offline

#54 2020-08-07 10:24:52

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

Re: Multiple image handling: profiles

philwareham wrote #325224:

Been playing with some layout for potential new editing features that would be possible in the image manipulation libraries we are thinking of using: design-patterns.textpattern.com/mockups/secondary/content-image_edit-proposal.html

Nice! And much needed. 👍

One thing that could be useful is to mark the focal point of an image when using it with object-fit. Perhaps that’s plugin-territory, but it should be addable.


TXP Builders – finely-crafted code, design and txp

Offline

#55 2020-08-07 10:35:22

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Multiple image handling: profiles

Focal point cropping is available in the tool we are hoping to use. Not sure that is exactly what you mean though.

They use the same suite of tools in Statamic.

Offline

#56 2020-08-07 10:43:22

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

Re: Multiple image handling: profiles

Ah, I meant object-position: See this css-tricks articles. It allows you to specify where the centre point of the image should be when using a responsive container not of the same aspect ratio as the image.


TXP Builders – finely-crafted code, design and txp

Offline

#57 2020-08-07 10:45:20

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Multiple image handling: profiles

That’s a presentational item – not really part of the content – so I doubt it (not in core anyway).

Offline

#58 2020-08-07 10:49:21

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

Re: Multiple image handling: profiles

Some CMSes (don’t have an example to hand) have a crosshair that you place on the image and saves the focal point with the image data.

philwareham wrote #325237:

not in core anyway …

Yes, that may be plugin territory. It would entail adding a crosshair button and the corresponding position marked on the image.


TXP Builders – finely-crafted code, design and txp

Offline

#59 2020-08-07 10:53:04

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Multiple image handling: profiles

Our content is totally abstracted from presentation (CSS), so I’m unsure how you could achieve that within our model (apart from via inline styles which I want to avoid).

Offline

Board footer

Powered by FluxBB