Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\ui_upload_img_ref.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Referencing Images</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:30Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Referencing Images" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="ui.htm" title="Controlling Page Layout" type="text/html" /> <link rel="up" href="ui_upload_img.htm" title="Managing Images" type="text/html" /> <link rel="up" href="ui_upload_img_ref.htm" title="Referencing Images" type="text/html" /> <link rel="prev" href="ui_upload_images.htm" title="Previous" type="text/html" /> <link rel="next" href="ui_upload_img_edit.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="ui.htm" title="Controlling Page Layout">Controlling Page Layout</a> > <a href="ui_upload_img.htm" title="Managing Images">Managing Images</a> > Referencing Images</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="ui_upload_images.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="ui_upload_img_edit.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABGEDDF" name="BABGEDDF"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25583" id="HTMDB25583"></a>Referencing <a id="sthref1531" name="sthref1531"></a><a id="sthref1532" name="sthref1532"></a><a id="sthref1533" name="sthref1533"></a><a id="sthref1534" name="sthref1534"></a>Images</h1> <p>You can reference images in your application by referencing the substitution string <code>#IMAGE_PREFIX#</code> or including a fully qualified URL to the image.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="ui_upload_images.htm#CBBEFHEG">"Uploading Images"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> <a id="sthref1535" name="sthref1535"></a> <p class="subhead2">Topics:</p> <ul> <li> <p><a href="#CBBHFGII">Verifying the Prefix for the Virtual Image Directory</a></p> </li> <li> <p><a href="#CBBGDEFC">Referencing an Image Using #IMAGE_PREFIX#</a></p> </li> <li> <p><a href="#CBBHGJCH">Referencing Images Using a Fully Qualified URL</a></p> </li> </ul> <a id="CBBHFGII" name="CBBHFGII"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25584" id="HTMDB25584"></a>Verifying the Prefix for the Virtual Image Directory</h2> <p>When you install Application Builder, the installer creates a virtual directory for images. This virtual directory points to the actual path on the file system that contains uploaded images. By default, you reference this virtual directory using the prefix:</p> <pre xml:space="preserve" class="oac_no_warn"> /i/ </pre> <p>When you first create an application, you must verify this prefix on the Edit Definition page.</p> <p>To verify the Image Prefix for an application:</p> <ol> <li> <p>On the Workspace home page, click the <span class="bold">Application Builder</span> icon.</p> </li> <li> <p>Select an application.</p> </li> <li> <p>On the Application home page, click <span class="bold">Shared Components</span>.</p> </li> <li> <p>Under Application, select <span class="bold">Definition</span>.</p> </li> <li> <p>When the Edit Application Definition page appears, locate the Image Prefix field.</p> <p>By default, this attribute is defined as <code>/i/</code>. Contact your administrator for information about the name of this virtual directory for your installation.</p> </li> </ol> </div> <!-- class="sect3" --> <a id="CBBGDEFC" name="CBBGDEFC"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25585" id="HTMDB25585"></a>Referencing an Image Using #IMAGE_PREFIX#</h2> <p>When you embed an image in static text (for example, in page headers, region headers, or footers), you can reference the image using the substitution string <code>#IMAGE_PREFIX#</code>. For example, to reference the image <code>go.gif</code>, you would use the following syntax:</p> <pre xml:space="preserve" class="oac_no_warn"> <img src="#IMAGE_PREFIX#go.gif"> </pre> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="concept_sub_strings.htm#BEIIBAJD">"About Built-in Substitution Strings"</a>, <a href="concept_sub_strings.htm#BEIGJJBG">"IMAGE_PREFIX"</a>, <a href="concept_sub_strings.htm#BEIDCGAJ">"APP_IMAGES"</a>, and <a href="concept_sub_strings.htm#BEICEJEA">"WORKSPACE_IMAGES"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --> <a id="CBBHGJCH" name="CBBHGJCH"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25586" id="HTMDB25586"></a>Referencing Images Using a Fully Qualified URL</h2> <p>Alternatively, you can also reference an image using a fully qualified URL. For example:</p> <pre xml:space="preserve" class="oac_no_warn"> <img src="http://g-images.amazon.com/images/G/01/associates/navbar2000/logo-no-border(1).gif"> </pre></div> <!-- class="sect3" --></div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="ui_upload_images.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="ui_upload_img_edit.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de