ab5ni
Posts: 177
|
Posted: 07/17/2013, 1:44 AM |
|
For some strange reason, I can't get a background image to display on my index/home page. Changed the resolution to something workable, converted to PNG. Viewed the source, and it seems to look okay. Any suggestions?
Best Regards,
_________________
Randall Jouett
Amateur Radio: AB5NI
I eat spaghetti code out of a bit-bucket while sitting at a hash table! And yes, I paid for the meal in cache!
|
|
|
Lucius
Posts: 220
|
Posted: 07/17/2013, 5:14 AM |
|
Use browser developer tools to check for any possible errors.
There can be plenty of things causing this. If you have trouble pinpointing the issue, post a link to the page.
|
|
|
ab5ni
Posts: 177
|
Posted: 07/17/2013, 11:50 AM |
|
Well, I looked everything over and everything looks good, but it still doesn't display, although I think I just might have thought of a solution. Prolly a permissions prob on the server...going to check
Best Regards,
_________________
Randall Jouett
Amateur Radio: AB5NI
I eat spaghetti code out of a bit-bucket while sitting at a hash table! And yes, I paid for the meal in cache!
|
|
|
DataDoIT
|
Posted: 07/17/2013, 12:28 PM |
|
If you can view the source, and click on the link in that source to open
the image, then it's not a permissions problem.
Look through your style sheets, in the order in which they're loaded,
and make sure that you don't have one of them overwriting your setting.
Ie: background-image: none
Another test would be to adjust your HTML page body tag with:
<body style="background-image: url('{page:pathToRoot}images/myimage.png')">
|
|
|
ab5ni
Posts: 177
|
Posted: 07/20/2013, 6:54 AM |
|
Well, I've tried all of that, checked the permissions and whatnot, and still no go. I'm displaying a horizontal menu across the top of the page, and I'm wondering if the problem could be some kind of interaction between it and the page properties?
Best Regards,
_________________
Randall Jouett
Amateur Radio: AB5NI
I eat spaghetti code out of a bit-bucket while sitting at a hash table! And yes, I paid for the meal in cache!
|
|
|
jekes
Posts: 36
|
Posted: 07/22/2013, 12:39 AM |
|
I had one time a similar problem with a image on a page.
I had to transfer the image on my server using winscp in binary modus (text modus was the default mode on winscp, the image was corrupted on the server and didn't appeared on the page).
|
|
|
ab5ni
Posts: 177
|
Posted: 07/22/2013, 7:23 AM |
|
Okay. I'm using filezilla to transfer the image. I'll look to see if it's in bin or ascii mode.
Best Regards,
_________________
Randall Jouett
Amateur Radio: AB5NI
I eat spaghetti code out of a bit-bucket while sitting at a hash table! And yes, I paid for the meal in cache!
|
|
|
leenux
Posts: 7
|
Posted: 07/22/2013, 5:36 PM |
|
Check your directory name ?? Images or images ?? Linux is case sensitive.
--
Regards
Leenux
|
|
|
ab5ni
Posts: 177
|
Posted: 07/27/2013, 11:46 AM |
|
Well, I've been messing around with it and have tried everything. I'm convinced it has something to do with displaying a horizontal menu across the top of the screen. Also, I've tried changing the permissions to 777 and uploading the image file to the /var/www/html directory (root folder for apache), and still no go.
@Datadoit: viewed the source and can't click on the link. Also, i made ur changes to the html, and it still doesn't work :/.
Best Regards,
_________________
Randall Jouett
Amateur Radio: AB5NI
I eat spaghetti code out of a bit-bucket while sitting at a hash table! And yes, I paid for the meal in cache!
|
|
|
|