Background image

Hi all,

I?m tryig to insert an background image on the login form, it looks so easy but it dosent works at all.
I coppy a PHP scrip from manager project example as follow (Named M_Background):
print ("
<style type=‘text/css’>
body {
background-repeat: no-repeat;
background-image: url(…/_lib/img/grp__NM__Scriptcase_Project.jpg); //I changed this file
}
a:link,
a:active,
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
</style>
");

And put on the scriptinit a call to M_Background, applications has a original theme and I suppose it has more weith than the script.
I?m not a pogrammer so any help will be usefull, thanks in advace for your help.

Re: Background image

Check on the form menu -> Application -> Settings -> Application images if the desired image is selected.

This css only force to use this image as background, but you need to tell the form to copy the desired image to the lib when the application is compiled. Otherwise, your css is working, but the browser wont find the desired image on the path _lib/img …

Re: Background image

Hi Diogo,

thanks for your answer, I checked it but not. On absolut path for doucments I put:

/scriptcase/app/Arjo2010/_lib/

on directory for images I put:

/_lib/img/

and on the box for selected images for this app I can see the slected image, and it exist on the folder.

It looks simple, but… dosent work, :), any other idea?, thanks in advance.