Results 1 to 5 of 5

Thread: Background image code question

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Background image code question

    Here is the page in question,
    http://www.theremotedoctor.co.uk/victorias_attic.html

    You will see that background code is as follows,
    Code:
    }
    body {
        background-image: url("m-images/victorias-attic-background.jpg");
    }
    What is the correct code so when i click on the .jpg image i get the properties box pop up so i can browse for a new image.
    Currently this is not available with the code above as you need to know the image name etc & just type it in.

    Thanks
    Last edited by theremotedr; 05-18-2015 at 05:44 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Is this something you're looking for in the Developer Tools Console (F12 in most popular browsers)?

    When you view a web page in a browser, if you right-click an image you get a 'Properties' popup in IE - is that what you mean?
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    No
    If i need to change the background image for the website.

    My other images src etc,i just click on there name and i can browse to the folder & select a new image.
    I forgot to mention this is in Dreamweaver so guess its not the correct place to ask ?

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Not sure about that I'm afraid. If a student has problems with Dreamweaver in school, I just switch it to split-screen/code view and edit the source directly. Can you do that in this instance?
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Yes,
    But i was asking why cant i click on the image code and up pop a browser.
    They way it needs to be done is that the user knows the name of the image to start with.
    I have many images and do not know the name of all of them but i can browse to them and select,job done.
    I will ask on the DW forum.

    Thanks anyway.

Similar Threads

  1. Replies: 5
    Last Post: 11-11-2011, 07:23 PM
  2. Replies: 4
    Last Post: 06-30-2009, 08:49 AM
  3. How to delete a question mark in code in Swiss Army Image Slideshow
    By taygraphics in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-09-2008, 05:39 PM
  4. JS code for background image in AnyLink?
    By trjonas in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-01-2007, 12:07 AM
  5. Watermark Background Image Script Question
    By eheileson in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 11-25-2005, 03:20 PM

Bookmarks

Posting Permissions

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