|
I have an application (VB.Net2) which takes an image (JPEG) file and resizes it.
I have tested this application by putting it into a local version of my website (which also contains local copy of my image library) hosted on my PC. The images shown on the web pages are crisp and clear.
But when I put this same version of the website (including image library) onto my remote webserver, the images shown on the served web pages are markedly pixallated (even in areas that are normally flat colour). I have downloaed the images from the image library to check them on my PC and they are fine.
Why should the website produce crsip/clear images when hosted locally yet grainy/pixallated images when hosted on a remote web server?
Thanks in anticipation.
Chris
|
|
|
|
|
Greetings,
I'm looking for some information on how to display images in ASP.
My criteria is to use drop down menues on the webpage which will be the paramaters
for a sql stored procedure.
The thing I really can't find is, how to store the image on a file location, but have
the "link" to the photo in the sql table.
Example: I have two drop down menus. A user might pick "family" from the first drop down,
and "vacations" from the second. When they hit an ok button, it would run the sql stored
procedure with the parmaters family & vacatons. The result would be the page showing all photos
that satisfy the query (but the photos are not in sql server, but at a file location).
Any help would be greatly appreciated,
Sean
|
|
|
|
|
Have you even tried to search for anything? This is such an easy task, there are enormous amounts of info available for loading images from a path.
only two letters away from being an asset
|
|
|
|
|
in a javascript file containing is at below
var iWebAlbumPhotos = [{"caption": "e9fc5e5f477945b488cbb350794906cf", "url": "e6f6d95f3ceb49c99f7ced49b758c487.jpg", "comment": "ff"},{"caption": "2f8f1552240f4f70976f252d4c5e71cc", "url": "90f03060782f492f978f54f482be864b.jpg", "comment": "ffff"}];
how can i populate this at runtime in aspx page?
|
|
|
|
|
Lookup System.Web.Script.Serialization.JavaScriptConverter. I've only used it with WebServices, but there might be a way to hook into it for your aspx page.
|
|
|
|
|
hi
I am dynamically adding javascript controls and their events on the page.
That is working properly. But there is a cross browser issues –
Like my page working properly on the IE-6 and Mozill but not working in IE-7.0
So please tell me how to solve this issue.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
there are issues which you will face. I would suggest to check the browser of user and then add javascript controls accordingly, as each browser has different architecture. Also i dont suggest adding javascript controls as they will not work if user has got javascript disabled on his browser,
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi
I ahve a .asmx file which contains the code for my cascading dropdown
I have copied it from one project to another
Do I need to add any code anywhere else e..g webconfig to enable this file
any help would be great!!
thanks
|
|
|
|
|
if u have the code in a seperate file u will have to copy that file as well from app-code directory to the corresponding directory in the new project
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
if the control needs to be used in more than one project your better off writing it as a server control rather than a user control.
only two letters away from being an asset
|
|
|
|
|
asmx extension is for webservices not for user controls
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Oops, you're right. Too many damn extensions and acronyms
only two letters away from being an asset
|
|
|
|
|
I have got the asmx file in the same location as the file that references it
So I have two projects with two asmx files in them, when I run the file its (.asmx) the xml works and displays the right data but when I run it in the cascading dropdownlist it doesnt display anything
But I can see it working in the other project
Anyone got any ideas?
I'm totally stuck!
|
|
|
|
|
The webservice doesn't need to be in each project. Use the SOA model and put the webservice in a central location so both projects, plus any others, can call it.
The service is only returning data which you are binding to a dropdown list correct?
only two letters away from being an asset
|
|
|
|
|
Yeh basically the top level of the dropdownlist should display some data from the database. I can see it working in project 1, I can see it working in the xml of project 2, but it wont display in the cascading drop down, am I missing something? Why would it work when I visit the asmx file but not when I run the file with the cdd in it?what would be the reason for this?
thanks for thehelp
|
|
|
|
|
totally stuck, I'm looking at the same 3 pages of code in 2 different apps and they are doing two different things, what is going on? any help would be much apprecited, do i need to change a webconfig file, the master file, Im just totally stumped as to what this problem is
|
|
|
|
|
a-+s-+p-+ wrote: Im just totally stumped as to what this problem is
Well so are we since we haven't seen the same three pages of code that have been staring at.
Isolate the problem. Move the WebService out of each project and into one its own. Test it. Once its working, reference it in the other projects and go from there. Things you shouldn't need to be told if you're a professional developer.
only two letters away from being an asset
|
|
|
|
|
thanks for the great answer.
Believe or not I have run the web service seperatly and it works.
You are def not a professional with answers like that.
What I was wondering is if I have to set or start the web service seperatly for each project
Maybe I should wait for a post from someone who will give me a useful answer..
|
|
|
|
|
|
Do debuggers not work in some parts of the world?
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
a-+s-+p-+ wrote: You are def not a professional with answers like that.
Why, because he needs to tell you how to debug a project? You have got to be kidding...
a-+s-+p-+ wrote: Maybe I should wait for a post from someone who will give me a useful answer..
Good luck getting after that
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
|
Hi,
I need to get web.config values from the membership tag. I have a couple of custom values defined in this tag to the already defined values. Please can someone help me?
Regards,
Brendan
|
|
|
|
|
Do this
ConfigurationSettings.GetConfig("CustomSettingsName")("keyname")
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
It's not working. I have the following piece of code in my web.config:
<configuration>
<system.web>
<membership>
<providers>
<minRequiredUpperAlphaCharacters="1" />
</providers>
</membership>
</system.web>
</configuration>
I have added a couple of my own properties of which I need to retrieve the values. How do I do this? I currently tried but it did not work:
IDictionary sampleTable = (IDictionary)ConfigurationSettings.GetConfig("system.web")("membership");
Please can someone help?
Thanks
Brendan
|
|
|
|