1
richbrown
Background Image in a block
  • 2004/11/22 15:07

  • richbrown

  • Just popping in

  • Posts: 96

  • Since: 2004/10/20


Hi

I would like to be able to add an image to the opening background block. The image would need to be scaleable but if it fits within the block then it would be... yes?

Can anybody help?

Url is www.weddingcompanycornwall.co.uk and the image is the dress painting in the right.

When I uploaded the image I was also restricted to size. I presume I can decide on these sizes within preferences?

Thanks

Rich

2
rcjohnson
Re: Background Image in a block
  • 2004/11/22 15:44

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Hi Rich,
You can set the image using plain old html, or use css to apply the background.

Just save the block with an "html" format.
<body background="wedding.gif">

You may also want to use
<body background'<$xoops_imageurl>/wedding.gif'>
if the image is in your "themes" folder.

( i think that is the proper structure for the link.)

3
richbrown
Re: Background Image in a block
  • 2004/11/24 12:16

  • richbrown

  • Just popping in

  • Posts: 96

  • Since: 2004/10/20


Hi

Within the theme I am using the custom block I use is displayed in a frame.

This is the line:-

<td valign="top" background='<$xoops_imageurl>images/girl_only_light.gif' bgcolor="#F8F8F8" id="s2p2"><br />

I can't access the image because I don't know what to type in the url.

Can anybody help?

Thanks

Rich

Login

Who's Online

146 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits