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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreImages not showing upImages not showing up
Previous
 
Next
New Post
8/23/2006 9:31 PM
 
jk_nzd wrote
The most likely cause is that the ProductImage field of dnn_Store_Products is incorrect, so thumbnail.ascx can not find the file.

You can check if the ProductImage is correct by taking your site url
eg http://mysite.com/default.aspx and replacing default.aspx by the ProductImage eg http://mysite.com/picture1.jpg ... if you get a 404 page can not be found error, that proves it was wrong

Just experiment with different values for product image until you get one that shows the page

As to why it was wrong, that is another question :)


The image URL is stored in the database without the extra "IW=...", however it is also missing the "http://" to indicate that it is an external image. I made sure to include the http:// when I created the product listing, so I'm going to look into why it gets stripped out.


email: MY USER ID at gmail dot com
 
New Post
8/23/2006 10:22 PM
 
anarcap wrote

The image URL is stored in the database without the extra "IW=...", however it is also missing the "http://" to indicate that it is an external image. I made sure to include the http:// when I created the product listing, so I'm going to look into why it gets stripped out.



I have a fix working at my end... It looks like the "htt://" was getting removed in ProductEdit.ascx.cs .

I modified GetImageURL() like this:

        private string GetImageUrl()
        {
-           string imagePath = image1.Url.Replace("http://", "");
+          string imagePath = image1.Url;
            // Is this an internal image?
            if (image1.UrlType == "F")

rebuilt, and then uploaded the new DotNetNuke.Modules.Store.WebControls.dll to the web server. Now both local and external images work.

Is there a formal process for submitting patches to this project?

Marius

email: MY USER ID at gmail dot com
 
New Post
8/24/2006 7:25 PM
 
I have logged your issue and already fixed it for the next release. It should appear in Gemini soon.

Dwayne J. Baldwin
 
New Post
8/24/2006 8:00 PM
 
djbaldwin wrote
I have logged your issue and already fixed it for the next release. It should appear in Gemini soon.


Good to see some one listening :)  I've posted in the last few weeks several ideas and bug comments, but without much response - would you be interested in seeing a list of changes and fixes I've made to the store? ... its quite a long list ;)

JK

You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
8/24/2006 8:52 PM
 

jk_nzd wrote
would you be interested in seeing a list of changes and fixes I've made to the store? ... its quite a long list ;)

Absolutely! I would be seriously interested in comparing notes. Feel free to email it ASAP to the msn email in my profile.

I'll return the favour with some privileged information.


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreImages not showing upImages not showing up


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