This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: [SOLVED] Homepage picture

Homepage picture 1 month 1 day ago #1

  • roger
  • roger's Avatar
  • Offline
  • New
  • Posts: 27
is there a way to set a backround picture on the homepage/login page?

thank you for any advice
roger
The administrator has disabled public write access.

Homepage picture 4 weeks 22 hours ago #2

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 756
I have some images on my home page - see www.adkins.ws
If you're interested in something like the 'header,' I have incorporated that into the JustBlack theme.
I have added header.jpg to lines 162-169 in my theme.php
if ($this->themeOption('header') === '1' && file_exists($image)) {
$bg = file_get_contents($image); // The data dir is a protected directory.
$type = @getimagesize($image);
return 'background-image:url(data:' . $type . ';base64,' . base64_encode($bg) . '); height: ' . $this->themeOption('headerheight') . 'px;';
} elseif ($this->themeOption('header') === '2') {
return 'height: ' . $this->themeOption('headerheight') . 'px;';
} else {
return 'background-image:url(' . $this->assetUrl() . 'images/header.jpg)';
... if I recall correctly. :/
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.

Homepage picture 4 weeks 19 hours ago #3

  • roger
  • roger's Avatar
  • Offline
  • New
  • Posts: 27
wow thats impressive

was worth a try but doesn;t seem to like 1.7.11 sure wish it did super looking theme

j
i'm doing something wrong, found justblack theme for 1.7.11 put it in the theme folder and selected it for the webpage and everthing dissapeared, blank page
not finding any info on the cause
Last Edit: 4 weeks 14 hours ago by roger.
The administrator has disabled public write access.

Homepage picture 3 weeks 6 days ago #4

  • roger
  • roger's Avatar
  • Offline
  • New
  • Posts: 27
thank you for pointing me to this
The administrator has disabled public write access.

[SOLVED] Homepage picture 2 weeks 4 days ago #5

  • roger
  • roger's Avatar
  • Offline
  • New
  • Posts: 27
Problem solved.
The administrator has disabled public write access.
Powered by Kunena Forum