Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pre-Compiler complains about orig size of JPG file
Message
General information
Forum:
ASP.NET
Category:
Web forms
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01471948
Message ID:
01471976
Views:
52
>I know how to control the size of my image (JPEG file), which is a cover to a book. It works great in HTML,
>however I get a complaint in ASP.NET. I can get it to shrink to the size I want, but the pre-compiler
>complains that the JPEG file isn't the original size. I can ignore this but will it goof up in any way later?
>

No, but it's basically telling you the right way to do this is to resize the image to the same height/width in a graphics program (don't rely on the browser to do this for you). The browser may not do as nice of a job resizing as a graphics app and you're making the user download more info than is needed. BTW - the size is supposed to be an integer, ex. the ,5 a is meaningless pixel size.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform