Author Topic: extension that alters image and other resource urls  (Read 5433 times)

Offline mortal

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
extension that alters image and other resource urls
« on: September 11, 2018, 05:13:06 AM »
Hello.

im thinking about creating a extension that alters the url of images. and i was thinking if there were a hook or some other means to alter as little as possible code. instead of altering in multiple places. like in a core file or something like that.

for the images it has to contain the height and width.


i would like to do the same thing for javascript and stylesheets.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: extension that alters image and other resource urls
« Reply #1 on: September 11, 2018, 06:05:16 AM »
Hello.

Check this one as example http://marketplace.abantecart.com/cdn

Offline mortal

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: extension that alters image and other resource urls
« Reply #2 on: September 11, 2018, 08:21:29 AM »
thank you for the reply Basara.

im not interested in maxcdn but i have considered buying the module and customize it to fit my needs.

but as of now im not interested in buying the extension.


 

Powered by SMFPacks Social Login Mod