Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2012, 03:53 AM
Authorized User
 
Join Date: Dec 2010
Posts: 27
Thanks: 10
Thanked 0 Times in 0 Posts
Default Image Gallery

Hi.
I have been building the Gallery site from chapter 8. Everything works fine, except for one strange thing. When I try to upload an image file, it seems to matter whether the file extension is upper case or not. As an example, file PIX.jpg is uploaded OK whereas file PIX.JPG is not. In the latter case, the image object from
WebImage image = WebImage.GetImageFromRequest();
seems to be null.
Is there a bug in the WebImage helper or am I doing something stupid?
__________________
Regards,
Gudni G. Sigurdsson
 
Old August 2nd, 2012, 02:36 AM
Wrox Author
 
Join Date: Dec 2011
Posts: 57
Thanks: 1
Thanked 19 Times in 19 Posts
Default

There was indeed a bug in the Image helper that resulted in problems when trying to upload files with caps in the extension. See if a more recent package than the version that you have includes the fix.
The Following User Says Thank You to Mike Brind For This Useful Post:
Gudni (August 2nd, 2012)
 
Old August 2nd, 2012, 04:09 AM
Authorized User
 
Join Date: Dec 2010
Posts: 27
Thanks: 10
Thanked 0 Times in 0 Posts
Default Image Gallery

Thank you, Mike.
__________________
Regards,
Gudni G. Sigurdsson





Similar Threads
Thread Thread Starter Forum Replies Last Post
Building an image gallery chefs_corner BOOK: Beginning ASP.NET Web Pages with WebMatrix 1 August 2nd, 2012 02:30 AM
Image Gallery digink BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 May 4th, 2010 08:48 AM
Trying to Create Image Gallery jazzcatone ASP.NET 2.0 Basics 0 September 23rd, 2007 04:06 AM
Image Gallery Help morpheus Javascript How-To 3 February 20th, 2006 07:45 PM
JavaScript Image Gallery welshboy2005 Javascript How-To 0 May 20th, 2005 04:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.