How to include images in my app

hi all.
I'm using Apex 2.1 over XE.
I'm sorry but i can't find any thread related to how to include images in my app.
I've uploaded several trough shared componentes / files / images, but don't know how to use it, for example, in an HTML region, as header of the page.
Thanks a lot for your help.
Fernando

Hi,
I have used four different ways to display images in my applications depending on which method is the fastest to refresh.
1. Under Application Attributes > Edit Standard Attributes > Substitutions enter your substitution string (MY_IMAGE_URL) and substitution value(http://somewhere/img)
and then in the region or template use the following syntax &MY_IMAGE_URL. in your html tags eg. img src="&MY_IMAGE_URL./banner.png" width="x" height="x">)
I have found this the best for image refresh speed, especially if the image is already cached.
2. Load your image up into Apex and don't associate it with any application and use the following tag img src="#WORKSPACE_IMAGES#banner.png" width="x" height="x" alt="">
Good for development as all images not associated to an application are available.
3. Load your image up into Apex and associate it with an application and use the following tag img src="#APP_IMAGES#banner.png" width="x" height="x" alt="">
This can be a pain during development when your application numbers continually change.
4. Use standard http address <img src="http://somewhere/banner.png" width="x" height="x">
Ben
Message was edited by:
Benton

Similar Messages

  • How to include images into a servlet

    Hi guys,
    I found out that I can't include both the "setContentType("image/gif")" and the "setContentType("text/html")" in a servlet. I've tried different methods, but I can't get it right.
    Could anyone tell how to do that...?
    Thanks...

    I beg your pardon? You want to send text and image in the same response? Can't be done. If you go and look at pretty much any HTML page on the web you will see how to include images in HTML.

  • How to include images in your swf?

    I am making a website with flash builder. The images i need, i have to upload to the server and have to load everytime you click on a menu button. That takes time and is very bad for my limited banthwidth (or something). So, i want to know how i can include images in the swf, so they just have to load one time.
    Thanks, Evert.

    Have you looked into embedded images?
    This might help: http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html

  • How to include images in HTML email

    Hi,
    from Oracle DB, using UTL_SMTP I am sending emails to customers, it works OK but my problem is that include images do not show when email is open (show typical box with a 'X' in it) , Is there any option to do it??? in HTML? in UTL_SMTP.
    Others options?
    Thanksin advance.

    Hello,
    I would invite you to post this question on the PL/SQL.
    I know that it is not directly answering your question but could be interested for the community, here an article of how to do such think in Javamail
    Regards
    Tugdual Grall

  • How to include image file in ard

    Dear members,
    I have to include one more menu next to reports menu in sap B1. I need to include the picture symbol.
    Can anybody inform me how to include the image file while making the add-on.Normally we include the exe file and dll files.Is there any specific methods to include the image.Please kindly let me know.
    Regards,
    Venkatesh.R

    in srf attached image button.
    and write code
    Dim img As SAPbouiCOM.PictureBox
                    img = oForm.Items.Item("14").Specific
                    SPath = CurDir() '.Remove(Len(CurDir) - 3, 3)
                    img.Picture = (spath & "\Avijit.bmp")
    Spath is nothing butthe location where u put all files .
    regards,
    Avijit

  • How to include  images in BAM reports

    Hi all,
    In Oracle 11g BAM , i can see some already existing Demo reports, i the Active Studio.
    in that demo reports i can see a report called SLA Violation.Here in this SLA Vioaltion report there is Updating Orderded list within the list they are showing some images .
    can some one help me how to add images like that..? or tell me the steps..
    i tried creating the similar updating ordered list in my sample report and gave the image links gived in that demo report
    " _switch({Process Due Soon SLA}) case(true):(<span style='width: 8px'><img src='../Images/TradeSubmitted.png'/></span><span style='padding-left: 4px;vertical-align:top;'>Submitted</span>) default( <span style='width: 8px'><img src='../Images/TradeFine.png'/></span><span style='padding-left: 4px;vertical-align:top;'>Fine</span>")_but in the updated ordering list instead of the image im getting entries like this " ):(<span style='width: 8px'><img src='../Images/TradeSubmitted.png'/></span><span style='padding"
    Any suggestions on this is Really appreciated..
    TIA,
    Karthik
    Edited by: karthik !! on 20 Jun, 2011 7:28 AM

    Hi,
    I have used four different ways to display images in my applications depending on which method is the fastest to refresh.
    1. Under Application Attributes > Edit Standard Attributes > Substitutions enter your substitution string (MY_IMAGE_URL) and substitution value(http://somewhere/img)
    and then in the region or template use the following syntax &MY_IMAGE_URL. in your html tags eg. img src="&MY_IMAGE_URL./banner.png" width="x" height="x">)
    I have found this the best for image refresh speed, especially if the image is already cached.
    2. Load your image up into Apex and don't associate it with any application and use the following tag img src="#WORKSPACE_IMAGES#banner.png" width="x" height="x" alt="">
    Good for development as all images not associated to an application are available.
    3. Load your image up into Apex and associate it with an application and use the following tag img src="#APP_IMAGES#banner.png" width="x" height="x" alt="">
    This can be a pain during development when your application numbers continually change.
    4. Use standard http address <img src="http://somewhere/banner.png" width="x" height="x">
    Ben
    Message was edited by:
    Benton

  • How to include images in HTML emails

    Hi,
    from Oracle DB, using UTL_SMTP I am sending emails to customers, it works OK but my problem is that include images do not show when email is open (show typical box with a 'X' in it) , Is there any option to do it??? in HTML? in UTL_SMTP.
    Others options?
    Thanksin advance.

    Tom Kyte's site suggests a solution for this on :
    http://asktom.oracle.com/pls/ask/f?p=4950:9:18134091167212544557::NO:9:F4950_P9_DISPLAYID:255615160805
    Thanks,
    Rashmi

  • Suggestion on how to include image and text in epub export

    I have 12 images like the one below that are included in a book designed for print in ID but also exporting to an epub. I built the image in Photoshop because it needed a stroke and the stroke doesn't export from ID (?). Originally I build the entire image in PS with text. That exports fine.It is anchored inline.  But the text is a bit blurry. So I tried just using the image+stroke from PS and then creating a text box in ID inside the image. Then the text and image separated when exported to epub. Any suggestions on how to do this effectively?
    Mark

    I would suggest just keeping the text when you export to epub and then building a div border to create the box around the text.

  • How to include image or html dynamically in a JSP?

    I need to show the uploaded content in a jsp. It could be either a image or html file. How can i include these images or html files dynamically without affecting screen design.

    What the heck is 'screen design'? You mean the page layout?
    You could show in a popup div; JQuery will be your best bet for a prebuilt function to do that. But you'd need to put the uploaded file in a place where the browser can fetch it through an URL, or you need to create a servlet that can load and return the data to the browser.

  • How to include image in dynamic .pdf CF8

    What is the proper way to include an image in a dynamic .pdf?
    In CF7, I did this.
    <img src="file://///xxxDocServer/HiRes
    Photos#Biography.File_Path#" width="119" height="153" />

    Hello,
    Someone maybe able to help you here https://discussions.apple.com/community/books
    Good luck

  • How to include images/icons for a jar file

    Hi,
    I need to create a jar file which will contain my application. My source code (.java) files are in "app" folder. I compiled that using javac -d . *.java and one package("appl") was created. I have all icons and images related to my application are in the folder named "icons" in the directory where source files are located i.e; app folder - "app/icons". I am accessing the images in the icons directory as "icons/book.gif".
    I created a jar file from source file directory with the option
    jar cvf app.jar app
    and i added this jar file to my classpath also.
    I have created a batch file to execute this application and set that batch file to "path" environment variable.
    It is running from any directory but no icons are appearing in that application if i try to run the application out side the "app" folder.
    Can any body give suggessions to solve this problem?

    Thanks for the added info, now let's get started.
    To use files in jars, you need to refer to them via a URL, so you'll need to modify your code a little bit first.
    URL imgURL = ClassLoader.getSystemResource("icons/BOOK.gif");
    setIconImage(Toolkit.getDefaultToolkit().getImage(imgURL));Next, you'll need a manifest. Using any text editor such as notepad, create a file called manifest.txt and put two lines in it. The first line will specify the class (w/o .class on the end) that contains your public static void main method, the second line is just an empty line (just press return).
    Main-Class: main
    (a blank line)
    Save this file with your class files (e.g. in Exam folder).
    Next build your jar. We want the jar to contain the package folder and your icon folder as well. So use this:
    jar cmf Exam/manifest.txt myJar.jar Exam/*.class icons
    And you should now have an executable jar. You can run it from dos with:
    java -jar myJar.jar
    or you can double-click it from windows.
    -Ron

  • How to include Image from RSS grab by Project Siena

    hi 
    i recently tried to create a RSS reader app using Project Siena but i found out that it doesnt grab photos/images together..im using wordpress blog rss. Is it possible to add any extra code like encoded: in the Source Code... because im currently doing for
    other website..

    Hi Myh,
    Building off StonyArc's suggestion, what you would need to do is add the RSS Feed as a REST data source. Assuming you leverage the following RSS Feed in REST https://en.blog.wordpress.com/feed/ via
    the "Configure a connection" option and the added data source name is
    feed. You would then need to the following:
    1) Drop an "Image Gallery with Caption" and set its 'Items'
    property to feed!channel!item as this contains all the items from the feed.
    2) Edit the Gallery template and set the Image control within the gallery to
    'media:thumbnail'!'$attributes'!url
    This should now bring up the image per post. Note that all posts, do not have images, therefore some items within the gallery will be blank.
    Hope this helps. Thanks.

  • How to include images on a jar file with WSDD

    Hello there!
    I�m using WSDD 5.7 and I�ve created a build with the "Device Developer Builds" tool to generate a jar file. My project contains a package with images inside, the problem is that everytime I generate the jar file it does not contain that package. Any idea?
    cheers!

    I�m using WSDD 5.7 and I�ve created a build with the
    "Device Developer Builds" tool to generate a jar
    file. My project contains a package with images
    inside, the problem is that everytime I generate the
    jar file it does not contain that package. Any idea?I had the same problem and found a workaorund. See my thread in the WSDD forum for details:
    http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13774631&cat=9&thread=102493&treeDisplayType=threadmode1&forum=277#13774631

  • How to include SCOM R2 agent in server image (or vmware template)

    Can anybody tell me how to include the SCOM R2 agent in our Windows images/templates?   For the SCCM client, it is as simple as stopping the service on the reference machine, deleting the cert, and capturing.   I can find no good answer on the Internets on whether the SCOM agent has some sort of unique ID that doesn't like being "duplicated".
    Any help would be appreciated.  (I'd rather NOT include scripted tasks or steps that install the agent AFTER an image is deployed).  
    My RMS is configured to auto-accept agent registrations.

    Hi, I'm looking to do the same.  I created a template with the agent installed; however, I still left the server (W2012 R2) in 'workgroup'.  When loading and configuring the agent, I didn't get any error message since the raw server can communicate
    with the management server nor have I received a 'pending approval' on the mgmt server.
    I like the idea of having this pre-configured and ensuring SCOM properly detects and monitors new server additions since checklists are not followed. 
    Thanks.
    Stanley E. Noel Jr

  • How do I remove images from Notes app?

    How do I remove images from Notes app?
    I sometimes find that, when cutting and pasting text from the web, an image is also copied (pretty much at all times I try and avoid this, but sometimes the selection process doesn't allow for fine enough control - e.g. a whole block of content may be selected, rather than just the few words I'm trying to copy).
    I then find, once it's part of my note, that I cannot select the unwanted image and remove it. Can anyone tell me if this is something that can be done, and if so... how?
    Thanks, Sebastain

    Hi Drew & Kilgore*
    Thanks for your replies. I also have and use Simplenote, although I went off it for a while, when it started crashing all the time on me. It seems to be more stable again now, so I'll start using it more regularly again, perhaps.
    I am, obviously, disappointed that one can't simply select ANY object within a Notes document and choose to delete it. As I rather suspected, the only solution is an annoying workaround. Apple stuff seems to get more like this as time goes by. At least in my experience.
    I solved the issue my own way in the end, but I guess it was close to your 1st idea DR, and your 2nd option, KT: I basically cut and pasted everything above, and then everything below, the image, and pasted both chunks of text into a new note. So it took two passes, and left me with the original note just displaying the image, which I then trashed.
    Tapping to the right of the image followed by deletion was what I hoped & expected would work. But instead the image stayed put and the text below the cursor would simply slide along the right hand side, moving upwards as I deleted! Most bizarre, to my mind at least.
    Anyway thanks for the feedback. But, for anyone else that might want to know how to do this, the answer is: NO, you can't select and delete an image once it's in one of your notes!
    * I quite recently watched the rather strange Bruce Willis / Nick Nolte 'Breakfast of Champions' movie... I think I still prefer the book to the film!

Maybe you are looking for

  • Can't export song files in Hydrogen drum program

    Well; I'm having audio problems again, so today I added my user into the audio group with: su usermod -a -G audio wordstrings which eliminates the "permission denied issue" Then went: [wordstrings@DTR-Arch-Linux ~]$ hydrogen Hydrogen 0.9.5.1 [May 5 2

  • Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element ex

    Hello I am new to XML and I have written an XML Data template from scratch (not from .rdf). It's a very basic sql statement that returns 4 pieces of data to print on file folder labels. The results look great in Template preview mode. However, when I

  • Max multiplier supported

    I have an MSI MS-6334 (815M Pro) M/B with a Celeron 366.Currently my BIOS shows that the highest Multiplier Setting supported by it is 8.But in the CPU support page of my M/B in the MSI website shows that my M/B can support upto PIII 1G (10x100 Mhz.)

  • Changing "server error"  message name

    Hello, when I call a soap request and there is a mapping failiure or some invalid data entered by the user, the user gets a response back as "server error". Can this "server error" be changed to something else and I can tell him "incorrect mapping/in

  • How to repeat a table etc.

    Hello, I would like to know if there is any way in BI Publisher to repeat a table for a given number of times in the layout. The only information i got is the variable that tells me how many times i should repeat that table. IF conditional formatting