Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Automatic resizing of the header image (http://forum.bytesforall.com/showthread.php?t=301)

kashanti May 19, 2009 06:53 PM

I tried to do what you described and I got this error afterwards.

Parse error: syntax error, unexpected T_VARIABLE in /home/kashanti/public_html/pursueyourlife.com/wp-content/themes/atahualpa/header.php on line 895

my site is www.pursueyourlife.com

I'm trying to get it to not be cut off and resizing automatically. Please tell me how step by step as I don't know code that well.

SiberianSiren5 Jun 1, 2009 12:38 PM

Flynn, I tried to edit the header.php using Notepad, by copy and pasting the codes you gave for resizing the header automatically, but I get this error message:
Fatal error: Cannot redeclare image_files() (previously declared in /home/armst5/public_html/MyBlog/wp-content/themes/atahualpa.3.2/atahualpa/functions/bfa_postinfo.php:2) in /home/armst5/public_html/MyBlog/wp-content/themes/atahualpa.3.2/atahualpa/functions/bfa_postinfo.php on line 2

SiberianSiren5 Jun 1, 2009 01:13 PM

I realize my problem is in the image source code, but not sure how to code it. I am using rotating images in the header.

furrymom Jun 2, 2009 12:08 PM

Hi Flynn.. i followed the directions for autoresizing in the above and ended up with
a "parse error in line 876"..
i don't know what that means... the first instructions to resize eliminated my header.. so i followed the instructions to remove the # in the header php and then to remove %image in the themes options...
the only thing that differed in your instructions and my html is that where you have bfa i have Jquery, would that have made the difference?? and if so what do i do now? thanks in advance.

SiberianSiren5 Jun 17, 2009 09:50 AM

Flynn, My header has rotating images in an image folder. What I would like is to direct the header to different image folders for each page, so that each page has a unique header.

What is the best way to do this? I have read posts on creating a new template which I did, but cannot get the newheader.php to work. Another post suggested modifying the original header.php by adding code which would direct specific pages to specific image folders, but I couldn't quite figure out how to do it.

I am php ignorant, so if you could help I would REALLY appreciate it!

tjvdp Feb 5, 2010 12:00 PM

Hi found this thread but on my site with version 3.4.4 I cannot find the entries in header.php to change the //headerimage information.
I find such a section in the js.php

is the the same?

marques82 Mar 1, 2010 03:10 AM

Hi Flynn,

I took your advice with resizing header images and i must have done something wrong. I am unable to view my header at all. Help!

hospitalera Jul 12, 2010 02:19 PM

I know that this is a very old thread, but could somebody please enlighten me how to achieve this (automatically resizing header image) in the newest version (3.5.1) of Atahualpa? I don't think it would do any good if I try the code here that is now over a year old ;-) Thanks a lot, SY

ssoszka Oct 13, 2010 02:55 PM

Does this also apply to the logo too? I've created a nice logo but it pushes the rss subscription buttons etc off the page and looks funny in my net book.

Billy Jan 12, 2011 02:42 PM

Quote:

Originally Posted by hospitalera (Post 36797)
I know that this is a very old thread, but could somebody please enlighten me how to achieve this (automatically resizing header image) in the newest version (3.5.1) of Atahualpa? I don't think it would do any good if I try the code here that is now over a year old ;-) Thanks a lot, SY

I am also looking for this same solution in the current version (now 3.6). Does anybody know what it takes to get this done with the current version?
Thank you!
Billy

TerryEsh Jan 12, 2011 04:59 PM

This is what solved it for ATO 3.5.3.

http://forum.bytesforall.com/showthr...6049#post46049

Quote:

In ATO>Style & edit Header Area in place of %image put code similar to the following.
HTML Code:
<img src="http://path_to_image.jpg" width="100%" />

To get the necessary html I usually create a dummy page add the picture, copy the code, and trash the page. Then I paste the code where aI want.

You could of course also wrap the image with an <a> tag so it could be linked to the home page.


All times are GMT -6. The time now is 05:17 PM.

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