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] Loading a header from remote location? (http://forum.bytesforall.com/showthread.php?t=17484)

mikeg63 May 5, 2012 08:47 AM

[SOLVED] Loading a header from remote location?
 
I'm just trying to figure out if I can load my header images remotely.....from another server by inputting a url somewhere in the theme, I only need to load one header image, no rotating.
any ideas?

juggledad May 5, 2012 08:56 AM

you could (1) modify the theme code and put in the url of the image or (2) replace the %image with the code for a new widget area and then add a text widget with the url of the image

remember grabbing an image from a site you don't own could be a copyright violation.

mikeg63 May 5, 2012 04:25 PM

ok editing the theme code sounds like it might be easier than creating a new widget....however, can anyone point me to the exact theme template that would need to be edited, what changes would have to be made and where to put the url?

the image is mine and would be grabbed from a "google sites" account.
the reason I am looking to do this is because the header image consumes a lot of bandwidth even though it has been optimized it is using about 2gb every 4 days, saving this bandwidth may save me from topping out at the end of the month and consequently
paying extra money or going to a higher level of service.
Mike

juggledad May 5, 2012 04:52 PM

How big is the image? or is it coming from a webcam or something?
actually creating the new widget area will be easier in the long run, then it is a theme option and you don't have to go re-edit the code each time you upgrade.

lmilesw May 5, 2012 07:08 PM

If it is just one image you could just replace %image with code for the remote image such as
HTML Code:

<img class="alignnone" title="image" src="http://path-to-image/image.jpg" alt="" width="1000" height="150" />

mikeg63 May 5, 2012 08:51 PM

thank you, worked well


All times are GMT -6. The time now is 07:43 AM.

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