HomeHome Product Discus... Product Discus...SmithCartSmithCartBroken Image LinksBroken Image Links
Previous
 
Next
New Post
2/24/2011 6:27 AM
 

I downloaded the shopping cart trial version (SmithCart04.00.00-DNN5.zip) and have been configuring it so that I can demo for client. Install seems fairly straight forward but I'm having an issue with with broken image links (see attached). I believe I configured the product correctly but perhaps I missed something.

Note the path string revealed with Firebug.

Please help.

 
New Post
2/24/2011 3:08 PM
 

Are the images also not showing up on the Product List/Product Detail page?

Thanks,

Christian

 
New Post
2/25/2011 5:37 AM
 

Hi Christian,

Yes, the images are displaying on the product detail page perfectly (see attached). I also verified that all images are uploading correctly and the thumbnails are being generated. I reinstalled the PA and configured it on a clean DNN 5.06.01 build but am still having the same issue.

Aside from the image related issues the trial version is working great, I do still need to run recurring billing test transactions with Authorize and PayPal.

As soon as we can get this figured out I will be purchasing a license.

Thank you for your help!

 
New Post
2/25/2011 8:35 PM
 

I was unable to replicate this on our test site, can you please try and replicate it on our test site?

If you need login details please email christian@smith-consulting.com.

Thanks,

Christian

 
New Post
2/28/2011 8:26 AM
 

Hi Christian,

I think I narrowed the issue down a bit, it's possible that this has nothing to do with the shopping cart but instead may be due to either the DNN install or Windows XP box I was testing it on. Previously I was working on DNN Community Edition version 5.6.1 installed with Microsoft Web Matrix and running on Windows XP SP3. Over the weekend I installed a trial version of DNN 5.6.1 professional and the Smith cart on my Windows 2003 Server and I'm not having the issue with the image links. I'm thinking this may have something to do with IIS on XP.

I'll be testing Paypal and Authorize.net today, the primary requirement I need to address is recurring monthly payments. I may be asking a few questions as I get into this but wanted to let you know what I discovered with the image links. As soon as I've successfully competed the payment gateway tests I will be purchasing a license.

Thanks again for your timely follow up, it's much appreciated!

 
New Post
2/28/2011 2:46 PM
 

On your bad image, what is the actual path and filename that you get when you right click on the X and select properties?

There are two common scenarios for DNN image path failures; file permissions and moving from a root folder to a virtual folder/application. For the former, it is best to set security permissions before installing DNN, the latter requires database surgery.

Once DNN is running properly, SmithCart works like a charm.

 
New Post
2/28/2011 6:19 PM
 

Thank you for your help and the feedback on Smithcart:

The image path from the properties is :"http://localhost:2477/dotnetnuke%20website1/Portals/0/SmithCart//Thumbnails//IMAGE3.png"

In my last post I was incorrect about the site being created using MS Web Matrix, I created this particular site with Visual Studio 2008 and the DNN site template and used the default path from the template "DotNetNuke Website1". Is it possible that the space in the folder name is creating the issue in the cart module?

I've included a couple of illustrations below:

 
New Post
2/28/2011 8:04 PM
 

IIS should handle the space. Lets test IIS first. What happens when you copy these directly into the browser?

http://localhost:2477/dotnetnuke website1/Portals/0/SmithCart/Images/IMAGE3.png

http://localhost:2477/dotnetnuke website1/Portals/0/SmithCart/Thumbnails/IMAGE3.png

Do the images display? If not, the next test is to try a .jpg instead of .png then try the links again (with the extact file name).

I have different solutions depending on your results.

 
New Post
3/1/2011 9:04 AM
 

Here are my results:

Regarding the following two tests:

"http://localhost:2477/dotnetnuke website1/Portals/0/SmithCart/Images/IMAGE3.png"

"http://localhost:2477/dotnetnuke website1/Portals/0/SmithCart/Thumbnails/IMAGE3.png"

In Chrome the image automatically downloaded to the the local drive.

In Firefox the save file dialog box opened and allowed me to save the file.

When I added jpg files to the directories with the exact same names and tested the above links with the "jpg" extension the images displayed in both Chrome and Firefox.

I then tried to replace the primary image for the product and create a new product in each case using a jpg file. In both cases the main product page still shows the broken link, when I copy and paste the image link (http://localhost:2477/dotnetnuke%20website1/Portals/0/SmithCart//Thumbnails//DSCN0299.JPG) it returns a 400 error (see below) however the image is in the directory.

I tested the jpg file format on the Windows Server 2003 / DNN Pro 5.6.1 install and same as the png files they are fine. The only problem on the 2003 box is that I can't get the lightbox to work. When I uncomment the lightbot "local" script references it breaks my tabs on the product detail page and the images open in the browser window rather than the lightbox (lightbox is working like a charm on the XP install that the primary images won't show up on).

I'm wondering if I should focus on the Win Server 2003 test environment for now as this will be more like the final prod config that the site will deploy to. Then focus on the lightbox issue and finalizing payment gateway tests. Your input is greatly appreciated!

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartBroken Image LinksBroken Image Links