Images Not Showing. Help appreciated.
Hello. I've made an API that loads ImageIcons into some JLabels when they are clicked on. This works perfectly when run in the NetBeans IDE, but for when I run the JAR separately, they will not appear. I've tried putting both the images and JAR in the same folder, as well as creating a src folder in the location of the JAR and having the images in there. I know you can pack images into a JAR but I'm not sure how, or if there is another way were I can simply have the images in the same folder as the JAR. Thanks to anyone who can help.
Here's how I'm loading my images by the way. The first block assigns a string with the image filename to a variable and the second block actually loads it.
public void Generate() {
for(int i = 1; i <= 25; i++) {
if(i <= maxGophers)
imageName = "gopher.jpg";
else if(i <= maxGophers+maxWolves && wolvesJCheckBox.isSelected())
imageName = "wolf.jpg";
else if(i > maxGophers)
imageName = "hole.jpg";
int j = generator.getNextInt(0, 25);
panel[j] = imageName;
} // end for
} // end method Generate
imageIcon = new ImageIcon(panel[0]);
jLabel1.setIcon(imageIcon);
If your images are in a JAR, then the ImageIcon constructors that take a string can not be used. They assume the String is a file path and not a resource inside a JAR.
Do something like this:
URL url = getClass().getResource("animal.jpeg");
Icon icon = new ImageIcon(url);This assumes animal.jpeg is in the same "location" as the current .class file. If your image file has the "absolute" path "/images/animal/jpeg" in your jar you can also write:
URL url = getClass().getResource("/images/animal.jpeg");The coolest thing about code using getResource is that it can work whether or not your images are jarred.
More info: [http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource]
Similar Messages
-
BLOB image not shows in JSP page!!
Hi Dear all,
I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
My as Code follows:
_1. Servlet Config_
<servlet>
<servlet-name>images</servlet-name>
<servlet-class>his.model.ClsImage</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>images</servlet-name>
<url-pattern>/render_images</url-pattern>
</servlet-mapping>
3. class code
package his.model;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ClsImage extends HttpServlet
//private static final Log LOG = LogFactory.getLog(ImageServlet.class);
private static final Log LOG = LogFactory.getLog(ClsImage.class);
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
System.out.println("GET---From servlet============= !!!");
String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
//?IMAGE_NO='P1000000000006'
//TODO: throw exception if mandatory parameter not set
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
ViewObject vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
Map paramMap = request.getParameterMap();
Iterator paramValues = paramMap.values().iterator();
int i=0;
while (paramValues.hasNext())
// Only one value for a parameter is expected.
// TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind
// variable in the query! Maybe use named variables instead.
String[] paramValue = (String[])paramValues.next();
vo.setWhereClauseParam(i, paramValue[0]);
i++;
System.out.println("before run============= !!!");
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
System.out.println("after run============= !!!");
Row product = vo.first();
//System.out.println("============"+(BlobDomain)product.getAttribute(0));
BlobDomain image = null;
// Check if a row has been found
if (product != null)
System.out.println("onside product============= !!!");
// We assume the Blob to be the first a field
image = (BlobDomain) product.getAttribute(0);
//System.out.println("onside run product============= !!!"+image.toString() +"======="+image );
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if ( product.getAttributeCount()> 1 )
mimeType = (String)product.getAttribute(1);
else
//LOG.warn("No row found to get image from !!!");
LOG.warn("No row found to get image from !!!");
return;
System.out.println("Set Image============= !!!");
// Set the content-type. Only images are taken into account
response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[4096];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
//System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
os.close();
// Remove the temporary viewobject
vo.remove();
// Release the appModule
Configuration.releaseRootApplicationModule(am, false);
} 3 . Jsp Tag
<af:image source="/render_images" shortDesc="Item"/> Thanks.
zakir
====
Edited by: Zakir Hossain on Apr 23, 2009 11:19 AMHi here is solution,
later I will put a project for this solution, right now I am really busy with ADF implementation.
core changes is to solve my problem:
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
}All code as below:
Servlet Code*
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
String appModuleName =
"his.model.ModuleAssetMgt";
String appModuleConfig =
"TempModuleAssetMgt";
String imgno = request.getParameter("imgno");
if (imgno == null || imgno.equals(""))
return;
String voQuery =
"select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
String mimeType = "gif";
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName,
appModuleConfig);
am.clearVOCaches("TempView2", true);
ViewObject vo = null;
String s;
vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
Row product = vo.first();
BlobDomain image = null;
// Check if a row has been found
if (product != null) {
// We assume the Blob to be the first a field
image = (BlobDomain)product.getAttribute(0);
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if (product.getAttributeCount() > 1) {
mimeType = (String)product.getAttribute(1);
} else {
LOG.warn("No row found to get image from !!!");
return;
// Set the content-type. Only images are taken into account
response.setContentType("image/" + mimeType);
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
is.close();
os.close();
// Release the appModule
Configuration.releaseRootApplicationModule(am, true);
}Jsp Tag
<h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
height="168" width="224"/> -
Crystal Report Images Not Showing - JSP inside /WEB-INF folder
Hi Experts,
I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
I've checked that the path to the viewer generated HTML is not correct. see code below.
src="../../../crystalreportviewers/js/crviewerinclude.js"
But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
Viewer generated HTML below.
src="crystalreportviewers/js/crviewerinclude.js"
This might be a common problem and that you can share to me your solution.
Note: I removed the script tags because I can't submit this entry.
Thank you in advance,
Regards,
Rulix Batistil
Crystal Report Images Not Showing - JSP inside /WEB-INF folderHi Saravana,
After a few experimentation from your idea i was able to figure out the problem and now it is working.
I don't have to copy the folder to where my jsp resides but still maintains it in the root location: web/crystalreportviewers
The changes should always be in web.xml.
1st: change the crystal_image_uri value to ../crystalreportviewers
2nd: change crystal_image_use_relative value to "web"
Change to "web" instead of webapp because that is what I named my web root folder.
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>../crystalreportviewers</param-value>
</context-param>
<context-param>
<param-name>crystal_image_use_relative</param-name>
<param-value>web</param-value>
</context-param>
Thank you. You showed me the way on how to solve the 3 day problem.
BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
Well, at least for now I can view my initial report. I just need to figure out the next issue and with the help of the great people here in the forum.
Thanks a lot.
Regards,
Rulix
Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM -
Another Images not Showing up thread
I know there are multiple threads out there about images not showing up on the login page of application express, and I have browsed most of them without success.
My images folder is in:
C:\oracle\product\10.1.0\db_1\Apache\Apache\images\
My dads.conf file has specified:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
Address of missing image in I.E. is:
http://<host>:7777/i/htmldb/apex_logo.gif
When I ran @apexins I specified /i/ for the virtual images directory.
I am running Oracle Database 10gR2, with Oracle HTTP Server that came with the Oracle Database 10g Companion CD Release 2.
I am using APEX 3.2.
When I try to go to
http://<host>:7777/i/
I get:
You don't have permission to access /i/ on this server.
I also cannot login to APEX. When I type my username/password and click the Login button, it does nothing (nothing loads, nothing changes... nothing happens). I don't know if this is related?
Thank you,
~TomI found the problem -
In my dads.conf file I had:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
When I really needed:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images/"
Note the end slash after images changed from backslash to forward.
Silly me. -
Images not showing in the jlabel/jbutton
Hello all,
I've a package in which my cards directory is located along with all my src files and compiled classes. All my images ****.gif files are inside this directory.
Then I've following the icon object.
protected static JLabel lblDeck;The following code is used to get the image.
String imgPath;
imgPath = isImageExists("imgBG1.gif");
if (imgPath == "")
{ // If the image of Card Deck(imgDeck) is not Found
lblDeck = new JLabel();
lblDeck.setBackground(new Color(0, 64, 128));
lblDeck.setOpaque(true);
flagImgDeckFound = false;
} else {
// If the image of Card Deck is Found
imgDeck = new ImageIcon(imgPath);
lblDeck = new JLabel(imgDeck);
// Check if the image exists else return "";
protected String isImageExists(String imgName) {
java.net.URL imgURL = getClass().getResource("cards/" + imgName);
if (imgURL != null)
{ return (imgURL.toString()); }
else
JOptionPane.showMessageDialog(null, "File not Found: " + imgURL);
return "";
}I'm still unable to get the image in the jlabel!
When i checked the path, it is exactly returning the path of the file.
But its neither loading the image into the jlabel nor is it returning "".
This is just the label part i've other jbuttons also. Even they are not displaying any images.aLkeshP wrote:
can everyone see this thread?
YES FER-CHRISE-SAKE.
Just how many times do you intend posting the same identical question?
images not showing in the jlabel/jbutton
Problem in imageicon
iconImage on JButton & JLabel
Re: images not showing in the jlabel/jbutton -
I have come across something strange today that I've not seen before. I'm running LR 4.0 under Win7 64-bit. I usually use Photoshop CS6 beta as my external editor, but invoke CS5 when I have to use some tools that don't support the beta. Here is the scenario:
* I have CS5 open
* I externally edit an image in CS5 and Save it from CS5 when I'm done
* The edited image does not show up in LR
* I close LR and reopen it
* There is the edited image!
I have duplicated this many times this evening. I don't think I've seen it when I've used CS6 beta.Something strange is going on because I had the behavior reported of edited image not showing up after using another filter, Nik Silver Efex Pro 2.
-
Images not showing up...Please Help!
I am fairly new to web design. I recently uploaded my dreamweaver site to a hosting site using FTP. I can see all my files through the fill manager, but on the actual site everything is messed up. None of the images are showing up and the layout is completely different from what I designed in dreamweaver.
Any help would be greatly appreciated!
If it helps this is the site:
http://www.tiremanagementinc.com/
Thank you!From what I can tell, none of your images are on the server.
If you're loading your site to server with DW, click on your images folder in the files panel and hit the PUT icon (up arrow).
Also, you have some images in the images folder, and some others in images/images folder.
For best results, try to organize your site in the files panel so that all your images are in a single folder.
C://yoursitename
about.html
contact.html
index.html
-Scripts
jquery.js
-Images
image1.jpg
image2.jpg
image3.jpg
-Styles
main.css
print.css
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Images do not show; help not successful
Images do not load and the Help! suggestions do not solve the problem. I access the Netflix.com website and its .jpg images do not show. Right clicking on image location and selecting "Page Info" reveals that site is allowed to show image and "Media" button actually SHOWS the image in the preview section!
Did you check if any of the images have a check-mark in the box to block images in Tools > Page Info > Media?
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]] -
HELP...images not showing up in internet explorer, but show up in Safari
Somebody please help. My images are showing up fine in Safari
but when I view them with internet explorer they show an x and
won't open. I am using layers and tables. Please help!
Here is my webpage if you need to see code.
http://www.puddlefoot.com/Tees.html
Thanks!Yonion.jpg is in CMYK colorspace, that's why it doesn't
display in most
browsers.
make it an optimized RGB jpeg file.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Help! Images not showing up in any browsers
I'm using Dreamweaver, and I can't get the images to show up
in any browser--Safari, Firefox, or IE. In Dreamweaver, it worked
in Safari, but now when I uploaded it, none. Please help, urgent!!
http://geocities.com/snwboardnchic99/
I know it's probably so simple but I can't figure it out!
Thank you!Quick guess..... you haven't uploaded the images.
btw You have javascript above you DOCTYPE - you need to
remove it.
Jo
"daveygrow" <[email protected]> wrote in
message
news:ef3obs$4rt$[email protected]..
> I'm using Dreamweaver, and I can't get the images to
show up in any
> browser--Safari, Firefox, or IE. In Dreamweaver, it
worked in Safari, but
> now
> when I uploaded it, none. Please help, urgent!!
>
>
http://geocities.com/snwboardnchic99/
>
> I know it's probably so simple but I can't figure it
out!
> Thank you!
> -
Bridge CS6 Output to HTML Gallery - images not showing up
Bridge CS6 Output to HTML Gallery issue - my images are not showing up. The files look the same on the local and remote files. The images populate on the local and not on the remote. Is this a JavaScript problem.
Any help is appreciated.
I've done a work around solution by using Lightroom, creating a quick collection for a custom order HTML web gallery. I would much prefer to stay within Bridge CS6 and have its HTML gallery actually work...Hi AlbiDan,
Its possible that it might be a Javascript issue. I see that javascript is used in the HTML gallery. Did you upload through Bridge or from an FTP client? Do you have the URL for a broken gallery?
-Dave -
Image Not Showing Up: Why?
I replaced an image on a template which appeared on the background (ghosted image on left of screen). I did it by replacing the image in my folder but calling it the same: 'page_background.gif.
In Dreamwever, the image was in a container with code which reads as follows...
.container {
width: 100%;
background-color: #e6e5d7;
background-image: url(images/page_background.gif);
background-repeat: no-repeat;
background-position: 0px bottom
The only thing that I changed on the code was that I made the background-poistion 'top' instead of 'bottom'.
The image is showing in the editor, but not in Live View or when I preview it on a browser, except for Safari. It shows in Safari, but not in Firefox or others. Here's the link...
http://www.editingreel.com/features#
Any help would be appreciated.Though the image which appears in the iTunes Store is referenced in the feed (as you have done) the image which appears in some podcasts when subscribing is not. It has to be actually embedded in the media file, and can be different for each episode if desired.
A method for doing this is described in this page:
http://www.wilmut.webspace.virginmedia.com/notes/coverart.html -
CR for VS SP09 - Embedded images not showing in CrystalReportViewer
Good Morning Everyone,
I am using Visual Studio 2013 as my IDE, I have installed the CR for VS SP09 and have been able to create a basic web form that displays a report. The report I am using has images embedded in it that display fine within my SAP Crystal Reports 2013 application when I run the report from within it. The images also show up when I export from the web form's crystalreportviewer and print just fine. The problem I am having is more related to the web form report viewer as runtime on the page.
The web form pulls up the report, the data is there all looks great but the images are not showing.
I added the following line to my web.config....
"<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>"
but to be honest I do not think the "CrystalImageHandler.aspx exists anywhere on my machine.... am I missing something?
All help is appreciated, thanks!
-ZackInteresting. My files end up in a subfolder of c:\Windows\Temp (I'm using Windows 7 64-bit). I wonder why they're different? You could use ProcMon to see where the files are going.
Here's my web.config file, with some password stuff removed. See if you can spot any differences that might be relevant:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
</sectionGroup>
</sectionGroup>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<sectionGroup name="elmah">
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
</sectionGroup></configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<!-- <add key="ResourceURI" value="~/crystalreportviewers13" />-->
<add key="ResourceURI" value="/crystalreportviewers13" />
<add key="documentView" value="weblayout" />
<add key="EnableTextClipping" value="true" />
</crystalReportViewer>
<rptBuildProvider>
<add embedRptInResource="true" />
</rptBuildProvider>
</crystalReports>
</businessObjects>
<appSettings>
<add key="CrystalImageCleaner-AutoStart" value="true" />
<add key="CrystalImageCleaner-Sleep" value="60000" />
<add key="CrystalImageCleaner-Age" value="120000" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" maxRequestLength="1048576" />
<authentication mode="Forms">
<forms defaultUrl="~/Default.aspx" loginUrl="~/Account/Login.aspx" slidingExpiration="true" timeout="2880"></forms>
</authentication>
<pages>
<namespaces>
<add namespace="System.Web.Optimization" />
<add namespace="Microsoft.AspNet.Identity" />
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
</controls></pages>
<membership>
<providers>
<!--
ASP.NET Membership is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<clear />
</providers>
</membership>
<profile>
<providers>
<!--
ASP.NET Membership Profile is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<clear />
</providers>
</profile>
<roleManager>
<!--
ASP.NET Membership Role is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
-->
<providers>
<clear />
</providers>
</roleManager>
<!--
If you are deploying to a cloud environment that has multiple web server instances,
you should change session state mode from "InProc" to "Custom". In addition,
change the connection string named "DefaultConnection" to connect to an instance
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
-->
<sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="45">
<providers>
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
</providers>
</sessionState>
<httpHandlers>
<!-- Temporarily replacing the CR image handler with our own version -->
<!-- <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />-->
</httpHandlers>
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
<handlers>
<!-- Temporarily replacing the CR image handler with our own version -->
<!-- <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode,runtimeVersion4.0" />-->
<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler*" type="WebReporting.Code.CrystalImageHandler, WebReporting, Version=1.0.0.0, Culture=neutral" preCondition="integratedMode" />
<add name="websiteThemeImageHandler" verb="*" path="images/theme/*/theme.png" type="WebReporting.Code.WebsiteThemeImageHandler, WebReporting, Version=1.0.0.0, Culture=neutral" preCondition="managedHandler" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="FormsAuthenticationModule" />
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" /><add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" /><add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" /></modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.AspNet.Identity.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v11.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<elmah>
<!--
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
more information on remote access and securing ELMAH.
-->
<security allowRemoteAccess="true" />
</elmah>
<!-- NOTE: This section REALLY IS being used! VS or ReSharper might tell you it isn't,
because nothing matches the path "elmah.axd", but it actually IS being used,
and is CRITICAL TO SECURITY, so don't remove it!! -->
<location path="elmah.axd" inheritInChildApplications="false">
<system.web>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
</httpHandlers>
<authorization>
<allow roles="DebugLogViewer" />
<deny users="*" />
</authorization>
</system.web>
<system.webServer>
<handlers>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
</handlers>
</system.webServer>
</location>
</configuration> -
Dynamic Images not showing on BOXIR3 with SP2 (Linux redhat installation)
Hi Guys,
We recently upgraded our BOXI R2 installation to BOXIR3 with SP2 (Linux redhat platform), and we noticed that all our reports icons/logos have just disappeared.
What we are trying to do is just to load an image in an OLE Object, the image is referenced by an URL (that is passed through as a parameter).
We built a very simple testReport.rpt with an OLE Object that has an image URL in it, still it doen't work.
Notes:
1 The CrystalReport 2008 where the simple test report is built shows the icon/iamge correctly. However.
2- CMC and InfoVIew do not show the image.
3- What I just noticed today is that when I go to CMC/folders/folderxyz//testReport.rpt double click go to Default Settings/Thumbnail the image is there (if I tick Show report thumbnail).
Any help would be very appreciated (I am just stack).
Best Regards
Khalef Bessaihmoved to BOE forums
-
Bkacground/CSS images not showing
Since earlier this month I have been having problems with DW.
I'm sure it's something I did since I'm sort of new to this but
here it goes. I'm using DW MX by the way.
I run a small diecast site and DW has always been my editing
program and its worked fine until now. My site uses CSS and usually
DW would load all the necessary image files like the menus,
background images and icons, etc. My actual diecast photos and a
few of the menu buttons are hosted at Imageshack and most of them
display correctly in DW, but everything thats on the server hosted
by Byethost doesn't show. It also doesn't correctly display the
layout of the CSS I chose, but rather it looks like a plain
unorganized page. I thought the problem might have been that DW
doesn't actually display the images from the server, but rather
from the local disk instead. The local folder these files were in
might have been moved to somewhere else on th disk? I have tried
everything I could think of but nothing has worked. Any help is
very much appreciated!
Justin> DW won't display any content that is not available
locally.
Sure will - it handles images, css, js, and applets with
external links.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Nick Barling" <[email protected]> wrote in
message
news:[email protected]...
> This sounds like a file/folder management problem. DW
won't display any
> content that is not available locally. To see content
that is only
> available
> at the server you need to view your page from within a
browser.
>
> If you have content stored locally and it is not visible
then you need to
> check the file path to each piece of content that is not
showing. Check
> that
> you are using document - relative links and not root
relative links.
> Check the
> location and content of your local folders; they should
not have moved on
> your
> local disk unless you moved them. As it is unlikely that
you moved the
> file
> locations without knowing it I suspect the problem is
one of relative
> paths.
>
> Look at your local file structure in the DW site local
view and then check
> your remote view file structure, you may find the
problem there.
>
> The CSS style sheet, which I assume is an external style
sheet attached
> the
> your html page will only be visible locally if you have
linked it
> correctly to
> the html page it is styling. View the page locally and
check that the CSS
> style sheet is linked/referenced corectly in the file
structure. If your
> page
> shows CSS styling when viewed locally but does not show
remotely, ie when
> viewed in a browser via the url address with the page
served from the
> server,
> then check that you have uploaded the CSS style sheet to
the correct
> location.
> -
Images not showing (dreamweaver)
Hi, I don't know if this question is in the right location as I am new to this. But in dreamweaver CS6 the images show up fine in design and live view. But once it is published the images don't show. All of the images are in the root folder in the right place. My website is lukecoburn.co.uk any help would be appreciated.
Hi --
I am having a similar problem...except my images are NOT showing up within Dreamweaver CS5 but ARE showing up in my browser. I am a very beginner at DW so forgive my ignorance. I am bothered that i can't see a couple images (my logo) in my main header in Dreamweaver...and then another image in my header3 and have to upload the stuff to see them. What could I have done wrong, please? It's kind of crazy, isn't it? I hope the code I've provided is helpful. Thanks in advance for anyone that responds.
here's my code in my main file where my logo doesn't show up:
main header:
<!-- header begins -->
<div id="header">
<div id="logo">
<h3><a href="#" id="metamorph"
>Thumbs-Free™ Grips for Mobile Devices</a> </h3>
<blockquote>
<blockquote>
</blockquote>
</blockquote>
<br />
(etc...with other stuff...and then)
</div>
<!-- header ends -->
css code:
#bg {
background: url(images/LH-GYG-Logo-GLOW-2013.png) left top no-repeat;
width: 1000px;
Here's my header3 stuff in the main file where my banner doesn't show up:
<div class="header3">
<div class="items">
<div class="item">
<div class="header3"></div>
</div> <!-- item -->
</div> <!-- items -->
<div class="cont_top"></div>
</div>
And here's my css related code:
.header3
width: 870px; height: 229px;
background: url(images/Fall-Back-To-School-Special-2013b.jpg) no-repeat;
Maybe you are looking for
-
Ok I too, like many others here, am new to the Mac (thanks to Apple's I'm a Mac, I'm a PC ads that my wife couldn't get enough of). I have done some searching around and I see that there are quite a few iMovie workflow questions out there. I have not
-
SOAP Adapter: Channel started but inactive
Our system is XI 3.0 running on Solaris 10 zoning and Oracle 9i. All on Support Package 17. When consulting the status of the adapter in the RWB environment we are receiving the message above "Channel started but inactive". How can We solve this prob
-
Aperture 3.01 / Activity Processing 281 of 4024 Items freeze
Hello, after upgrading to 3.01 the Aperture activity monitor always showing / Activity Processing 281 of 4024 Items but is is somehow frozen. I tied so far all library items I could manually select and process. Like this way I did not find the troubl
-
Hi OK, first, I will describe my problem. Since some weeks I am using a very new macbook Pro with the latest software updates (os x 10.7.3 lion). I was very impressed about the working comfort and how every single detail was working (it was my first
-
Hi all, Just come back to UK after 4 weeks away and my iPhone will not return to my home network but keeps displaying tmobile Hungary. When going into carrier settings I have changed it to o2 UK and automatic selection but still it displays t mobile