Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pre-Compiler complains about orig size of JPG file
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
01471948
Message ID:
01472011
Vues:
46
I was hoping to not have to resize the photo, but it looks like it is the best way to go. The declaration of the size in HTML works just fine within standard HTML, but it isn't really the best way to go in .NET.

Thanks!

>>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. By the way - the size is supposed to be an integer, ex. the ,5 a is meaningless pixel size.
>-Paul
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform