Advertisement:

Author Topic: External Image Proxy  (Read 831 times)

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 228
External Image Proxy
« on: April 02, 2018, 11:12:19 AM »
Link to Mod

This addon allows you to get rid of insecure content warnings or disappearing images when you use an encrypted connection to your SMF Forum.

Proxy Settings

By default this extension will use the images.weserv.nl image caching and resizing proxy.

Note: The SMF one has to be disabled for it to become active.

Licence
Quote
Copyright © 2018 tinoest.  All rights reserved.

Developed by: tinoest
              https://tinoest.co.uk

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
  1. Redistributions of source code must retain the above copyright notice,
     this list of conditions and the following disclaimers.
  2. Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimers in the
     documentation and/or other materials provided with the distribution.
  3. Neither the names of tinoest, nor the names of its contributors may be
     used to endorse or promote products derived from this Software without
     specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
WITH THE SOFTWARE.

This license may be viewed online at http://opensource.org/licenses/BSD-3-Clause

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,894
  • Gender: Male
    • i30 Owners Club
Re: External Image Proxy
« Reply #1 on: April 02, 2018, 04:01:23 PM »
Good work.

It may be worth explaining to the non-technically minded members what this mod does and how it may help them, rather than just saying "Add's functionality to SMF to utilise a external Image Proxy rather than the one built in to SMF."

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 228
Re: External Image Proxy
« Reply #2 on: April 02, 2018, 04:56:51 PM »
Good work.

It may be worth explaining to the non-technically minded members what this mod does and how it may help them, rather than just saying "Add's functionality to SMF to utilise a external Image Proxy rather than the one built in to SMF."

Just updated it with what I used for the Elkarte Modification. Think that’s a bit better.

Offline chrishicks

  • Full Member
  • ***
  • Posts: 512
  • Gender: Male
    • RejectsRestStop
Re: External Image Proxy
« Reply #3 on: August 19, 2018, 09:02:36 AM »
How does this work with GIF images? I will be going through the work of upgrading my forum to 2.0.15 soon and am currently using the method found here which required additional code to not break GIF images:

https://www.simplemachines.org/community/index.php?topic=527996.0

Will I need to do a change like this with this mod as well? If so, could you help with that? Thank you.

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 228
Re: External Image Proxy
« Reply #4 on: August 19, 2018, 09:30:41 AM »
It supports everything on here https://images.weserv.nl/ if it’s not supported by weserv then it won’t proxy correctly.


Offline Numeriku

  • Semi-Newbie
  • *
  • Posts: 21
Re: External Image Proxy
« Reply #5 on: August 19, 2018, 10:14:35 AM »
So after disabling the smf image proxy, this will automatically enable? No settings to configure? Just would like to confirm that.

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 228
Re: External Image Proxy
« Reply #6 on: August 19, 2018, 12:14:07 PM »
Correct, disable the SMF Proxy and this will take over.

Offline Numeriku

  • Semi-Newbie
  • *
  • Posts: 21
Re: External Image Proxy
« Reply #7 on: August 19, 2018, 01:23:49 PM »
So after disabling the smf image proxy, this will automatically enable? No settings to configure? Just would like to confirm that.

Thank you, perfect for my forum.