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 Thumbnails do not display Please help find a fixSkin Thumbnails do not display Please help find a fix
Previous
 
Next
New Post
12/29/2006 11:23 AM
 
do you use FireFox?
 
New Post
1/2/2007 6:01 PM
 

Not in my case Renier, all the problems are experienced through IE. 

Regards

Oliver

 
New Post
1/6/2007 10:08 AM
 
I was able to fix the problem.  It looks like it is a problem with the way browsers render the relative URLs to the thumbnails.  I can recreate this problem easily in Firefox, but IE 6.0 and 7.0 don't show the problem.

Assuming that the thumbnails are actually in the skin directory, it appears that if you are running your DNN install in the root directory of a web site and using Firefox then your skin thumbnails won't show up.  The way I fixed this was to edit line 457 of admin/skins/EditSkins.ascx.vb from:
      strThumbnail = Common.Globals.ApplicationPath & "\" & strThumbnail.Substring(strThumbnail.IndexOf("portals\"))

to

      strThumbnail = Common.Globals.ApplicationPath & "/" & strThumbnail.Substring(strThumbnail.IndexOf("portals\"))

Which essentially is just chaning the "\" to "/".  The JIT compiler will update the code-behind.

When running in the root of a web site, Common.Globals.ApplicationPath property is empty.  When running the source install, it runs under the DotNetNuke_2 virtual directory.  In this case, the application path is "/DotNetNuke_2".  It appears that beginning forward slash "/" in the relative path to the thumbnail image causes the browser to retrieve the image from the correct URL.  You can get Filemon from www.sysinternals.com and see what files IIS is trying to access when running into this problem.

Some of the previous posts mentioned they are using IE and having the problem.  In my search to see why this was happening, I noticed that the code will make the thumnail on-the-fly under certain conditions.  Filemon will show you if your DNN application is lacking rights to write the files, or even if the thumnail files don't exist.

Regards,

Nathan Leach
 
New Post
1/15/2007 2:10 PM
 

FIX ACTION

This problem occurs when you install your portal code in a directory called Portals. The word Portals is a key word.  For instance, installing your portal code to C:\Portals\Directoryname will prevent you from seeing the thumbnail images when previewing skins. You will NOT have this problem if you install it to a folder named anything else, even  C:\Portal will work.

Problem fixed. This issue reported in Gemini under issue 4474.

 
New Post
1/19/2007 5:29 PM
 
I am going to play stupid here and assume that I am doing something wrong with my JPG thumbnail image. I have DNN 4.03.07 installed at domain/site/ and a working skin. As far as I can tell the word portals or portal has not been used in the directory structure except for sitewwwroot/site/Portals/0/. I have a .jpg in the skin folder named thumbnail_skinname.jpg. All I get in the admin is the "No image available" image.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin Thumbnails do not display Please help find a fixSkin Thumbnails do not display Please help find a fix


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