Image not displaying in Firefox
-
Hi I added a header image to my homepage of my wordpress site through my ftp in one of the php files. The image shows up on chrome and safari just fine, but not on firefox. Any suggestions on what would be the issue? I’ve uploaded the file in wordpress and used that url, then tried uploading it to a different server and tried that way, but that didn’t work either. I have a feeling that it has something to do with firefox not reading some code to display the image. Any suggestions?
Here’s my code
‘<div class=”row”>
<div class=”col-md-13″ >
<img src=”../img/header-photo.jpg”>
<?php
$image_url=’https://cnjohnson6.com/temp/wp-content/uploads/2014/10/header-photo.jpg’;
?><img src=”<?php echo $image_url;?>”>
</div>
<div class=”col-md-12 page-heading text-center”><h1><?php wp_title(”); ?></h1></div>
<?php if(get_field(“page_subheading”)): ?>
<div class=”col-md-12 page-subheading text-center”><h3><?php the_field(“page_subheading”); ?></h3></div>
<?php endif; ?>
<?php if(get_field(“page_link”)): ?>
<div class=”col-md-12 page-link text-center”>“><?php the_field(“page_link_text”); ?></div>
<?php endif; ?>
</div>’
- The topic ‘Image not displaying in Firefox’ is closed to new replies.