Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2008

Tip: Looking for answers? Try searching our database.

gif image shows jpg image does not

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Abel - 17 Jul 2008 18:15 GMT
I am puzzeled as to why one image type will show in the browser when the
report is viewed and the other type (jpg) will not.
I have both image files in the same folder as the report.  When I view the
report with te gif image and select the properties for the image I get all
the infomationsuch as type = GIF location etc.  When I use the jpg image I
get a red x box and no values show for the image when right clicked and the
properties option is selected.

Any ideas of why this may be?

Thanks,
Steve MunLeeuw - 17 Jul 2008 19:02 GMT
I don't think you have the MIMEType property set on the image control.  If
you are pulling the image from the database, you may need to use an
expression to set it accordingly.

Thanks,
Steve MunLeeuw
Jim Abel - 17 Jul 2008 19:50 GMT
Thanks Steve, here is a bit more clarification the file is coming from a file
within the same folder as the rdl file. and I if I understand your image type
statement, In the Report designer, in the propery window view, In the Data
item the MIMEtype property = image/jpeg the source property = External and
the value =  the ftile name.

when this is changed to the gif file the inage type is blank, I tried that
with the jpg file and it still did not display

> I don't think you have the MIMEType property set on the image control.  If
> you are pulling the image from the database, you may need to use an
> expression to set it accordingly.
>
> Thanks,
> Steve MunLeeuw
Jim Abel - 17 Jul 2008 20:55 GMT
Some additional information.  We I uploaded the files to a diiferent server
and the jpg images displayed as expected.
Could this be related  to something server specific like IIS settings?

> I am puzzeled as to why one image type will show in the browser when the
> report is viewed and the other type (jpg) will not.
[quoted text clipped - 7 lines]
>
> Thanks,
Steve MunLeeuw - 17 Jul 2008 21:35 GMT
Are the .jpg and .gif files in the same location, it sounds like a path
issue on the server.  There should be an error message in the RS log for
failure to render the image.

Thanks,
Steve MunLeeuw
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.