Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin images not showing up (hosted on GoDaddy)Skin images not showing up (hosted on GoDaddy)
Previous
 
Next
New Post
9/11/2012 2:12 PM
 

I'm hosting a DNN6 site on GoDaddy and I've used the godaddy ftp filemanager to upload my skin & images. The skin layout is showing up but the images are not. Do these have to be uploaded via the dnn file manager or some other dnn method?

My background image is sitting in the skins/mySkin/images folder. I don't see this folder via any other method.

TIA!

 
New Post
9/11/2012 3:12 PM
 
did you reference the image in css using relative path from css file?
Images in html need to be referenced relatively from website root.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/11/2012 4:08 PM
 
Ah!  So, "background-image: url("images/bkgndImg.png");" won't do it.
It should be more like "background-image: url("/dotnetnuke/portals/_default/skins/mySkin/images/bkgndImg.png"); "
 
New Post
9/11/2012 4:27 PM
 
I think that may work for you but I am not sure it's best practice. If that skin ever ends up in another folder it's broken.

This line...
background: url('../images/plug.jpg') no-repeat 0px 13px;
...is from a working skin. It is relative to the ACTUAL CSS FILE's location.

In this case there is a collection of css files in a folder below the skin. That url reaches up one level to get to the skin's folder then across to an images folder.

Move the skin to another folder and it still works.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
9/11/2012 7:02 PM
 

Thanks Richard, but it's still not working. Not quite sure why. I even gave the absolute url and that didn't work. But if I enter the url in a browser, I see the background just fine, so I know it's in the folder. Can you suggest where I might look next to find where the error is?

Maybe it's not loading the proper CSS file? I'm using the line
<dnn:STYLES runat="server" ID="StylesIEx" StyleSheet="JDS2style.css" Name="JDS2style" Condition="LT IE 8" UseSkinPath="true" />

The style sheet is definitely in the skin folder. 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin images not showing up (hosted on GoDaddy)Skin images not showing up (hosted on GoDaddy)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out