[Neos] image compression

Dominique Feyer dfeyer at ttree.ch
Thu Oct 9 16:02:43 CEST 2014


After checking the code I think the image a not rerenderd if you change this setting. That’s an issue :(

Maybe try to edit the ImageService, around line 72

if (!file_exists('resource://' . $uniqueHash)) {

to something like:

if (TRUE || !file_exists('resource://' . $uniqueHash)) {

Dont push that on production, but the image should be regenerated in this case, right ?

You can open a issue on Jira, current the default options are not used to define the ImageVariant file name … that’s the reason why your image are not regenerated.

Bests,

--   
ttree sàrl  
Dominique Feyer  
Rue du Valentin 34 et demi
CH - 1004 Lausanne
+41 21  312 36 35  
dfeyer at ttree.ch
ttree.ch - @ttreeagency - plan d’accès

Le 9 octobre 2014 à 09:50:03, Piseth Sok (piseth at web-essentials.asia) a écrit:

I try to changed it, but Image content still have the same size as before.

Any suggestion or ideas?


More information about the Neos mailing list