Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

v2.9 - Thumbs 02 Jul 2016 10:24 #14117

  • pbianco
  • pbianco's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 47
  • Thank you received: 2
Hi,
I have downloaded v2.9 of a project created with previous versions of JCook.
The problem I see is that I see a new image is created, but with the same size than the original one.
In previous versions, different thumbs were created according to sizes defined in the different views.
My issue is that I am managing a project with few images but very big in size, therefore it is downloading a big image instead that a thumb.

Can you, please, give a look at this?
Thanks and regards

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 04 Jul 2016 08:21 #14120

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Really strange. For me it works like a charm.
Can you tell me your PHP configuration / version ?

The only problem I had before is with the hidden files. Maybe your server do not allow it.
Now I changed the thumb prefix. It uses an underscore and it is much better I think.


Maybe a problem in your project config.
Can you tell me wich Project / Table / Layout

Is it a forked project ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 04 Jul 2016 20:46 #14128

  • pbianco
  • pbianco's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 47
  • Thank you received: 2
Hi,
I have forked the component, but the same issue happens with the JCook component with no fork (in my local staging I have reinstalled the component from scratch).
The new file is created with an initial _, but its size is bigger than the original.... Then, I do not see the other thumbs which were previously created, one for every size of display.

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 04 Jul 2016 20:52 #14129

  • pbianco
  • pbianco's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 47
  • Thank you received: 2
Project Club4000 - Table Foto_calendario - View Fotocalendario.
I have just uploaded a picture to check

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 04 Jul 2016 21:17 #14131

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
The files previously created are with a point prefix. They was hidden files.

Today I upgraded and changed for UNDERSCORE.

But this is abdnormal the files are bigger for you.

This new version is not stable enough as I can see.
But tomorrow everything will be fixed.

Thank you for all your reviews. I do not have many different servers configurations to achieve propers tests at the moment.
(Work in progress)
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 05 Jul 2016 13:32 #14139

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
+1,
I am testing this new version, and i confirm the point about the resized file that is > than original file.

Please Log in or Create an account to join the conversation.

v2.9 - Thumbs 05 Jul 2016 21:41 #14151

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

It should be much better now.

Do you know why ?
Because for PNG, the quality represents a compression between 0 to 9,
Instead for JPEG, the quality is from 0 to 100 %

So only the PNG was heavy files.

In Cook, the HelperFile class abstracts it for "Quality", from 0 > 100 %
Default is 75% for JPG
Instead for PNG, the compression is set to 8 per default, almost the maximum.

So I don't know if this conversion is usefull, because 8 for PNG does not represent 75%, so the default is not the same percentage.
But this is because the compression is different.

Anyways, at the moment, the builder do not propose you that parameter, so it stays at default, but it is handled by Jdom and by the helper.

As well as rotations, filters, and so on. More to come in future, but you can already play a lot with your images.
Not thanks to me, but thanks to Joomla!

Enjoy the night. For those who live in UTC+1
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.104 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started