Author Topic: [Code] Any Image Changer  (Read 2172 times)

0 Members and 0 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
[Code] Any Image Changer
« on: January 06, 2013, 10:00:44 pm »
Description: Changes any image on your forum to any image you want.

This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>function xboi209_changeimg(oldimg,newimg){$("img[src='"+oldimg+"']").attr("src",newimg)}
xboi209_changeimg("OLD IMG URL","NEW IMG URL");
</script>

Editing Instructions: At the end of the code before the </script>, write xboi209_changeimg("OLD IMG URL","NEW IMG URL"); and replace OLD IMG URL with the old image url and NEW IMG URL to the new image url. To change multiple images, just copy and paste xboi209_changeimg("OLD IMG URL","NEW IMG URL"); before </script>.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


Offline Silver734

  • Full Member
  • ***
  • Posts: 165
  • Karma: 1
  • Gender: Female
    • View Profile
    • Fairy Tail
Re: [Code] Any Image Changer
« Reply #1 on: August 29, 2013, 11:25:44 pm »
It worked for a few minutes and then didn't work anymore


EDIT: nope it's better now just a bit slow
« Last Edit: August 29, 2013, 11:36:36 pm by Silver734 »
Fairytailrp.netFairytailrp.net
This forum was made with Create a Forum!! :3

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] Any Image Changer
« Reply #2 on: August 30, 2013, 03:54:07 am »
It worked for a few minutes and then didn't work anymore


EDIT: nope it's better now just a bit slow
If you're using this for a lot of images, it's definitely going to be slow unless you have a modern web browser and a decent computer.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Silver734

  • Full Member
  • ***
  • Posts: 165
  • Karma: 1
  • Gender: Female
    • View Profile
    • Fairy Tail
Re: [Code] Any Image Changer
« Reply #3 on: August 30, 2013, 06:35:57 pm »
Is windows 7 ok?
Fairytailrp.netFairytailrp.net
This forum was made with Create a Forum!! :3

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] Any Image Changer
« Reply #4 on: August 30, 2013, 10:24:15 pm »
The OS doesn't matter
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Cobra C

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • View Profile
Re: [Code] Any Image Changer
« Reply #5 on: July 19, 2020, 05:59:23 am »
Does this still work? Having trouble getting this to work.

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
3441 Views
Last post December 02, 2014, 06:57:57 pm
by CyanProductions
3 Replies
2029 Views
Last post August 03, 2010, 04:41:15 pm
by CreateAForum Codes
60 Replies
12886 Views
Last post November 27, 2014, 04:24:38 am
by Agent Moose
2 Replies
1148 Views
Last post August 08, 2010, 03:41:46 pm
by Thornton136
0 Replies
691 Views
Last post January 11, 2012, 04:01:43 am
by MusicLover2012