Create A Forum - Support Forums

Support => Create a Forum Codes and Support => Topic started by: aIURbliS on January 06, 2013, 10:00:44 pm

Title: [Code] Any Image Changer
Post by: aIURbliS 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/ (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>.
Title: Re: [Code] Any Image Changer
Post by: Silver734 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
Title: Re: [Code] Any Image Changer
Post by: aIURbliS 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.
Title: Re: [Code] Any Image Changer
Post by: Silver734 on August 30, 2013, 06:35:57 pm
Is windows 7 ok?
Title: Re: [Code] Any Image Changer
Post by: aIURbliS on August 30, 2013, 10:24:15 pm
The OS doesn't matter
Title: Re: [Code] Any Image Changer
Post by: Cobra C on July 19, 2020, 05:59:23 am
Does this still work? Having trouble getting this to work.