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...Administration ...Administration ...Images Not Displayed After Creating New Virtual WebImages Not Displayed After Creating New Virtual Web
Previous
 
Next
New Post
9/8/2010 1:46 PM
 
Hi,

I setup a DNN site using http://localhost/mysite. After I developed the layout of the home page and other pages (all pages include text and images), I then created a new website within IIS for public access. When I browse to the public site (e.g. http://www.publicsite.com), the DNN pages display their text, but they do not display any images. When I created the new web within IIS, it uses the same path (C:\mysite) as the internal site (localhost/mysite). I am glad that the text appears on the public site, but I need the images to appear as well.

If I right-click on a non-rendered image, the URL property is http://www.publicsite.com/mysite/imag.... Since http://www.publicsite.com is pointing to C:\mysite, then "mysite" should no longer be part of the URL property. It becomes a redundant or invalid reference, which explains why the images do not render. If I enter the URL property http://www.publicsite.com/mysite/imag... as a web browser address, the image will not render. If I remove the "mysite" reference from the URL address, leaving me with http://www.publicsite.com/images/home..., then the browser will render the image.

I cannot figure out how to apply this change to the images on my DNN site. If I log in as Host or Admin, I cannot find where to make this change to the images. And I need to make this change to many images within the website, so hopefully there is a single property setting that can be modified in order to affect all images. I am glad that my text appears on the public site, but I need my images to display as well. How do I fix this problem?
 
New Post
9/15/2010 8:27 AM
 
To resolve this issue, PRGrep was used to search through the content of every text-based file starting at the root of the DNN site (root of the physical path), including every subfolder, and searching for every literal reference to "mysite" within each file. Any relavent reference was removed. For example, if I found a reference like the following:

    /mysite/portals/0/...

I changed the reference to simply /portals/0/...

Removing this literal references of "mysite" from each relavent file resolved the issue.
 
New Post
9/15/2010 9:44 AM
 
if you want to transfer site from one (local) localtion to a server, make sure to use the same relative path. Using IIS in Vista/WIn 7, Instead of "localhost/mysite", you may use "pubsite" (or any other domain name by entering it as localhost alias into /windows/System/drivers/etc/hosts file using a text editor.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Images Not Displayed After Creating New Virtual WebImages Not Displayed After Creating New Virtual Web


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