Code Monkey home page Code Monkey logo

Comments (16)

AndrewMac avatar AndrewMac commented on August 15, 2024 1

Tim Kelty has a warning that his Cloudinary plugin is not in active development. Any chance you might one day (no pressure) think about providing built-in support?

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

Also consider adding Imgix and Cloudinary support, if that makes sense as well

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

Imgix has been added... the others will be pretty easy to add, too.

from craft-imageoptimize.

superflausch avatar superflausch commented on August 15, 2024

TinyPNG would also be a nice addition. It offers a free tier for up to 500 images per month, which is sufficient in many cases. We use AndrΓ©s imager plugin for several Craft 2 projects, which worked well in combination with TinyPNG.

Cheers.

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

Probably a silly question, but I assume it does more than just PNGs?

from craft-imageoptimize.

superflausch avatar superflausch commented on August 15, 2024

Yes, it supports JPEGs next to the obvious PNGs.

We are happy with the results and also google (or its tools) seemed satisfied with the optimised images. In contrast to the other services (if I am correct) you mention it doesn't host optimised images, you get them as back to store locally.

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

I'll have to take a look at their API; the lack of them hosting the images might actually make it slightly more difficult to implement.

from craft-imageoptimize.

matevisky avatar matevisky commented on August 15, 2024

This is a dealbreaker for me right now. We are using cloudanry almost everywhere on the site... I really lover your work @khalwat so it would be an immediate go if you can do this development. Right now we are not able to use seomatic either:( because if this issue... I mean the automatic transformer is not working at all because our external system is cloudanry...
So I hope you will have the time to finish this up!

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

@matevisky Thanks for chiming in!

You can still use SEOmatic actually, you'd just use Twig to set the SEO images as you see fit:

https://github.com/nystudio107/craft-seomatic#twig-templating

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

@matevisky If you want to use ImageOptimize with Cloudinary, install the Cloudinary plugin that will make Cloudinary available as a file system for Craft CMS 3.

from craft-imageoptimize.

alexagui avatar alexagui commented on August 15, 2024

Adding a vote πŸ‘ for Kraken.io support. Their compression is very impressive.

For example, I took a 1.7MB hero banner.jpg and ran it through ImgOptim (Mac app) and it got it down to 1.5 MB.

I took the 1.5MB file and ran it through Kraken and it got it down to 546KB.

kraked-banner

from craft-imageoptimize.

zizther avatar zizther commented on August 15, 2024

Does it look like there will be built in support for Cloudinary, or will it always rely on a 3rd party plugin to support Cloudinary on the fly system?

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

Cloudinary is different from other services, in that you have to upload the files to Cloudinary first, it doesn't automatically pull them the way that Imgix does.

Because of this, it probably makes more sense as a Volumes driver of some kind, and then along with it a layer of support from ImageOptimize @zizther

I'm open to looking into it if the demand is there.

from craft-imageoptimize.

zizther avatar zizther commented on August 15, 2024

Thanks @khalwat
One of the main features I like with Cloudinary is the auto cropping feature, which services like Imgix (which I also use) does not offer https://cloudinary.com/documentation/image_transformations#automatic_cropping_g_auto

I am speaking with Imgix to find out if they are working on a similar feature and the roadmap.

from craft-imageoptimize.

zehfred avatar zehfred commented on August 15, 2024

Are you still considering adding these services, namely TinyPNG?

from craft-imageoptimize.

khalwat avatar khalwat commented on August 15, 2024

Still considering... there just hasn't been a large demand thus far.

from craft-imageoptimize.

Related Issues (20)

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.