Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Header shows in Safari but not in IE7


  #1  
Old Sep 24, 2009, 11:36 AM
AbbyDon
 
10 posts · Sep 2009
I'm unable to view the header image in IE7 (www.becomingaprayingcongregation.com) but I can view it in Firefox. Are there existing issues or is there something I need to correct.

Here's what the CSS looks like:
<?php
function bfa_rotating_header_images() {

if (file_exists(ABSPATH."/wpmu-settings.php")) {

################### images in WP upload folder (on WPMU)

$files = m_find_in_dir(url('/wp-content/themes/atahualpa/images/header/weblabryinthheaderghosted.jpg'),
'atahualpa_header_[0-9]+\.(jpe?g|png|gif|bmp)$');

if ($files) {
foreach($files as $value) {
$bfa_header_images[] = "'" . str_replace(url('/wp-content/themes/atahualpa/images/header/weblabryinthheaderghosted.jpg'),
url('/wp-content/themes/atahualpa/images/header/weblabryinthheaderghosted.jpg'), $value) . "'";
}
}

}

# If no user uploaded header image files were found in WPMU, or this is not WPMU:

if (!file_exists(ABSPATH."/wpmu-settings.php") OR !$files ) {


################### images in /images/header/ (on regular WordPress)

$files = "";
$imgpath = TEMPLATEPATH . '/images/header/';
$imgdir = get_bloginfo('template_directory') . '/images/header/';
$dh = opendir($imgpath);

while (FALSE !== ($filename = readdir($dh))) {
if(eregi('.jpg', $filename) || eregi('.gif', $filename) || eregi('.png', $filename)) {
$files[] = $filename;
}
}
closedir($dh);

foreach($files as $value) {
$bfa_header_images[] = '\'' . $imgdir . $value . '\'';
}

}


return $bfa_header_images;
}
?>
  #2  
Old Sep 24, 2009, 05:55 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa, WP and PHP?
Where did you place this code?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 25, 2009, 05:56 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The actual doesn't display in IE http://www.becomingaprayingcongregat...derghosted.jpg

This indicates that something is wrong with the image itself. Perhaps it was created as another file format and then just renamed to .jpg?
  #4  
Old Sep 25, 2009, 07:33 AM
AbbyDon
 
10 posts · Sep 2009
Juggledad, I have the 3.4.1 version of Atahualpa and WP 2.8.4. The code was placed in the bfa_rotating_header_images
  #5  
Old Sep 25, 2009, 07:34 AM
AbbyDon
 
10 posts · Sep 2009
Hi Flynn, the image was sent to me as a jpeg. It could be possible that the original image was a tif file. What would I need to do to correct that?
  #6  
Old Sep 25, 2009, 07:36 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Why not upgrade to 3.4.2 where the rotating header code is already in the code?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 25, 2009, 07:39 AM
AbbyDon
 
10 posts · Sep 2009
I don't understand. Wouldn't I still have to put the file location in the code?
  #8  
Old Sep 25, 2009, 07:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
In addition, try shortening the name of the image
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Sep 25, 2009, 07:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
It's definately a problem with the images. I just poped it into an image editor and changed some settings and resaved it and it shows up. This is NOT a normal jpg

Re the upgrade to 3.4.2 - no in 3.4.2 the code looks at the images/header folder and gets the names of all files in it to display in the rotating header.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Sep 25, 2009, 08:10 AM
AbbyDon
 
10 posts · Sep 2009
Thanks. I'll check with the designer who sent it to me.

Bookmarks

Tags
header firefox ie7

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Atahualpa IE7 &quot;endif&quot; Error header.php Actus Atahualpa 3 Wordpress theme 3 Sep 23, 2009 08:42 PM
Header image is showing on Firefox and Safari but not on iE aquilaciencia Header configuration & styling 4 Aug 11, 2009 09:07 AM
Only Part Of The Header Shows In IE mal1986 Header configuration & styling 1 Jun 9, 2009 05:38 AM
Added header images, now none show on Firefox, Safari, etc. ldaily Header configuration & styling 5 Mar 13, 2009 05:36 PM
Firefox and Safari show 3 columns. IE only shows 2. How do I resolve? rwang Sidebars & Widgets 9 Dec 20, 2008 03:46 AM


All times are GMT -6. The time now is 11:44 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.