Cannot display MIME type image in omniportlet

I added an omniportlet to one of my pages and I display a list of documents that the users can download.
I would like to add a column that displays an icon for the type of file (e.g a pdf icon for a .pdf file).
When I configure my omniportlet and select the Layout tab, in the column field, I can choose MIME_TYPE to display the type of document (e.g. application/pdf) but I cannot display a pdf icon. If I display MIME_TYPE as an image, the link to the image is actually src="application/pdf"
Does anyone has any idea?
Thanks a lot in advance

Hi,
Thanks for your reply.
I was able to display a link pointing to the file directly and my question to you is: is there any way to display the list of files in a particular folder?
Thanks in advance.
-Rama

Similar Messages

  • Safari cannot display Fireworks swap images

    I am running OSX 10.8.2
    I am using Firworks CS 6
    I use Safari 6.0.1
    I am using Firfox for the Mac 18.0.1
    Firefox 18.0 for the PC
    The url in question is http://petemccabe.com
    There are two swap behavior button on the page. They are identical except the lower one displays in all the browers abod except Safari.
    I the other browsers, both image swap over bars display.
    Is there a javascript or a line of HTML code I can insert in the header to fix this problem?
    Thanks for the help.

    Try to reset all network.http prefs on the <b>about:config</b> page to the default values if you've ever made any changes.
    Type <b>about:config</b> in the location (address) bar to open the <i>about:config</i> page and press the "<i>Enter</i>" key, just like you type the URL of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access the about:config page.<br />
    *Use the Search bar at the top of the about:config page to locate preferences more easily
    *Preferences that have been modified show as bold (user set)
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    *Preferences can be created via the right-click context menu: New -> String, Integer, Boolean
    *http://kb.mozillazine.org/about:config
    If that didn't help then try to reset all preferences.
    *http://kb.mozillazine.org/Resetting_preferences

  • No object DCH for MIME type images/jpeg

    what is the solution to this problem?

    Thank you for your response!!!
    I already found the solution. For those who still having problem send e-mail, make sure to put mail.jar and activation.jar in the same location.
    Also, make sure to check catalina.xml to make sure those jars are same location!!!->That what I found out.
    ->I put jars in same location of my eclipse project but it turns out, the tomcat app server didn't put them in same location.
    Anyway, Thank you java_2006 for your response!!!!!
    :)

  • How do I configure WL6.1 to download svg Mime Types?

    I am trying to not only display an svg object on my screen, but also have full access to its SVGDocument object via Javascript in the pages that contain the embedded svg object. It works perfectly when I open it in a browser directly, but not from Weblogic.
              I can even serve it up on Weblogic, save the results of my JSPs as html, and open it from the file system and the code works fine.
              It's as if Weblogic is not protraying the embedded svg as a valid object with an object model.
              I have tried the following:
              1) I changed my .svg file to a .jsp and added the following line to try and force the browser to recognize it:
              <%@ page contentType="image/svg xml"%>
              2) I configured the svg mime type directly on the console.
              3) I also made sure that my WEB-INF/web.xml looked like this:
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <mime-mapping>
              <extension>svg</extension>
              <mime-type>image/svg xml</mime-type>
              </mime-mapping>
              <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              </welcome-file-list>
              </web-app>
              Any ideas? Thanks so much!
              

    I've noticed this too. The issue seems to be that it considers space in and around your server tags significant. The best way to cut down on the space is to group your server tags and code closer together. Or course, this sacrifices a bit of code readability. You can either try to strike a balance between readability and white space, or try writing a small app that adds and removes unneeded whitespace from your jsp. That way you could pass the file through your formatter before posting it to yoru server and pass it back through to read it.
              

  • Problem with opening Archivelink document because of wrong MIME type

    In transaction OAD2 we have a document type FAX which is currently connected to MIME-type application/pdf. This works fine for opening documents having document class FAX and are actuallty a PDF. However, in the past this document type FAX has also been used to store documents, which refer to a MIME type 'image/tiff'.
    When opening FAX-documents that are actually a PDF-file, this currently works fine. When  trying to view these FAX-documents that are actually a TIFF-file, it won't be shown in e.g. SAP Document Viewer, because the extention is unknown. You you have to save the file locally in order to be able to see it.
    Is there a solution to look to the actual document type when opening a document via ArchiveLink, instead of looking to the ArchiveLink document type?
    Thanks for any input in this one!
    Regards,
    Joost

    I've been looking at the file, and it is indeed a puzzlement.
    There is some good news, however. I don't know why it is happening (perhaps a bug, and maybe John would like to take a look at this, too), but it looks like the Paper-filled rectangle from Hinweise layer on the right of Master Ee is being copied to the left half of the actual document spreads on random layers. The pages that seem to be blank are easy to spot in the Page panel (22, 24, 26 & 32) and you can simply Cmd-Shift click on the rectangles on those pages to override and your text and graphics will be revealed. I'm not immediately picking up any other problems scanning quickly through the pages. For a quick and dirty get it done solution, I think this will work, though I would use the .inx file rather than the .indd for the conversion in CS5.5.
    I've looked through the file history, and it is long. This started out in 2007 in CS2 and has gone through updates in CS3 and CS4, and been recovered from crashes at least 4 times (which might have something to do with the strangeness). I also think there are a lot of extraneous unused frames on many of the pages. If it were my project, I'd probably clean it up as much as possible in CS4, even going as far as recreating the master pages in a new document and then going page by page and doing a copy/paste in place of all non-master objects into the new file if you don't want to spend the time to place everythign again from scratch, which in my opinion would be a better idea (I tried moving the pages to a new file, but that didn't make any difference in the CS5.5 conversion). You could also rebuild from Scratch in CS5.5.

  • Safari doesn't display an object with MIME type video/mp4

    So, I've got a little hiccup here. I put together a CV in html with samples you can click to bring up. Now, I don't make any claims to professional geekdom, but I try to be fairly html savvy, and since I'm sending this to the college IT guys, I want to do it right. So I'd like this thing to use valid w3c compliant html. Not too tough, fix some missing quotes and learn how to use the object tag instead of embed. Done.
    Well, here's the problem. I loaded it into Safari for testing, and a Quicktime file won't play. Now, it runs fine on Firefox. The obtuse and awkwardly lumped in IE version of the object works fine (tested in IE6, Win2K virtual machine). And the same file ran fine when I had it using an embed tag. Now it just brings up the Quicktime emblem, takes up the specified amount of space, and doesn't do anything.
    What did I do wrong? I've got the latest Quicktime and Safari, and I know it's standards compliant. Do I have to feed it some more specific type for an h.264 encoded mp4?
    Here's the code I used. The embed tag is the one that works, the object tag is the compliant one that doesn't. I'm guessing I'm missing a parameter or something. Any advice?
    <embed scale="1" src="files/Sabres.mp4" pluginspage="http://www.apple.com/quicktime/download/" autoplay="FALSE" volume="100" cache="TRUE" height="496" width="640">
    <object type="video/mp4" data="files/Sabres.mp4" height="496" width="640">
    <param name="controller" value="true">
    <param name="autoplay" value="false">
    Your browser cannot display this content. Click here to download it.
    </object>

    Tom and Kirk, thanks for your time. That would work, but since <embed> is a non-standard tag, I want to avoid it.
    Andy, I actually stopped by that site last night, and I did use it for the object code.
    My problem is that for some reason, what looks like a legitimate implementation of <object> isn't displaying in Safari. I know Firefox is a bit more forgiving of sloppy code, so I don't blame Safari for that one. I know Safari can display the file because it displayed it properly when I called it with embed. I'm just not sure what's wrong with the code that's making Safari not bring up the video. It knows it's Quicktime and loads the file, I know that, because it brings up the emblem and starts hoarding RAM when I bring it up in Safari, but it just holds there. I've tried a couple MIME types, including video/quicktime and video/mp4, both worked in Firefox, and video/h264 just as a shot in the dark, and both Safari and Firefox showed the alternate content.
    By the way, here's the full code I used to display the object, using Castro's cloaking technique for IE compatibility. I omitted it earlier because when I isolated the non-IE section alone in the body of the document it behaved the same as it did with the cloaking (working in FF, broken in Safari).
    <!--[if IE]>
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="496" width="640">
    <param name="src" value="files/Sabres.mp4" >
    <param name="controller" value="true">
    <param name="autoplay" value="false">
    </object>
    <![endif]-->
    <!--[if !IE]> <!-->
    <object type="video/mp4" data="files/Sabres.mp4" height="496" width="640">
    <param name="controller" value="true">
    <param name="autoplay" value="false">
    Your browser cannot display this content. Click here to download it.
    </object>
    <!--<![endif]-->
    Message was edited by: The Spine

  • I cannot display image (read from oracle BLOB field) on browser?

    I cannot display image (read from oracle BLOB field) on browser?
    Following is my code, someone can give me an advise?
    content.htm:
    <html>
    <h1>this is a test .</h1>
    <hr>
    <img  src="showcontent.jsp">
    </html>showcontent.jsp:
    <%@ page import="com.stsc.util.*" %>
    <%@ include file="/html/base.jsp" %>
    <% 
         STDataSet data = new STDataSet();
    //get blob field from database     
         String sql = "SELECT NR FROM ZWTAB WHERE BZH='liqf004' AND ZJH='001'";
         //get the result from database
         ResultSet rs = data.getResult(sql,dbBase);
         if (rs!=null && rs.next()) {
              Blob myBlob = rs.getBlob("NR");
              response.setContentType("image/jpeg");//
              byte[] ba = myBlob.getBytes(1, (int)myBlob.length());
              response.getOutputStream().write(ba);
              response.getOutputStream().flush();
         // close your result set, statement
         data.close();     
    %>

    Don't use jsp for that, use servlet. because the jsp engine will send a blank lines to outPutStream corresponding to <%@ ...> tags and other contents included in your /html/base.jsp file before sending the image. The result will not be treated as a valid image by the browser.
    To test this, type directly showcontent.jsp on your browser, and view it source.
    regards

  • Error message "This program cannot display the webpage when uploading images to Cafe Press

    I have had a Café Press shop for five years and except for sometimes being slow, no problems uploading images. Now, suddenly for 3 days I get the message "This program cannot display the webpage
    Most likely causes:
    • You are not connected to the Internet.
    • The website is encountering problems.
    • There might be a typing error in the address.
    What you can try:
    Check your Internet connection. Try visiting another website to make sure you are connected.
    Retype the address."
    I got the messsage about half way through the uploading of an image. People suggested using "firefox" instead of IE so I now get a similar error message from Firefox. I signed in, clicked on the image I wanted to upload and hit "upload" and get message as follows:
    Server not found
    Firefox can't find the server at members.cafepress.com.
    * Check the address for typing errors such as
    ww.example.com instead of
    [url=http://www.example.com]www.example.com[/url]
    * If you are unable to load any pages, check your computer's network connection.
    * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    None of this makes sense because I WAS connected to the internet (obviously) or I wouldn't have been able to sign in, go to my media basket, browse for the image and click "upload" and watch as the progress bar showed percentage of upload such as 20%, etc. and even went to 100% at times before giving me the error message. Plus I couldn't make a typing error since I wasn't typing anything but uploading an image. Any suggestions?
    Whatever your suggestion, I need step by step instructions as I am totally computer illiterate. I don't even know what a "proxy" is and don't know if I have a "firewall" as the message suggests. I have "Comodo" security and am using Windows XP.
    I contacted CP which was no help at all. All they did was tell me to clear my cache which I do after every session. Thanks
    Nancy
    http://www.cafepress.com/calendarflr

    Sounds like your desktop application is in fact running from
    a server. CHMs were identified as a security risk by Microsoft and
    are best suited to the user's PC.
    Click
    here for more information.

  • Image size and mime type.. non-java guy needs help

    Image size, mime type.. non-java guy needs help
    Im not at all familiar with java so this is really weird for me to work out. I?ve been doing it all day (and half of yesterday).
    Im trying to write a custom clodFusion tag in java that gets the width, height, size and MIME types of a given file. I?ve been trying to get it to work on the command line first. I can get the width and height but cant get the size and the MIME type.
    Here is what I got
    /*import com.allaire.cfx.*;*/
    import java.awt.image.renderable.*;
    import javax.media.jai.*;
    import com.sun.media.jai.codec.*;
    import java.io.*;
    import java.util.*;
    public class ImageInfo {
    private RenderedOp image = null;
    private RenderedOp result = null;
    private int height = 0;
    private int width = 0;
    private String type = "";
    private String size = "";
    public void loadf(String file) throws IOException
    file = "80by80.jpg";
    FileSeekableStream fss = new FileSeekableStream(file);
    image = JAI.create("stream", fss);
    height = image.getHeight();
    width = image.getWidth();
    System.out.println(height + "\n");
    System.out.println(width);
    System.out.println(type);
    public static void main(String[] args) throws IOException {
    ImageInfo test = new ImageInfo();
    test.loadf(args[0]);
    can anyone please help me out to modify the above so I can also print the mime type and the file size to screen.
    thanks for any help

    any suggestions?

  • Safari cannot find the Internet plug-in (MIME type...x-shockwave-flash)

    Well, YouTube and other flash sites worked fine just until today. So I get this message :
    +The page “YouTube - Meet Single File” has content of MIME type “application/x-shockwave-flash”. Because you don’t have a plug-in installed for this MIME type, this content can’t be displayed.+
    I've already tried Disk Repair to repair the permissions, installed, re-installed Flash Player and Shockwave Player and nothing yet. System preferences with QuickTime Advanced Panel to enable flash and the other miscelaneous one I unchecked, the normal procedure, I guess. Also checked the libraries to see if I didn't have the plugin in two libraries, but i'm not sure about the library/plugin issue.
    Any help is much appreciated.
    Best Regards,
    Kinetick

    I actually don't get any error message at all. The Q is greyed out and a large ? in center of it and nothing works in Safari. I get the same non-message wherever I go that has QT. I have tried some of the fixes that have worked for other people but nothing works so far. I tossed the webplugin into the trash and restarted Safari. I repaired permissions. I looked at the plug-ins list in help but that was only confusing since I don't have a clue what any of those control. Getting frustrated and have spent a couple of hours trying to fix this.

  • I cannot display google image/sometimes facebook image too using safari 6

    I cannot display google image/sometimes facebook image too using safari 6. please help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Application designer issue - Cannot display image preview

    Hi guys,
    When I attempt to use an image icon as the label for a pushbutton,
    I receive this message in App Designer:
    "Cannot display image preview.
    The ImgDisplay ActiveX control may not be properly registered. Use the
    Install Workstation functionality of Configuration Manager to register this control"
    Anyone has the same experience on it ?
    Thanks in advance.

    What OS is your workstation running on?
    Which PeopleTools version are you running?
    Are your an administrator on the workstation?
    Did you try Install Workstation from Configuration Manager as stated in the error?

  • Cannot display remote images in HTML messages

    Hi all.
    This has been a problem since Tiger for me and ironically, is affecting me on two macs (although I sync the two together, so whatever the problem is, I'm guessing it's been copied to both locations). Here's the deal:
    I cannot display images in my messages. If I click the checkbox (under viewing in mail prefs) "display remote images in HTML messages" I get the same behavior as if it is unchecked. I've tried checking and unchecking to no avail. My guess is a corrupted preference file, but I don't know which one. If I delete my mail prefs, will I need to do anything with regards to my mailboxes etc? I have over 3GB of offline mail, all filed away into hundreds of folders and do NOT want to mess with that.
    Any suggestions are most appreciated. I'd love to see my images again without clicking on the "load images" button for EVERY email.
    Thanks,
    Rob

    I can't believe there's no answer for this at Apple Support! (I looked.) On my MacBook with Leopard (10.5.6 and Mail 3.5) the problem is fairly recent - I only noticed it a few days ago. Unchecking and rechecking the Display remote images in HTML messages does not work, and neither does restarting the computer (I rarely do, preferring to put it to sleep.) Before I removed the plist I thought I'd check here first, having the same reasons for reluctance as xrob - and a good thing I did, too. I'd hate to have the same (bad) experience as someone who already tried it. The only thing I can think that I changed recently was to add SSL support to (all) my accounts. Could that be the culprit? I guess not. I removed "use SSL" on one of the accounts but it changed nothing, except for the port number. I closed and re-opened Mail but did not restart the computer. And, where do you find the "load images" button?

  • VGS-1003: Cannot display image

    Hi All,
    I've JPG images with small size (3 KB TO 5 KB) stored in BLOB database field in a report.
    some of images are shown successfully but others give this error:
    VGS-1003: Cannot display image
    I make horizontal and vertical elasticity to contract and make an PL/SQL on the field:
    IF :ID is not null -- a field in the same group indicates the image is found.
      return true;
    else
      return false;
    end if;
    exception
      when no_data_found then return null;
    but this does not solve the problem. Why this error occurred for some images only and how to solve?
    Note: I'm using Oracle DB 11g R2, Reports 6i

    Hi
    Even I had some problem in displaing the Images which is located somewhere in the defined path of server. I am using Forms 10g.
    I have tried with .BMP file and it worked out.
    I am using the following code in In-New-Form_Instance
    READ_IMAGE_FILE(:GLOBAL.Image_Path ||'test.bmp', 'BMP', 'IMG_TEST');
    Regards
    JC

  • Cannot display image

    My Thunderbird version is 31.0. when I receive some email that contain images from my colleague, these images cannot display. but when I copy or move the message to one of my local folders, images can display.
    who can explain this phenomenon for me ?

    Hi coryewhite! In order for our Subject Matter Experts to properly asses your problem, they will need to know a little more about your situation! If you can please respond with the model of your camera and the operating system of your computer (Windows XP/Vista/7/8 or Mac OS 10.x), we’ll be glad to have someone look into it further for you. Thank you!

Maybe you are looking for

  • Raid mode very slow/ crashing after installing driver (Z68A-GD65 (G3))

    I recently purchased a Z68A-GD65 (G3) motherboard, i5-2500K, 8 gb ram, and a Crucial 64GB 4m SSD drive. The intention was to use the SSD drive for Intel Smart Response Tech. Instructions tell me to place the SATA ports in RAID mode, which I did. Duri

  • Windows Installer Doesn't Recognize BOOT CAMP Partition

    Hello, I need help and cannot find the answer anywhere on the Internet. I created a 15 gig Windows partition through boot camp successfully. My macbook restarted to run windows installer and I got through all of the screens except where it asks which

  • Multiple OUs with GPOs - One OU with multiple GPOs and security - One OU with one GPO and item level targeting

    Background... We have around 30 locations and we need to deliver different GPOs to these locations. There can be between 3 and 8 PCs in each location. These PCs can move around at short notice (mainly as a backup with neighbouring locations should PC

  • Messages and scrollbar

    Hi, In my requirement, Im sending the some table info to the class and receiving the same tables with changes and also messages. Now I'm working on 2sets of tables, one for sending and other for recieiving. I'm invalidating the node and binding the n

  • Can't set fsb clock (k7t266 pro )

    Hi there, I hope someone of you gurus is able and wanting to shed some light on my problem: I replaced the duron 700 on my k7t266 pro with a xp2000+ (palomino). When I want to change the fsb clock in the bios I can't. It stays 100Mhz I upgraded the b