New to dw  css images not showing

I made a practice site on one computer with dw using a css temp .  my folder has html-images-template-default-index i click on index it all works
i put it on my mem stick put the same folder on another computer with apache in hdocs it works but its not showing the css images everything but
it must be a simple fix   it all worked on the computer with dw  and thats not opening dw   thank you ken

when css images refuse to show up in the browser after a site was copied to a new pc or the server itself it's usually because the path to your image in the css is not valid anymore
Most common causes of these problems are:
- using absolute links to the local file system instead of relative links..  If your path to the image starts with a drive letter/name like Macintosh HD: or C:\ for example, chances are it won't work anywhere else.
- folder name is capitalized like this: "Images" in the css while its "images" on the actual drive - same goes for file names & extensions (Picture.JPG is not always the same as picture.jpg)
- you forgot to copy the folder/image in question to the new drive - or copied it to the wrong place in the "folder tree structure".
- you moved/renamed the image folder or the image file itself  without updating your css.
Theres no magic to it, no simple or complicated fix. All there is is to make sure that all paths used in the css exactly match the file structure on the drive and avoid absolute links.
If you could post the contents of your css file here - or give us a link to the server if your page is already online, we could prolly be more specific in our answers.
HTH,
Stephan

Similar Messages

  • Bkacground/CSS images not showing

    Since earlier this month I have been having problems with DW.
    I'm sure it's something I did since I'm sort of new to this but
    here it goes. I'm using DW MX by the way.
    I run a small diecast site and DW has always been my editing
    program and its worked fine until now. My site uses CSS and usually
    DW would load all the necessary image files like the menus,
    background images and icons, etc. My actual diecast photos and a
    few of the menu buttons are hosted at Imageshack and most of them
    display correctly in DW, but everything thats on the server hosted
    by Byethost doesn't show. It also doesn't correctly display the
    layout of the CSS I chose, but rather it looks like a plain
    unorganized page. I thought the problem might have been that DW
    doesn't actually display the images from the server, but rather
    from the local disk instead. The local folder these files were in
    might have been moved to somewhere else on th disk? I have tried
    everything I could think of but nothing has worked. Any help is
    very much appreciated!
    Justin

    > DW won't display any content that is not available
    locally.
    Sure will - it handles images, css, js, and applets with
    external links.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Nick Barling" <[email protected]> wrote in
    message
    news:[email protected]...
    > This sounds like a file/folder management problem. DW
    won't display any
    > content that is not available locally. To see content
    that is only
    > available
    > at the server you need to view your page from within a
    browser.
    >
    > If you have content stored locally and it is not visible
    then you need to
    > check the file path to each piece of content that is not
    showing. Check
    > that
    > you are using document - relative links and not root
    relative links.
    > Check the
    > location and content of your local folders; they should
    not have moved on
    > your
    > local disk unless you moved them. As it is unlikely that
    you moved the
    > file
    > locations without knowing it I suspect the problem is
    one of relative
    > paths.
    >
    > Look at your local file structure in the DW site local
    view and then check
    > your remote view file structure, you may find the
    problem there.
    >
    > The CSS style sheet, which I assume is an external style
    sheet attached
    > the
    > your html page will only be visible locally if you have
    linked it
    > correctly to
    > the html page it is styling. View the page locally and
    check that the CSS
    > style sheet is linked/referenced corectly in the file
    structure. If your
    > page
    > shows CSS styling when viewed locally but does not show
    remotely, ie when
    > viewed in a browser via the url address with the page
    served from the
    > server,
    > then check that you have uploaded the CSS style sheet to
    the correct
    > location.
    >

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Images not showing in the jlabel/jbutton

    Hello all,
    I've a package in which my cards directory is located along with all my src files and compiled classes. All my images ****.gif files are inside this directory.
    Then I've following the icon object.
    protected static JLabel lblDeck;The following code is used to get the image.
      String imgPath;
         imgPath = isImageExists("imgBG1.gif");
              if (imgPath == "")
              {     // If the image of Card Deck(imgDeck) is not Found
                   lblDeck = new JLabel();
                   lblDeck.setBackground(new Color(0, 64, 128));
                   lblDeck.setOpaque(true);
                   flagImgDeckFound = false;
              } else {
                   // If the image of Card Deck is Found
                   imgDeck     = new ImageIcon(imgPath);
                   lblDeck = new JLabel(imgDeck);
    // Check if the image exists else return "";
      protected String isImageExists(String imgName) {
              java.net.URL imgURL = getClass().getResource("cards/" + imgName);
             if (imgURL != null)
             {     return (imgURL.toString());     }
             else
                  JOptionPane.showMessageDialog(null, "File not Found: " + imgURL);
                  return "";
         }I'm still unable to get the image in the jlabel!
    When i checked the path, it is exactly returning the path of the file.
    But its neither loading the image into the jlabel nor is it returning "".
    This is just the label part i've other jbuttons also. Even they are not displaying any images.

    aLkeshP wrote:
    can everyone see this thread?
    YES FER-CHRISE-SAKE.
    Just how many times do you intend posting the same identical question?
    images not showing in the jlabel/jbutton
    Problem in imageicon
    iconImage on JButton & JLabel
    Re: images not showing in the jlabel/jbutton

  • I purchased two tv shows on my new ATV2, but they do not show up in iTunes on my computer. Was hoping to download to ipad2 for travel. Help!?.

    I purchased two tv shows on my new ATV2, but they do not show up in iTunes on my computer. Was hoping to download to ipad2 for travel. Help!?.

    Welcome to the Apple Community.
    Have you tried the 'Purchased' option in the top right corner of the Store window in iTunes

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • I just bought a new Retina Display macbook pro, and I plugged in my iPod touch (4th gen) into the new computer, but it will not show up, even after I typed in the passcode. How do I get my iTouch to sync with my new computer without restoring my itouch?

    I just bought a new Retina Display macbook pro, and I plugged in my iPod touch (4th gen) into the new computer, but it will not show up, even after I typed in the passcode. How do I get my iTouch to sync with my new computer without restoring my itouch?

    iOS: Device not recognized in iTunes for Mac OS X

  • My account is saying it can't connect - I know I have new emails but they're not showing in my inbox

    My account is saying it can't connect - I know I have new emails but they're not showing in my inbox. Thank you

    http://support.apple.com/kb/HT2519

  • Another Images not Showing up thread

    I know there are multiple threads out there about images not showing up on the login page of application express, and I have browsed most of them without success.
    My images folder is in:
    C:\oracle\product\10.1.0\db_1\Apache\Apache\images\
    My dads.conf file has specified:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
    Address of missing image in I.E. is:
    http://<host>:7777/i/htmldb/apex_logo.gif
    When I ran @apexins I specified /i/ for the virtual images directory.
    I am running Oracle Database 10gR2, with Oracle HTTP Server that came with the Oracle Database 10g Companion CD Release 2.
    I am using APEX 3.2.
    When I try to go to
    http://<host>:7777/i/
    I get:
    You don't have permission to access /i/ on this server.
    I also cannot login to APEX. When I type my username/password and click the Login button, it does nothing (nothing loads, nothing changes... nothing happens). I don't know if this is related?
    Thank you,
    ~Tom

    I found the problem -
    In my dads.conf file I had:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
    When I really needed:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images/"
    Note the end slash after images changed from backslash to forward.
    Silly me.

  • I have added two new extension on CUCM, Directory not showing in attendant console even after resynch on CUCM and attendant cosn

    I have added two new extension on CUCM, Directory not showing in attendant console even after resynch on CUCM and attendant cosnole
    Any idea?

    Hello,
    Can you tell us what versions of CUCM and CUxAC you are using?  Just extensions alone in CUCM will not sync to the corporate directory within the attendant console application.  You will at least have to have user's associated with those extensions and depending on your rule set within the console that should then bring those extensions into the console directory.
    Thanks,
    Tony

  • Likely bug with external editing (in CS5 not CS6 beta) and edited image not showing back up in LR

    I have come across something strange today that I've not seen before. I'm running LR 4.0 under Win7 64-bit. I usually use Photoshop CS6 beta as my external editor, but invoke CS5 when I have to use some tools that don't support the beta. Here is the scenario:
    * I have CS5 open
    * I externally edit an image in CS5 and Save it from CS5 when I'm done
    * The edited image does not show up in LR
    * I close LR and reopen it
    * There is the edited image!
    I have duplicated this many times this evening. I don't think I've seen it when I've used CS6 beta.

    Something strange is going on because I had the behavior reported of edited image not showing up after using another filter, Nik Silver Efex Pro 2.

  • Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Experts,
    I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
    The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
    This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
    I've checked that the path to the viewer generated HTML is not correct. see code below.
    src="../../../crystalreportviewers/js/crviewerinclude.js"
    But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
    This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
    Viewer generated HTML below.
    src="crystalreportviewers/js/crviewerinclude.js"
    This might be a common problem and that you can share to me your solution.
    Note: I removed the script tags because I can't submit this entry.
    Thank you  in advance,
    Regards,
    Rulix Batistil
    Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Saravana,
    After a few experimentation from your idea i was able to figure out the problem and now it is working.
    I don't have to copy the folder to where my jsp resides but still maintains it in the root location:  web/crystalreportviewers
    The changes should always be in web.xml.
    1st: change the crystal_image_uri value to ../crystalreportviewers
    2nd: change crystal_image_use_relative value to "web"
    Change to "web" instead of webapp because that is what I named my web root folder.
    <context-param>
              <param-name>crystal_image_uri</param-name>
              <param-value>../crystalreportviewers</param-value>
         </context-param>
         <context-param>
              <param-name>crystal_image_use_relative</param-name>
              <param-value>web</param-value>
         </context-param>
    Thank you. You showed me the way on how to solve the 3 day problem.
    BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
    Well, at least for now I can view my initial report.  I just need to figure out the next issue and with the help of the great people here in the forum.
    Thanks a lot.
    Regards,
    Rulix
    Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM

  • I have a new hard drive. iPhoto does not show as purchased in App Store although I had it on the old hard drive. How do I reinstall it without buying it again?

    I have a new hard drive. iPhoto does not show as purchased in App Store although I had it on the old hard drive. How do I reinstall it without buying it?
    Thank you.
    John

    Depends on where you got it - if it came on yoru compujter then you need to have accepeted it in the App store - and it will be in your purchases when you log in with the Apple ID that you used to set up your computer - it mahy be hidden - if you do not find it unhide applications in teh App store
    LN

  • My new mac book air will not show old emails.  how can i fix this problem

    my new mac book air will not show old emails.  how can i fix this problem

    The answer depends on a number of factors, such as the following:
    If you have more than one email account, does this problem affect one, some, or all of your accounts?
    Where did you last see this mail -- in your Inbox(es)? in some other folder(s) outside your Inbox(es)? somewhere else?
    How old is the missing email -- yesterday? just before you got the new computer? over a week? over a month? over a year?
    How are you reading email -- with the builtin Mail application? with some other mail-reading application? with a web browser?
    How do you access your email on the server -- IMAP? POP? Exchange? web browser? other?
    What version of OS X is on your new computer -- Mavericks (10.9.x)? Mountain Lion (10.8.x)?
    Did you migrate your data and applications from your old computer when you set up your new computer?
    For example, if the missing mail is the mail that was in your Inbox before you got the new computer, you are reading it with the builtin Mail via POP, and you failed to migrate data, then the mail was left behind on the old computer. The same would be true if the mail was in "On My Mac" mailboxes and you failed to migrate data.

  • Images some old loading new imported images not showing

    I am working with cs4 /windows.  I can not get new images to show.  When designing the page and importing the images it shows. When "putting" publishing it does not show.
    The only thing I could see as a problem would be old (very) server?.
    I left some images that were on the server to begin with and they show up. The newly added images do not.
    http://www.twinsburgtravel.com/sandals-resorts.html

    checking into that... I am thinking it is the server being old and not being able to handle space and new images.
    thanks! will get back to you on this later this afternoon.

Maybe you are looking for

  • "Maximum no. of connections in use.." error messag...

    Hi Recently I am getting this message whenever using Ovi Maps or Google maps : "Maximum no. of connections in use. Close an active connection first" When i close the O2 active connection it makes me open the O2 video connection, which doesn't work ei

  • JRE 1.4.2 , 1.5 installion reboots my Windows XP

    I have tried this with JRE 1.4.2 the beta 1.5.0 and also the JRE from the full SDK 1.4.2 all the installations for me are failing to install just towards the very end of the installation, causing the machine to reboot. Loading macromedias Jrun4 on to

  • How can i run windows on osx lion

    Hi, some programs don't run anymore on osx lion. So I would like to install windows. How do I need to proceed? Thanks, Franklin

  • Won't backup, why!

    My IPad says it has not backed up. I tried but it won't, why?

  • Dual 2.7 G5 keeps locking up?

    At work we have a dual 2.7Ghz G5 which was purchased last year along with 4GB of RAM (from OWC), and a 30" cinema display. Primarily the machine is used for Photoshop and Indesign, and had worked very well for us... until now. The machine seems to he