a tool to generate background

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hi folks

I am looking for a tool (script, plugin, code, ...) which can generate
background image for webpage

look at background on http://vtorrent.info/ page or on the Vista
I want to create this in fly - only give two colours and expect result
which will be created by function.

Is any plugin for it?
code in php or js or .. whatever ?

What for?
To have possibility to change backround in conformity with current

Re: a tool to generate background

you can use a php script as a stylesheet. in this php generated
stylesheet you can define the background image: http://www.tizag.com/cssT/background.php
then you just have to import your stylesheet in your page and the
background will be displayed

devphylosoff schrieb:
Quoted text here. Click to load it

Re: a tool to generate background

<Sun, 10 Jun 2007 13:22:55 -0700>

Quoted text here. Click to load it

Wouldnt it be better to use the stylesheet as normal - and  
define/declare the background image in the <body> tag .




<link href="<?php print $poop_css; ?>" rel="stylesheet" type="text/css">


blah blah blah

<body text="#FF0000" link="#FF0000" vlink="#FF0000" alink="#FF0000"  
style="background-image: url(images/<?php print $blah; ?>.jpg);"

Re: a tool to generate background

Quoted text here. Click to load it

I'm not sure what you are talking about? Change the background in fly?

Quoted text here. Click to load it

Do you mean dynamically?  That is, you want to control the background image  
programmatically instead of through css?

If so you either can write a script to modify the css code and have it run  
when you want(not that hard) or set the background in the html using inline  
css but this would actually be php code. You could even allow the user to  
set there own background if you wanted. it would be something like this

<body style="background-image:url(<?php echo 'background.jpg'?>);">

of course the php could be any thing that outputs a file name and you could  
make it more complex but thats the idea. Your files would need to be have  
php processing on them(so probably need to be named php).

Re: a tool to generate background

At Sun, 10 Jun 2007 12:36:46 -0700, devphylosoff let h(is|er) monkeys

Quoted text here. Click to load it

Creating a rather complex gradient like the one on the site you mention
using PHP's graphic libs (gd, imagemagick) may be quite a daunting job.
Why don't you create a set of images outside of PHP and rotate these using
a simple script?

Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

  "strcmp('apples','oranges') < 0"

Site Timeline