background - can it be to another...

User 2093356 Photo


Registered User
49 posts

Under Page Properties, background, the image source is website localized.

I usually put my backgrounds to websites on remote centralized hosted servers just for imaging and management.

Scanned the VSD forums for background URL overrides the old days of < body background='http://www.. etc...'>

Looked at Edit | Header body html / onload and nothing yet.

Thanks,
Andy
AndyF
User 122279 Photo


Senior Advisor
14,650 posts
Online Now

I can't make out whether you are asking a question or reporting an issue...

If you mean to say that you have backgrounds for various websites located on a different server, I don't see much point in that. I would think it will slow down the loading time of a page if it has to fetch the background image from somewherre else.

Maybe I have misunderstood. In that case maybe you could rephrase your post so that it is more easily understood.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 1861272 Photo


Registered User
339 posts

Basically it sounds like you want the background picture of your VSD site posted on another site?
As Inger said, WHY? That would make the site need to open from two servers. It's easy enough to change the background images in VSD, why go through all that trouble?
User 2093356 Photo


Registered User
49 posts

Hi Tim,
Yes, I want the background picture to be on another site.

Has anyone been able to figure it out - To re-iterate, can it be done with VSD? I can embed HTML that sources content from other sites, why not reference the background?

"...I don't see much point in that. I would think it will slow down the loading time of a page if it has to fetch the background image from somewherre else...." --- Actually, that is the point, speed is always my concern. the background image (sets of images) should be able to be referenced from another site (think like akami servers, html 3.2/4.0 spec).

Thanks,
Andy
AndyF
User 38401 Photo


Senior Advisor
10,951 posts

Well there is another issue you need to consider when you are using images that are not on your own server for your website buiding. If that other server or website removes that image, moves that image, rearranges their files to end up moving it, or even getting shut down or just closing up their sites, you are now out of an image (or dozens if you reference them from other sites). The other thing is that you are stealing bandwidth from other sites that way which is extremely frowned upon. Just some more food for thought. Like the others I also say put it on your own server and call it good. Loads much faster and that way when it's loading really slow, you aren't stealing that slow bandwidth issue from someone else.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Andy, here's some code to play with. Insert the code into a HTML box on your webpage. In the box paste into the Body HTML.
<div id="container">
<div id="background" style="position:relative; top:0px; left:0px; z-index:0;">
<table style="height:900px; background-image: url('http://www.mywebsite.com/files/mypicture.jpg');" width="1000px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<br>
</td>
</tr>
</table>
</div>


You'll have to play around with the code to get it to display properly on your site.


position:relative; top:0px; left:0px; z-index:0

table style="height:900px

width="1000px" border="0" cellspacing="0" cellpadding="0">

These setting should match the page properties settings of the page that you place the code into.
I found that placing the html box up into the up left hand corner of the VSD page positioned the background perfectly.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2093356 Photo


Registered User
49 posts

Hi Eric,

Yes, your answer is the best so far. Thank you. The other responses, thank you. This is not a design question, but a technical question.

I did something similar to support VSD as it is in the box;

Just create a HTML Tool code drop-in (my phraseology)

call it.. background css
and paste the following:

<style type="text/css">
body {
background-image: url('http://www.bulkdrive.com/mtn_images/RNO03112006_087.jpg');
}
</style>

it works.

I had to do something similar for URL overrides.. active, visited, etc., and found the answer here on the forums. Thank you for those who are really helping with dropping in HTML Tool code samples..

The only kicker.... Advanced Text being checked on text objects for shading becomes weird and is non-forgiving for passing through the background. nevertheless, I figured it out, had to uncheck the Advanced Text feature on most of my home page objects for now.. but I like the diversity in the application.

Thanks to all,
Andy
ps. http://www.MountainComputers.org is the target site..
AndyF
User 2093356 Photo


Registered User
49 posts

Jo Ann,

As a courtesy, linking content from multiple sources to one site is by far the best of many worlds. For this exercise, I was trying to get VSD which is very nice for most non-programmers to leverage linking external content to their website for various dynamicdrive java and other source programming.

e.g.

site 1 - proprietary source code (internal)
site 2 - graphics and video (akami)
site 3 - database (sql or oledb)
site 4 - secure transactions (yeah yeah.. the bank)

Try to NOT keep all your eggs in one basket, otherwise your entire store will be stolen by some IT support person in your own backyard.

Thanks for sharing in design & architecture input nuances. Got it covered. :)
Andy
AndyF
User 2093356 Photo


Registered User
49 posts

ps. I changed the code location I posted to the HTML Header area of VSD instead of the HTML body area.

it works. thanks VSD for allowing HTML header and body includes.
AndyF
User 2093356 Photo


Registered User
49 posts

Oh .. one more thing -- I had to set the Page Properties Background Fill on my home page to at least something appropriate . like BLACK background, and then the CSS header background gets double whammy'ed like in (Anchorman - the movie -- Whammy!) ...

AndyF

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.