Giter VIP home page Giter VIP logo

tinyimg's People

Contributors

achimfritz avatar bmack avatar halbkreativ avatar mohsinqk avatar px-flo avatar schmitzal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tinyimg's Issues

Add debugging mode

Add a debugging mode so tinyimg does not run during development and does not use the limited image compressions (500 per month for free).

Example usage:

[applicationContext = Development]
plugin.tx_tinyimg.settings.debug = 1
[global]

tinypng image sizes and fluid-styled-responsive-images extension

Hi Alessandro,

great extension, thanks! I have a question/problem to the image size process in combination with fluid-styled-responsive-images. I create an png image, upload it to the typo3 backend. File size original 37 kb, with your extension reduced to 8 kb - great. Now I put this image with the CE text & media on my website. To serve for different devices a proper size of the image, I have also installed Alex extension. Now the problem is, when the png file gets processed, the file size is getting a lot bigger... like Photoshop does as standard. Any ideas how to solve this problem?

cheers, Florian

Internal Server Error when uploading file

Hi Alessandro, I've installed your extension via EM, include the static TS-template (root), insert the API-key at the settings via Extension Manager. Your installation and configuration hints are very clear. I'm using TYPO3 8.7.22 and PHP 7.1 on a managed Server (1&1).

Unfortunately, I still have an error uploading a file. The upload finishes with an Internal Server Error:
bildschirmfoto 2018-12-21 um 16 51 30

But if I reload, I'll can see the file is there, but not compressed.
bildschirmfoto 2018-12-21 um 16 51 08

The same picture should be minimized to 240kb.
bildschirmfoto 2018-12-21 um 16 20 34

I've read all the closed issues, but I think I'm the first, who have this problems?!
Is the fault with me or my configuration? Can you help me?

Thanks,
Stefan

Extend README.md: Compare database after installation

For some reason, if you install the tinyimg ext via composer, you run in an error while trying to upload a file. It turned out, that if you have the typo3cms install:generatepackagestates in your composer.json scripts, but not the typo3cms database:updateschema the ext is installed but the database isn't up to date.

It would be helpful if this is mentioned in the install documentation.

Minify processed images

After digging into your extension i recognized that only the original images are minified but not the processed ones. So I did some testing with processed images.

The file was processed with the f:image ViewHelper to create a variant with a maximum width of 800 pixels.

First the test without any minification

File Size Comment
Original 3.98MB
Processed 120KB
Processed minified 104.5KB Manually minified via Webinterface

After that a test with the extension installed and the minified source file

File Size Comment
Original 1.36MB
Processed 114KB
Processed minified 104.2KB Manually minified via Webinterface

As you can see the file processed by TYPO3 is only slightly smaller with/without a minified source file. But minifiying the processed file saves around 10% in my testcase. The difference will be bigger with larger variants.

From my point of view it would make sense to have (at least) an option to enable minifying of processed files. What do you think?

I guess the correct way to do this would be the postFileProcess signal in \TYPO3\CMS\Core\Resource\Service\FileService on line 94.

TYPO3 10 compatibility

I don't know if there is a chance of TYPO3 10 compatibility? Are there any plans of updating the extension?

Cronjob PHP Warning

Ich bekomme beim ausführen diese Fehlermeldung:

Die Ausführung von Task "Extbase-CommandController-Task (extbase)" ist fehlgeschlagen mit folgender Meldung: PHP Warning: explode() expects parameter 2 to be string, object given in /html/typo3/typo3_src-8.7.19/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 1302

error when mp4 file is in folder

Hi,
I figured out a problem, when customers using mp4 files and uploading them to folders in the BE. tinyimg is throwing an error of unsupporting file. How to prevent this? Thx.

Florian

Working with ext image_autoresize

Hello, thanks for the great extension.

I have some questions - is this ext can run with image_autoresize?
And another question - what about files that are resized by TYPO3 - this images are also compressed by tinyimg?

(Internal Server Error) Upload of file image.png

Hello Team,

I am trying to use this extension in my website and I am facing a strange issue when the image uploaded. It returns "Internal Server Error".

When I checked the system log, I can see that there is an error there. Please see the screen below.

error

I hope this will be the issue. Somebody can give me a hint how can I solve this problem? I am using the latest version of the extension.

Thank you.

PHP API for TYPO3 CMS Extension

Hi Alex,

I'm one of the developers behind tinypng.com. We have been trying to answer your questions that you sent but our message keeps bouncing back. Could you provide me with an alternative email address either here or send us another message at [email protected]?

Tinyimg not displaying correct file size in Version 1.5.1

Since version 1.5.1 tinyimg shows "Tinyimg saved you about 0% of your file size!" for every image on TYPO3 8.7.33 (eLTS) after the compression.
If I open an image I see that the file size has changed and the compression did in fact work, but the information shown is wrong. Even the TYPO3 filelist module displays the original file size, not the compressed size.

Invalid Command::SUCCESS in CompressImagesCommand

With Version 1.5.3 the return value of the execute-Method was changed to a class constant
return Command::SUCCESS;

This will use the class \Symfony\Component\Console\Command\Command which does not have such a constant. So the Command will produce an error. The TYPO3-Dependency in the composer.json ist set to ^10.4

TYPO3 12 compatibility

Hey!
Just wanted to ask if you plan to support TYPO3 v12 and if yes if you got a time plan for that?

Thanks a lot,
Ulli

Manual installation of tinify PHP lib

Hi, just curious where and how to install the Tinify Php Lib manually?
Cant use composer on this server! Where exactly to copy the php files?

Using the latest Typo3 extension for 10.4..

Thx
chriskapeller

Switch the upload bar when compressing

A backendmodule where images are listed with a failed- or successtate. A label or state if the script works would be helpful and a nice to have feature would be to show how many percents have been saved with the compression.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.