Author Topic: repeating background image?  (Read 1867 times)

norad

  • Jr. Member
  • **
  • Posts: 26
repeating background image?
« on: April 23, 2010, 10:05:48 pm »
Hi,

I have a texture which I would like to have repeated to cover the entire page regardless of visitor's screen resolution (just like the "background-image:url" CSS property).

I've tried adding the following line, but I end up having the texture resized, instead of repeated:

<box background="image(../../style/images/bg.jpg)" anchors="0,0,pw,ph" />

Any suggestions?

Thank you

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: repeating background image?
« Reply #1 on: April 25, 2010, 04:15:51 pm »
This is not yet supported. Will add it to my todo list.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #2 on: April 26, 2010, 08:07:36 pm »
Thank you 8)

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #3 on: May 21, 2010, 02:50:06 pm »
Please please add this feature to 2.0.8   :)

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: repeating background image?
« Reply #4 on: May 23, 2010, 07:12:31 pm »
Sorry won't make it into 2.0.8, next version probably.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #5 on: May 31, 2010, 12:43:52 pm »
Okey-dokey  8)

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #6 on: June 29, 2010, 09:51:02 am »
It wasn't included in 2.0.9, either :'(
« Last Edit: June 29, 2010, 10:49:38 am by norad »

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: repeating background image?
« Reply #7 on: July 03, 2010, 01:27:53 am »
Yeah, didn't quite make it, I'm afraid. Have a look at r467, it's in there now. Still needs some testing regarding memory behavior and performance.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #8 on: July 04, 2010, 01:31:58 pm »
Thanks a million  :D Can't wait for the next version :)

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #9 on: August 25, 2010, 11:41:27 pm »
I see that backgroundrepeat is added into 2.0.10. Thanks a lot!

Can you please tell me how to use it? I couldn't find it in the documentation...

vincent

  • Full Member
  • ***
  • Posts: 61
Re: repeating background image?
« Reply #10 on: August 26, 2010, 10:18:00 am »
try backgroundrepeat="true"
on your asul elements, he have to had too an background image of course.

it is not compatible with scale9grids.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: repeating background image?
« Reply #11 on: August 26, 2010, 03:34:31 pm »
Exactly as vincent said, so e.g.
  1. <box anchors="0,0,pw,ph"
  2.    background="image('http://www.megazine3.de/forum/index.php?action=dlattach;attach=92;type=avatar')"
  3.    backgroundrepeat="true"/>


For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

norad

  • Jr. Member
  • **
  • Posts: 26
Re: repeating background image?
« Reply #12 on: August 28, 2010, 09:54:02 pm »
Thanks a lot!