www.webdeveloper.com
Results 1 to 3 of 3

Thread: Changing an image with a certian URL

  1. #1
    Join Date
    Nov 2009
    Posts
    51

    Changing an image with a certian URL

    Hello.
    Currently, I'm using webs.com as my provider for my site.

    There are some things I want to change, that they dont have a option for, E.X. the profile image of new Users, and the Image Not Found image.

    I have the urls, but i was wondering if it was possable to have html auto-change them.

  2. #2
    Join Date
    Mar 2006
    Posts
    227
    I'm not familiar with web.com and their service, but I'm going to guess that you probably cannot change the default images if they don't give you an option to do so. You'll get a lot further if you contact their customer support directly.

  3. #3
    Join Date
    Jul 2009
    Posts
    48
    well you can use javascript you might have to change it a bit though
    HTML Code:
    if (gotImage == false)
    {
     document.getElementById("meImg").src = "Images/NoPiccie.png";
    }
    
    else if (gotImage == true)
    {
     document.getElementById("meImg").src = "Accounts/blahblah/MyPiccie.png";
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles