2013-01-30, 09:45 AM
I would like to make it so whenever someone uses the img tags to link a picture hosted on photobucket or imageshack so it redirects them to a custom picture of my choice.
This is what I have so far:
Regexp
(http.*.photobucket.com/*/*/*/.*.jpg)
Replacement
http://www.example.com/example.jpg
When I use this, the address shows up fine and leaves the img tags intact but it don't open the picture.
I basically have no idea how this works and everytime I fix one problem it leads to another. I'm also aware that by having jpg at the end limits it to just jpg so it would be nice if the solution works for all file formats.
I also tried using the word filter but that only breaks the image link without giving an explanation of why it isn't working.
This is what I have so far:
Regexp
(http.*.photobucket.com/*/*/*/.*.jpg)
Replacement
http://www.example.com/example.jpg
When I use this, the address shows up fine and leaves the img tags intact but it don't open the picture.
I basically have no idea how this works and everytime I fix one problem it leads to another. I'm also aware that by having jpg at the end limits it to just jpg so it would be nice if the solution works for all file formats.
I also tried using the word filter but that only breaks the image link without giving an explanation of why it isn't working.