Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Image display in web
Started by Shankar at 05-21-2008 2:26. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  05-21-2008, 2:26
Shankar is not online. Last active: 7/17/2008 1:02:55 PM Shankar

Not Ranked
Joined on 05-05-2008
Posts 6
Image display in web
Reply Quote
I am able to display jpeg images in web application using ImageViewer control, but unable to display tif images. can anybody help me in this regard. Following is the code snippet. I am using LeadTools 15








Untitled Page





function fn_click()
{
ImageViewer1.SetImageUrl("UploadedFiles/RMFHY03/MFSHYD080801661.TIF");
ImageViewer1.SetImageSize(new ltwfSize(500, 500));
ImageViewer1.Apply();
}




<div>



</div>



   Report 
  05-21-2008, 8:54
Adnan Ismail is not online. Last active: 8/14/2008 1:40:07 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,124
Re: Image display in web
Reply Quote
Do you get any error message when you try to load TIFF images? Are you adding reference in your project to the required codecs DLLs to load the TIFF images?
Also, did you try to use our new WebImageViewer?

Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-22-2008, 1:28
Shankar is not online. Last active: 7/17/2008 1:02:55 PM Shankar

Not Ranked
Joined on 05-05-2008
Posts 6
Re: Image display in web
Reply Quote
I am not getting any error. I am getting the viewer without the image. I have added reference to required dlls. When I try with WebImageViewer control I am getting a java script error: ImageViewerSizeMode is undefined while loading the page. I have included WebImageViewer.js, WebThumbnailViewer.js, Utilities.js in my application
   Report 
  05-22-2008, 9:47
Adnan Ismail is not online. Last active: 8/14/2008 1:40:07 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,124
Re: Image display in web
Reply Quote
Are you able to display the images if you run our WebFormsDemo demo sample?
The sample is located here:
LEADTOOLS 15\Examples\DotNet\CS\WebFormsDemo

Also, please see the help topic "Updating Web Controls Manually" for information on how to work with our web demos.
If the sample loads the images, please try to isolate your problem in a small test project (not your full application) and send it to me with a sample TIFF file you try to load. If you want to send the sample with the file, please put it in a ZIP or RAR file.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-29-2008, 2:04
Shankar is not online. Last active: 7/17/2008 1:02:55 PM Shankar

Not Ranked
Joined on 05-05-2008
Posts 6
Re: Image display in web

Attachment: ImgDisplayTif.zip
Reply Quote
Still I am getting problem. Please look into the attached sample application and suggest me the solution
   Report 
Post
LEAD Support Fo... » General » Example Request... » Re: Image display in web

Powered by Community Server, by Telligent Systems