Coder Social home page Coder Social logo

wordpress-plugin's Introduction

Gumlet Wordpress Plugin

Official WordPress plugin to automatically load all your existing (and future) WordPress images via the Gumlet service for smaller, faster, and better looking images.

Features

  • Your images behind a CDN.
  • Automatically smaller and faster images with the Auto Format option.
  • Automatically compress images with Auto Compress option.
  • Use arbitrary Gumlet API params when editing <img> tags in "Text mode" and they will pass through.
  • No lock in! Disable the plugin and your images will be served as they were before installation.

Getting Started

  1. If you don't already have an Gumlet account then sign up at gumlet.com.

  2. Create a Web Folder gumlet source with the Base URL set to your WordPress root URL (without the wp-content part). For example, if your WordPress instance is at http://example.com and an example image is http://example.com/wp-content/uploads/2017/01/image.jpg then your source's Base URL would be just http://example.com/.

  3. Download the gumlet WordPress plugin gumlet_plugin.zip and install on your WordPress instance. In the WordPress admin, click "Plugins" on the right and then "Add New". This will take you to a page to upload the gumlet_plugin.zip file. Alternatively, you can extract the contents of gumlet_plugin.zip into the wp-content/plugins directory of your WordPress instance.

  4. Return to the "Plugins" page and ensure the "gumlet plugin" is activated. Once activated, click the "settings" link and populate the "Gumlet Host" field (e.g., https://yourcompany.gumlet.io). This is the full host of the gumlet source you created in step #1. Optionally, you can also turn on Auto Format or Auto Compress. Finally, click "Save Options" when you're done.

  5. Go to a post on your WordPress blog and ensure your images are now serving through gumlet.

wordpress-plugin's People

Contributors

adityapatadia avatar akbansa avatar krutaarth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wordpress-plugin's Issues

PHP Warning in newest Wordpress + PHP8.1

hey I saw that with the newest wordpress 5.9.0 and php 8.1 a warning occurs:

maybe you can fix it:

PHP Warning: Undefined property: stdClass::$html in /application/web/blog/wp-content/plugins/gumlet/includes/class-gumlet.php on line 328"

Add option to pass parameters in image URLs and/or allow for filtering image processes

Hi there,

I jsut tried to pass a custom parameter to a certain set of images but these are being ignored โ€“ we cannot use global params for this since it only applies to certain templates and we need to manage the images there differently...

This is how we have set up the image generation:

wp_get_attachment_image($thumbnail_id, 'medium', false, array(
  'data-src' => wp_get_attachment_image_url($card_thumbnail_id, 'full')) . '?ar=1:1',
))

The appended ar=1:1-values are being disregarded and Gumlet produces an image source like

/app/uploads/some-image.png?compress=true&quality=80&w=200&dpr=1.0

Is there any way to specify parameters to be used here?

I searched the plugin files for occurrences of apply_filters() but there are none to be found that could be utilized here.

Looking forward to your input and thanks for the effort!

Regards,
Henning

Revolution Sliders

Revolution slider background images not showing, even tried disabling lazy load still the same issue.

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.