Images.weserv.nl - General

I suggest you..

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Remove cached images (by API/manual)

    GIVEN:
    //------------------------------------------------------------------------
    image source (url parametre) is:

    maps.googleapis.com/maps/api/staticmap?sensor=false&size=2048x350&scale=2&maptype=roadmap&zoom=13&markers=color:blue|size:small|1400+Oakton+Street,+Evanston,+IL+60202

    encoded version:

    maps.googleapis.com%2Fmaps%2Fapi%2Fstaticmap%3Fsensor%3Dfalse%26size%3D2048x350%26scale%3D2%26maptype%3Droadmap%26zoom%3D13%26markers%3Dcolor%3Ablue%257Csize%3Asmall%257C1400%2BOakton%2BStreet%2C%2BEvanston%2C%2BIL%2B60202

    I'm using following images.weserv.nl parametres:

    &w=70&t=square&h=70

    final link:

    http://images.weserv.nl/?url=maps.googleapis.com%2Fmaps%2Fapi%2Fstaticmap%3Fsensor%3Dfalse%26size%3D2048x350%26scale%3D2%26maptype%3Droadmap%26zoom%3D13%26markers%3Dcolor%3Ablue%257Csize%3Asmall%257C1400%2BOakton%2BStreet%2C%2BEvanston%2C%2BIL%2B60202&w=70&t=square&h=70

    //----------------------------------------------------------------------------

    ISSUE:

    Some of the "google map images" cached properly, some of them is not (link provided above - final link)

    Looks like when caching process is broken by any internal reason, the "image url" is still remembered as a key in your collection. So there is no way to rebuild correct cache for that "broken" image.

    QUESTION:

    Is any api/way to expire/delete/rebuild/invalidate existing image cache?

    8 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

    • 1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

      • 1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

        • Add Content-Length header to allow for indeterminate progress.

          Would be awesome to add the Content-Length header to allow for progress to be calculated when downloading images. Guess this may only be possible when serving the image from cache.

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            1 comment  ·  Admin →
          • letterbox images that need to fit

            In the current implementation, if an image needs to fit a given w/h, and its original aspect ratio is not similar to the requested, either the resulting w or h will be less, to keep the aspect ratio. However, sometimes (e.g. in e-mails) it is required to have a constant w and h. The resulting "void" can be painted white. This is known as letterboxing.

            18 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

            • Background setting

              I've problems with transparent images. Could you please have a look?

              Image 1: https://images.weserv.nl/?url=www.briefklick.de%2Ffavicon.ico&w=64&h=64&t=square&output=gif

              Image 2: https://images.weserv.nl/?url=www.vavideo.de%2Ffavicon.ico&w=64&h=64&t=square&output=gif

              Now I set the output on gif. But the second image is not showing correctly.

              For testing:
              Image 1 is working with output in PNG only. Image 2 is working with output in GIF only.

              Please add an option how to handle transparent backgrounds. And / or to define the background color &bg=FFFFFF.

              Thanks!

              3 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

              • php api

                <?php
                if( ! class_exists('imagesWeServApi'))
                {
                /**
                * images.weserv.nl API
                */
                class imagesWeServApi
                {
                /**
                * Request image
                *
                * @param string $url link to image
                * @return string
                */
                public static function request($url)
                {
                return preg_replace('/^((https?:)?\/\/)(.+)/i', 'https://images.weserv.nl/?url=\\3', $url);
                }
                }
                }

                // demo:
                imagesWeServApi::request('http://wpdemo.web-dorado.com/wp-content/uploads/photo-gallery/photo%20gallery%20demo/17.jpg');

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                • Add support for icon (.ico) files

                  This would be useful for shortcut icons, such as http://www.google.co.uk/favicon.ico

                  2 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    1 comment  ·  Admin →
                  • Add image filename in HTTP Header.

                    There are no file name in HTTP header.
                    This mean, when downloading image to "Save This Image", it's filename is default of browser.
                    But in mobile, it's file name likes 'download.bin'! It is not iamge extensions!

                    Please add image filename in http header for support mobile and old browser.

                    Thanks.

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                    • 3 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        1 comment  ·  Admin →
                      • Are there any way to remove a pic from the cache manually?

                        I wrote a very simple photobook application which generates thumbnails using this service, but some of the images messed up for the first time, so I re uploaded them at the same name, but weserv still serve the old one due to cached, are there any way to update the cached one.

                        I've read that the server removes the pic within 14 days if not requested. since my server stores the thumbnails to, it wont request it anymore from here. So after 14 day it will update it anyway. I'm just wondering are there any way to force it to…

                        2 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          1 comment  ·  Admin →
                        • Allow blur transformation (with radius parameter)

                          CSS3 "filter: blur(px)" has a tendency to slow down the entire page.
                          As a workaround I use the javascript StackBlur library but it would really be a nice feature to delegate that to an images server with proper caching.

                          3 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                          • Wider image format support

                            In an effort to support more image formats (such as TIFF, WEBP, PDF-thumbnails, etc), we're testing with delegating some file-formats to a new library. Please be advised that we're "officially" only supporting GIF, JPEG, PNG and BMP files.

                            All non GIF/JPEG-files are internally converted to PNG-files, and outputted as such.

                            2 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                            • support webp format

                              we need webp support as google started to implement this on blogspot

                              2 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                              • Format conversion

                                As I strictly need progressive jpg images, without knowing input format, please add format conversion.
                                Parameter &of=png, default to input format if not set.

                                Please note I only need png2jpg.

                                Thank you and congrats for this wonderful service!

                                2 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                • disable auto grow when using t=square

                                  Hi,
                                  i use your service and it's a great one.

                                  i use t=square, the problem for me is that if the image is smaller than the W and H parameters - the image is enlarged to fit these parameters. i will really appreciate if you make it possible to control this by sending additional parameter that will control this behavior and if the image is smaller- just serve the image as is.

                                  idanb11,

                                  1 vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    1 comment  ·  Admin →
                                  • Return default image if the image's URL not found

                                    Let say if the image from hosting was removed but the image's URL is still in the database, then it will not load the image as the 404 error happens. My idea is, to replace the 404 error with default image so that we will never see the broken image on our website.

                                    8 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                    Images.weserv.nl - General

                                    Feedback and Knowledge Base