WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] images not displaying

[Resolved] images not displaying

  • I am trying to customize a theme based on twentytwelve and place typical graphic items in the header. Namely, a logo and social networking “buttons.” I am working on a local site right now. It currently is referencing the links as follows:

    <figure id="logo">
    	<a href="<?php echo get_settings('home'); ?>">
    		<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\LOGO_Horiz_web_gradient.png" alt="S42" height="50" />
    	</a>
    </figure>

    and for the social media:

    <div class="social">
    	<p class="followUs">Follow Us:</p>
    	<div class="socialIcons">
    
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconRSS.png" alt="RSS" height="20" />
    		</a>
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconFacebook.png" alt="Facebook" height="20" />
    		</a>
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconTwitter.png" alt="Twitter" height="20" />
    		</a>
    		<a href="#">
    			<img src=C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconGoogle+.png" alt="Google+" height="20" />
    		</a>
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconYouTube.png" alt="YouTube" height="20" />
    		</a>
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconVimeo.png" alt="Vimeo" height="20" />
    		</a>
    		<a href="#">
    			<img src="C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images\iconLinkedIn.png" alt="LinkedIn" height="20" />
    		</a>
    	</div>
    </div>

    the location for the theme files is:

    C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42

    the location for all images is:

    C:\Users\User\Documents\Websites\S42.dev\wp-content\themes\S42\images

    I would prefer to set up the relative links so it’s all ready to go live on a website but can’t seem to get them working either… not sure what i’m doing wrong. The html mockup displays the exact same links perfectly…

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] images not displaying’ is closed to new replies.