CodeIgniter Forums
Image optimiser inside CI4 (such as TinyPNG) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Image optimiser inside CI4 (such as TinyPNG) (/showthread.php?tid=77934)



Image optimiser inside CI4 (such as TinyPNG) - kilden - 11-06-2020

Hello everyone,

I wonder if one of you already tried to implement an image optimizer such as TinyPNG inside codeigniter ?
It could be nice to optimize images "on the fly" directly in our content managers when we upload images.

TinyPNG is very efficient (much better than photoshop optimizer). It was first conceived as an online tool, but now could be implemented in several famous content management such as Drupal, Joomla and Wordpress : https://tinypng.com/third-party. It could be a nice tool inside CI4 but I don't know if we can adapt it easily. What do you think about it ?


RE: Image optimiser inside CI4 (such as TinyPNG) - rmcdahal - 11-06-2020

Try this 

https://github.com/DTQ2020/tinypng-codeigniter4


RE: Image optimiser inside CI4 (such as TinyPNG) - kilden - 11-15-2020

Thank you very much for that link. It was exactly what I was looking for ! :-)))


RE: Image optimiser inside CI4 (such as TinyPNG) - robertvincent - 05-02-2021

(11-06-2020, 06:54 AM)kilden Wrote: Hello everyone,

I wonder if one of you already tried to implement an image optimizer such as TinyPNG inside codeigniter ?
It could be nice to optimize images "on the fly" directly in our content managers when we upload images.

TinyPNG is very efficient (much better than photoshop optimizer). It was first conceived as an online tool, but now could be implemented in several famous content management such as Drupal, Joomla and Wordpress : https://tinypng.com/third-party. It could be a nice tool inside CI4 but I don't know if we can adapt it easily. What do you think about it ?
why people should trust tiny PNG than photoshop, where world class designers are uses photoshop.