Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2011
    Posts
    24
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Help replacing image path or source

    Hello there, wonder if anyone can help me?

    There are 5 images on a site I'm working on which I have no access to and cannot edit or change. It's a shopping cart system and the images are for star ratings. They're so small that you can barely see them, so I want to replace them with my own.

    To do this, because I need to overwrite the file path, I need something which will recognize each individual image path and then replace it with my own. So, for example, their images come from...

    /images/image1.gif
    /images/image2.gif
    /images/image3.gif
    /images/image4.gif
    /images/image5.gif

    and I need to replace each of them with something like...

    /myusername/image1.gif
    /myusername/image2.gif
    /myusername/image3.gif
    /myusername/image4.gif
    /myusername/image5.gif


    None of the images have an id or class and I cannot add one to them as I don't have access. The area they're generated in CAN have an ID or class if that helps, I can add that.

    I've looked around on google for something but I'm really not great at understanding scripts and definitely can't write one myself. It's driving me crazy looking for something now, so I thought I'd ask the boffins on here!

    Thanks for any help in advance, and please feel free to explain anything to me like I'm an idiot. It'll help!
    Last edited by thredder; 12-12-2012 at 03:52 PM.

  • #2
    New Coder
    Join Date
    Mar 2011
    Posts
    24
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I have sorted this now.

    Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •