images will not show up
-
Hello,
I’m having trouble linking to images using the img tag in a wordpress page. I need to do it this way so that the images can eventually be updated through the dashboard, using custom fields. Even though I’ve checked and rechecked the filepath (and know it to be correct as image shows when the page is previewed in dreamweaver), when the page is previewed in firefox or safari, I get a placeholder icon or alt text.When I make a graphic a background image of a div it shows up fine. Here is the code for my page, containing the errant image. I am running wordpress locally on my computer, using bitnami.
Any help/ suggestions greatly appreciated.
Many thanks,
Tim<?php /* Template name: chiro_template */ ?> <?php get_header();?> <div id="mainContent"> <div id="imageHolder"> <img src='productImages/chiroRollInUse.jpg' width="450" height="356" alt="chiro roll in use"/> </div> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile; endif; ?> </div> <?php /*?><?php get_sidebar(); ?><?php */?> <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘images will not show up’ is closed to new replies.