Image in LinkToUrl

Hi everybody,
i cannot show my image (*.jpg or *.tif) within a LinkToUrl-UI. At design time i can see the image in my web dynpro UI, but after i deploy it to the Application Server i get no image. What could be the problem?
I put the image under the following location in my Web Dynpro Project:
/src/mimes/components/comp/
regards,
Sid

Hi Sid,
After storing  the image files in the Mime Repository in directory <DC name>/src/mimes/Components/<component name>, in order to refer to the Mime Repository, select the property in question in webdynpro iview, choose Browse and then ComponentImageu2026 i n the Properties  window. The directory for the Mime Repository will open, and you can choose the image file.
This all need to be done.
Regards,
Sen

Similar Messages

  • LinkToURL with image rollover

    Hi
    I need to create an LinkToUrl object with image rollover.
    It's possible? If isn't possible there is another way to have a similar effect?
    Thanks to all
    Andrea

    Hi,
       Access the below link which shows you the entire attribute of LinkToUrl functionality.
    http://help.sap.com/saphelp_nw04/helpdata/en/c5/dc99f5d1b1504aa0045a7070a0f500/frameset.htm
    Hope it helps.
    Regards,
    Guru.
    P.S :- Close the thread if your problem is solved and consider to reward points.

  • Problem with LinkToURL in a table column

    Hi,
    let's say we have a LinkToURL element with a text and an image. Then a click on the text OR a click on the image navigates to the given URL.
    This behaviour changes if you put the LinkToURL element in a table column. In that case the link is executed only if you click on the text, nothing happens if you click on the image (I assume this is a bug, of have I missed a detail?). If you have a LinkToURL element without a text and with an image only, this becomes a problem.
    One column of my table contains a single image, and a click on that image shall open a link. Is there another way to do this except using a LinkToURL element?
    Thanks,
    Karsten

    Hi Valery,
    yes, this hint is exactly what I needed. I just changed the LinkToURL to a LinkToAction, and this can be activated by clicking the text OR the image.
    The necessary coding in the action handler would then look like this:
    WDWindow wnd = wdComponentAPI.getWindowManager()
         .createExternalWindow("http://www.sap.com",
         "SAP Global", false);
    wnd.open();
    Thank you very much,
    Karsten

  • Enabling Save for file download or linktoURL

    Hi,
    I have a file in a server path(which is little bit large and extension type is custom). I want to enable the user to save the file onto his local disk. I can use either linktoURL or FileDown Load for this. When I checked FileDownload, I cant enable save in Netweaver2004, mine is SP16. when it comes to the linktoURL, I am giving path name as reference.
    So, How can I achieve this?.
    Thanks,
    Raj.

    Hi
    See this Thread
    Re: Handling dynamically generated Images
    Kind Regards
    Mukesh

  • Open PDF-File (with LinkToURL or what?) !

    Hello@all,
    I have a PDF-File, which I have stored in my project like a image
    (->src->mimes->Components->com.sap.....Comp--->Help.pdf
    In the View of this Component I want to have a LinkToURL or something else to open the PDF file with adobe.
    Can someone help me for this?
    Best regards
    Marcus

    Hi,
       You can alternatively open Pdf using the following logic
    String pdfLink = <Your Link>
    FileInputStream fileIn = new FileInputStream(pdfLink);
    int lastIndex = pdfLink.lastIndexOf(Constants.PATH_SEP);
    String saveFileName = pdfLink.substring(lastIndex);
    IWDResource resource = WDResourceFactory.createCachedResource(fileIn, saveFileName,WDWebResourceType.PDF,true);
    String url = resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,saveFileName).show();
    Hope this helps.

  • Image with a Link to an URL

    Hi,
    I have an easy question. I would like to have a little question mark-image on my view. And this image has an link to an url. So I would like to push this image, and a new browser-window opens.
    I only found the Layout-element "LinkToUrl". But with this element I don't have an image.
    How does it works in Webdynpro? In HTML it is very easy...

    Hi,
    Change the layout to grid type and then scroll down. You will find "layout[GridLayout]" set col count here to the number equal to total number of buttons + 2.
    Then click on link and in the properties scroll down and set col span = 2.
    and hAlign = right.
    this will do the required.
    and the flowdata is coming in your container's properties because this container is also present in one of the transparent container which is having layout as flow layout.
    Regards,
    Sarbjeet.

  • Unable to display text with image in a cell of web dynpro table.

    Hello,
    I am unable to display an image with the text inside a cell of web dynpro table. The image doesn't come at all. I am trying to display the image of an object and the object description alongside within the same cell.
    Thanks and Regards,
    Abhijnan

    Hi
    Pls check the below link
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm
    The only problem is only the below UI elements are supported
    ■Button
    ■ToggleButton
    ■LinkToUrl
    ■LinkToAction
    ■FileDownload

  • LinkToURL in table

    Hi
    I have a linkToURL in a table Col. It works fine, when clicked it opens a new window navigating to the correct link. The problem I have is that the selected row in the table is not updated e.g. If there are 5 rows in a table, Col 1 is a text col, Col 2 contains the linktoURL. if I click on row 1 col1, the row is highlighted as selected. if I click on the image, row 2, col2 then the link is opened but the row 2 is not highlighted as selected - the onLeadSelect Event is not triggered. Any suggestions how to display this row as highlighted.
    ThanksAndrzej

    Hi,
    To change the leadSelection on click of the link, Follow the below procedure
    Use LinkToAction instead of LinkToURL
    Add a parameter of node element (currentUploadDataElement if UploadData is your node name) to the event handler
    Do the parameter mapping for the LinkToAction UI element so that whenever link is clicked, the element (row) from which link is clicked is passed as parameter to the event handler
    From the node element parameter of the event handler get the index of the row from which link is clicked and set the leadSelection to this index as
    wdContext.nodeUploadData().setLeadSelection(currentUploadDataElement.index()-1);
    This will solve your problem
    Regards,
    Amol

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Can you show at a glance which event images are in albums?

    Say I had an event containing multiple similar but different images, is there a way to show in the grid view for example which images have already been used in one or more albums?
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box. I guess you could hide images you've used but that wouldn't work automatically, nor would any other tagging/rating.
    Another approach would be to make albums containing everything in a given event, then move the images out of that album once used, just seems fiddly to me.
    AC

    AC
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box.
    Yes it would and many people have suggested tit. Add your voice to the chorus at iPhoto Menu -> Provide Apple Feedback.
    A workaround - and it's no better - is to go to an album and select al, then give all those pics a keyword. Then in grid view you can see which pics have the keyword. (View -> Keywords)
    Regards
    TD

  • Error while attaching a image in forms10g envion..

    hi
    i am getting this error while attaching a image in forms 10g enviornment.
    ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http :// 10.80.50.222:7778/forms90/webutil/jacob.dll
    regards
    Geo.

    did you install jacob ? with the correct version number described in the installation-guides.
    jacob is not an oracle tool, which normally is only useful for COM-commands against windows.
    What did you do with the image?

  • System Image Restore in Window 8.1

    I have not been able to find a data migration application that works at cloning a Windows 8.1 hard drive to a new SSD.  With that in mind I want to go about moving the contents, data and operating system from my working C: to a new SSD.  I want
    to go about it as if I have backed up my system, my C: drive has failed so I need to install a new drive and restore my data and operating system to the new drive.  I can't seem to find any simple (this should be simple) straight forward way to do this
    nor can I find any form of written instruction on how to go about this. 
    I would love to have someone articulate this.  As it stands I have a fully operational intact C drive.  I have completed a disk image to a second separate hard drive.  I now want to restore that content to a third (SSD ) drive.
    Where do I begin? 

    There is a system backup tool called System Image Backup, follow these steps to conduct this:
    Swipe in from the right edge of the screen, and then tap Search.
    (If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)
    Enter File History in the search box, tap or click File History, and then click System Image Backup at the left part.
    See the screenshot as below, you can backup it on local machine or a DVD or a network share folder:
    Besides, I need to point out that this backup method will generate a vhd file, if you want to restore the system you need an DVD installation midia.
    You cannot just restore a vhd file directly to the hard drive.
    regards
    v-yamliu

  • Adobe Photoshop CS2 opening an image in middle of CS opening screen?

    Can anyone please help me with a way of opening images in CS2 where after opening they will appear in the middle
    of the CS screen rather then in the top left corner?
    I can drag and maximize so they appear in the middle, but on reopening another image they default to the top left again, I would like them to always
    open in the middle?
    Thanks

    Still having problems?  I was struggling to find any documentation for CS2 online, but realised that my bookshelf goes back to Photoshop 6, and I have Martin Evening's Photoshop for Photographers CS2.  Unfortunately, I could see nothing in any of the Preferences tabs that would help.
    At this stage I don't really know what you have tried?  You should try to reset your workspace, and if that does nothing, reset your preferences.  The usual way to do that is to hold down Shift Alt Ctrl while opening Photoshop, but I don't know for sure that worked with CS2.
    Bernie Ecclestone would only need a tiny exec jet, unless he wanted to take his wife along. ;-)
    CC is Creative Cloud, and Tabs are those things you see along the top of the screen in your web browser when you have more than one page open.
    Tauranga is on the North Island, but is very nice and has great beaches (if they have got the oil off)  I live in rural Marlborough right in the middle of the prime grape growing area.  Try Google with Rapaura.  I'm a few hundred metres south of the school.

  • Image Processor Tab Missing in New Adobe Bridge CC 2014

    In the new Bridge CC you used to have a TAB under tools called Photoshop which you could run the script Image Processor for easily processing jpegs. What has happened to this and is their maybe a new way of processing jpegs to lo-res that I dont know about from tiff or jpeg or does my bridge have a problem?
    I have attached a image grab from my bridge that shows that the tab is not there. I know that you can access image processor directly from Photoshop, but they used to always be linked.

    No, it is still in Bridge CC.
    Did you uninstall Photoshop CC after installing Photoshop CC 2014? If so, that may have removed some of the Bridge integration scripts by mistake. Re-installing Photoshop CC 2014 should replace the scripts.
    and it should give the image processor tab back

  • Problem with Adobe BRIDGE getting Photoshop/Image Processor menu

    When I open my drop-down or fly-out menu under TOOLS in Bridge (CS3 version), the entire portion of the menu which is supposed to appear next underneath the Cache line option is missing (i.e., Photoshop, Illustrator, InDesign, Start Meeting..., Photoshop services).
    What gives?
    I'm trying to get to Image Processor under the Photoshop menu option (which is supposed to appear in the Tools drop-down menu).
    Please tell me what's wrong. Thanks in advance.

    Thanks, but there IS no Photoshop subheading in my Tools menu.
    That exactly describes the problem I'm having!

Maybe you are looking for

  • Can I connect more than one Macbook to the same Apple TV?

    As per the title. My friend and I live together and want to connect our seperate Macbooks to the same Apple TV. Is this possible? If so, how?

  • After 2.0 Upgrade original iPhone WiFi unstable and not connecting

    I upgraded my original iPhone (8GB) to OS 2.0. I had some issues getting it upgraded with "problems accessing the iTunes Store" but once thoese resolved seemed ok. Even bought and synced Super Monkeyball. I now notice that in my home where I have two

  • InDesign crashes, when printing and PDF messes up my Typefaces, why?

    Hi, I bought a new Mac pro laptop, Os X Version 10.9.2 I loaded up my Adobe Creative Suite 4 Design Premium. I know it's old, but all worked just fine until I tried to create a pdf from InDesign. The typeface, only partly, appears as squares on pdf.

  • What to teach for architecture, product and portrait imaging?

    Hi All, knowing how to work in photoshop is one thing, but passing knowledge on to others is another. I recently enrolled in a school for graphic arts, and totally unplanned I have to jump in for a colleague that is no longer available. I have to tea

  • Lightroom/Bridge/InDesign

    I have been urging a friend of mine to switch over to Lightroom, as an alternative to Bridge/Photoshop, as he's currently doing. He's open to the change but has asked me a good question that I can't answer. He does a lot of work with InDesign and he