Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#51 2020-02-18 11:52:40

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,481
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

Happy to leave the blanket check for SimpleXML and PHP version, and list them both as sys reqs. Seems simplest and may, as you say, only affect a minority of dev-minded folk.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#52 2020-02-18 16:09:21

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,013
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

Bloke wrote #321747:

Happy to leave the blanket check for SimpleXML and PHP version, and list them both as sys reqs. Seems simplest and may, as you say, only affect a minority of dev-minded folk.

We should remember to add it to the system requirements when 4.8 is officially released.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#53 2020-02-18 16:36:50

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,996

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

I can see some strangeness with image thumbnail creation here. Using beta.3, various versions of PHP, if I upload a new image, the thumbnail is not created. I can create the thumbnail from the image detail panel, and then subsequent image uploads inherit those thumbnail dimensions. Is this expected? Yiannis, does this match your observations?

Last edited by gaekwad (2020-02-18 16:51:29)

Offline

#54 2020-02-18 16:49:44

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,481
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

That’s how it’s always worked, as far as I recall. The thumbnail dimensions are empty (0) on install so no thumbnail will be created. Only after you manually create one for your first image will it remember those dimensions and automatically apply them to future image thumbs.

Is this odd? Probably. But the only way round this is to pick a pre-defined size. What size thumbnail would we start with? 70×70, 100×75, 100×100, …? Either way, after you upload your first image, you get a thumbnail of that size. If it happens to be the right size for your site, great. Chances are it won’t be, so you’ll have to go and recreate it anyway for the first image, which is the same end result as not having one at all.

This’ll change when we implement the grid as we’ll have to create thumbnails for that.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#55 2020-02-18 16:51:09

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,996

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

Ah, then please ignore me – I don’t usually use the image upload function. As designed!

Offline

#56 2020-02-18 17:16:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,013
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

gaekwad wrote #321752:

I can see some strangeness with image thumbnail creation here. Using beta.3, various versions of PHP, if I upload a new image, the thumbnail is not created. I can create the thumbnail from the image detail panel, and then subsequent image uploads inherit those thumbnail dimensions. Is this expected? Yiannis, does this match your observations?

I am experimenting with an already existing installation of our site but on another url. As such my experience is more about upgrading rather than fresh installs.

The w+h boxes are not visible for me and there is no other way to create a thumbnail but to upload one.

I have posted a screenshot which demonstrates what I see here.

Bloke wrote #321753:

That’s how it’s always worked, as far as I recall. The thumbnail dimensions are empty (0) on install so no thumbnail will be created.

Was that how it was? The amount details you forget after working on the same site for so many years is amazing.

Only after you manually create one for your first image will it remember those dimensions and automatically apply them to future image thumbs.

That is the behaviour I expected after uploading the image. Instead, the image is uploaded, but after visiting its page, I can not see any “create thumbnail button”, w, h, text fields, or the crop select box. The upload thumbnail button is the only one appearing in the thumbnail area.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#57 2020-02-18 17:20:02

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,996

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

colak wrote #321755:

The w+h boxes are not visible for me and there is no other way to create a thumbnail but to upload one.

I have posted a screenshot which demonstrates what I see here.

If you check Diagnostics, is GD Graphics Library detected?

Offline

#58 2020-02-18 17:27:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,013
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

gaekwad wrote #321756:

If you check Diagnostics, is GD Graphics Library detected?

It is indeed.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#59 2020-02-18 17:29:37

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,996

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

colak wrote #321757:

It is indeed.

No JPG support on the GD Graphics Library. Try the same thing with a PNG file, I bet it works.

Offline

#60 2020-02-18 17:35:04

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,013
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.3 released

gaekwad wrote #321758:

No JPG support on the GD Graphics Library. Try the same thing with a PNG file, I bet it works.

Well spotted!! I’ll write to my host.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB