Show image in or possibly out suggest

Hi everybody,
I guess that since nobody answered my previous post that
maybe it's was to long to solve or to complex for a forum solution.
My other solution to my problem would be to show an image
selected in the "dropdown" from my autosuggest instantly.
I tried to show thumbnails in the menu as show in the example
but it loads all my picture (2400 right now)
I would like to choose a pic in my menu and the picture to
show on a separate layer in my page
i show you my code:
<div id="productSampleContains" class="container">
Entrez quelques lettres du produit
recherch&eacute;.<br />
<form method="get" action="phponlyworking.php">
<input type="text" id="blahblahblah" />
<div id="productMenuContains"
spry:region="dsProducts5">
<div spry:repeat="dsProducts5"
spry:suggest="{name}">{name}</div>
</div>
</form>
</div>
<script type="text/javascript">
var as5 = new
Spry.Widget.AutoSuggest("productSampleContains",
"productMenuContains", "dsProducts5", 'name', {containsString:
true,hoverSuggestClass:'highlight',minCharsType: 4});
</script>
And for my XML
<?php
$hostname_conn = "localhost";
$database_conn = "pubs_gm";
$username_conn = "root";
$password_conn = "";
$conn = mysql_pconnect($hostname_conn, $username_conn,
$password_conn) or trigger_error(mysql_error(),E_USER_ERROR);
?>
<?php
// Query the database and get all the records from the Images
table
mysql_select_db($database_conn, $conn);
$query_rsImages = "SELECT
`nom_image`,`ID_image`,`fichier_image`FROM tbl_images";
$rsImages = mysql_query($query_rsImages, $conn) or
die(mysql_error());
$row_rsImages = mysql_fetch_assoc($rsImages);
$totalRows_rsImages = mysql_num_rows($rsImages);
// Send the headers
header('Content-type: text/xml');
header('Pragma: public');
header('Cache-control: private');
header('Expires: -1');
?><?php echo('<?xml version="1.0"
encoding="iso-8859-1"?>'); ?>
<products>
<?php if ($totalRows_rsImages > 0) { // Show if
recordset not empty ?>
<?php do { ?>
<product>
<category><?php echo $row_rsImages['ID_image'];
?></category>
<name><?php echo $row_rsImages['nom_image'];
?></name>
<boximage><?php echo
$row_rsImages['fichier_image']; ?></boximage>
</product>
<?php } while ($row_rsImages =
mysql_fetch_assoc($rsImages)); ?>
<?php } // Show if recordset not empty ?>
</products>
<?php
mysql_free_result($rsImages);
?>
thanks for any help...have a nice week

Hi Deep,
An image type UDF only stores the image name in the database. When you add an image, the SBO client takes a copy of the image file and puts it in the Pictures folder (as defined in General Settings). Therefore, to use dynamic images in Crystal you will need to do the following:
1) Create a formula in Crystal that combines the image name from the UDF field and the path to the Pictures folder to create the full path to the image (note: your Pictures folder must use a UNC or mapped drive path rather than a local path). It's easiest just to hardcode the path to the Pictures folder in the report but you'll have to bear in mind that this setting is company database specific. If you want to be able to run the report for multiple SBO databases then you may need to use a formula to change the path (you could add the OADM table to the report but there is no suitable join between this table and other tables in the database. The report would work because there is only ever 1 record in OADM but it's not good report design).
2) Once you have your formula you can add a add a picture to the body of the report (at this point you should select a default image)
3) Right-click the picture on the layout and choose Format Graphic.
4) Select the Picture tab and click on the formula button to the right of the Graphic Location property
5) In the formula window set the return value to the formula you created in step 1.
6) At this point your image will dynamically change based on the UDF value. You may want to set a formula in the Suppress property of the image so that the default image is hidden if the UDF field is blank for a particular record.
Kind Regards,
Owen

Similar Messages

  • Realignment showing multilevel error propagation carried out and

    While executing realignment table it is showing  following :-
    Realignment showing multilevel error propagation carried out
    Realignment of live cache time series aborted
    Have seen all consistency checks and everything is fine no alerts received.
    Please suggest
    vikas

    Hi Vikas,
    I am assuming that you have maintained the Realignment table properly meaning you have only the necessary entries and removed all unwanted entries. Having assumed that the other reason why this error can come up is when you try to realign more than 1 Characteristic Value in the same table entry.
    For Example.
    Let us you have 3 Characterstics viz, product, location,customer.
    If for Product P1, you are trying to change the location from L1 to L2 and customer from C1 to C2 then there is a possibility such an error might occure.
    In such cases we need to create 2 entries as follows
    1) P1 L1 C1 to P1 L2 C1
    2) P1 L2 C1 to P1 L2 C2.
    It is better to avoid Multiple characteristic changes in a single step.
    Hope this helps.
    Thanks
    Mani

  • Apache: showing images in ascending order by name

    hi:
    i have several detail pages where i show images contained in
    a folder:
    $folder = dir($path);
    while ($folderEntry = $folder->read()){
    if ($folderEntry <> "." && $folderEntry
    <> ".." &&
    substr($folderEntry, -6, 2) <> "00") {
    echo '<li><img src="'.$path.$folderEntry.'"
    /></li>';
    $folder->close();
    in the local server they appear in the way i want, in
    ascending order by
    name (img_01.jpg, img_02.jpg, img_03.jpg, ...) but in the
    remote server
    they appear in, apparently, random order
    i activated FancyIndexing in the httpd.conf file but it
    doesn't solved
    the problem:
    # Directives controlling the display of server-generated
    directory
    listings.
    # FancyIndexing is whether you want fancy directory indexing
    or
    standard
    IndexOptions FancyIndexing
    # End of indexing directives.
    i know i can store the filenames names in an array an sort it
    but i
    prefer to control it in the server
    local (OS X 10.4.10)
    Apache/1.3.33 (Darwin) PHP/5.1.6
    remote (Red Hat Linux 2.6.9-34.ELsmp)
    Apache/2.0.52
    tia,
    jdoe

    Templeton's suggestion is best if needing help with Microsoft Entourage. Since I know the answer is "not possible" I can at least steer you toward an AppleScript that will give you a workaround. Have a look here <http://www.barryw.net/weblog/files/category-5.html>.
    Further questions about this script should be directed either to its author or to Microsoft's Entourage newsgroup <http://groups.google.com/group/microsoft.public.mac.office.entourage>.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.9)  

  • Help........Show image from database

    Hi,
    I am stuck at one point. I have to show image stored in the database on the browser. I am able to fetch the image and show it after storing it in one .gif file. But what I want it is : I don't want to store the fetched image in to a .gif file instead I would like to show the image on the fly after fetching it from the database.
    The reason I need it this way is...If I store it as .gif before showing, after showing the file the file still will be present in the disk, which after sometime will go beyond the limit.
    If at all it is not possible to show it on the fly, then I would like to know if there is any "SESSION ON END" kind of even available in Java so that I can clean up the image when user exits the browser!!!
    Please reply as soon as possible.

    For the first part of your question: If the image is the
    only thing you are showing on the browser.. then
    you can stream the data (I think I never tried with
    gifs)
    try {
         response.setContentType("image/gif");
         ServletOutputStream outf =
    response.getOutputStream();
    // Print the steamed image data to this
    outf
    outf.flush();
         } catch (Exception e){
              System.out.println("Exception Caught"+e.toString());
    }

  • Html mail show image

    Hi Experts,
    I am trying to send email from pl-sql procedure. The following procedure works,but does not show image,i wantto show the jpg file for message.
    Is it possible to show image and how? Please help.
    CREATE OR REPLACE PROCEDURE APPS.xxtt_send_mail_im(
    p_sender IN VARCHAR2,
    p_recipient IN VARCHAR2,
    p_subject IN VARCHAR2,
    p_message IN CLOB)
    as
    l_mailhost VARCHAR2(255) := '172.1.1.7';
    l_mail_conn utl_smtp.connection;
    v_add_src VARCHAR2(10000);
    v_addr VARCHAR2(10000);
    slen number := 1;
    l_message clob;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    i NUMBER(12);
    len NUMBER (12);
    part NUMBER(12) := 16384;
    l_stylesheet CLOB := '<html><head>
    <style type="text/css">
    body { font-family     : Verdana, Arial;
    font-size : 8pt;}
    .green { color           : #00AA00;
    font-weight : bold;}
    .red { color           : #FF0000;
    font-weight : bold;}
    pre { margin-left     : 10px;}
    table { empty-cells     : show;
    border-collapse : collapse;
    width : 100%;
    border : solid 2px #444444;}
    td { border          : solid 1px #444444;
    font-size : 8pt;
    padding : 1px;}
    th { background      : #EEEEEE;
    border : solid 1px #444444;
    font-size : 8pt;
    padding : 2px;}
    dt { font-weight     : bold; }
    </style>
    </head>
    <body>
    <img src="BANKALAR/HALKBANK/GelenSenetDosyalari/KUTLAMA.JPG"/>';
    BEGIN
    l_mail_conn := utl_smtp.open_connection(l_mailhost,25);
    utl_smtp.helo(l_mail_conn, l_mailhost);
    utl_smtp.mail(l_mail_conn, p_sender);
    if(instr(p_recipient,';') = 0) then
    utl_smtp.rcpt(l_mail_conn, p_recipient);
    else
    v_add_src := p_recipient || ';';
    while(instr(v_add_src,';',slen) > 0) loop
    v_addr := substr(v_add_src, slen, instr(substr(v_add_src, slen),';')-1);
    slen := slen+instr(substr(v_add_src, slen),';');
    Dbms_Output.put_line('rcpt ' || v_addr);
    utl_smtp.rcpt(l_mail_conn, v_addr);
    end loop;
    end if;
    --utl_smtp.rcpt(l_mail_conn, p_recipient);
    utl_smtp.open_data(l_mail_conn );
    utl_smtp.write_data(l_mail_conn,
    'MIME-version: 1.0' || crlf ||
    'Content-Type: text/html; charset=ISO-8859-9 ' || crlf || -- charset=ISO-8859-9
    'Content-Transfer-Encoding: 8bit' || crlf ||
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || p_sender || crlf ||
    'Subject: '|| p_subject || crlf ||
    'To: ' || p_recipient || crlf);
    utl_smtp.write_raw_data(l_mail_conn, utl_raw.cast_to_raw(l_stylesheet));
    i := 1;
    len := DBMS_LOB.getLength(p_message);
    WHILE (i < len) LOOP
    utl_smtp.write_raw_data(l_mail_conn, utl_raw.cast_to_raw(DBMS_LOB.SubStr(p_message,part, i)));
    i := i + part;
    END LOOP;
    utl_smtp.write_raw_data(l_mail_conn, utl_raw.cast_to_raw('</body></html>'));
    utl_smtp.close_data(l_mail_conn );
    utl_smtp.quit(l_mail_conn);
    end;
    Thanks a lot

    Hi,
    Thank you for your replay, it is helpful for me, i examine the examples, they are explain how to insert jpg file as an attachment(i tried attached and it succeed)
    but i want to show the jpg as the message body, so my problem is continue, do you have any other suggestion?
    Regards,
    Seher

  • How to make mouseover effect text show image in popup window or tooltip?

    I am trying to display a popup image in a new window when the mouse moves over some text. Or perhaps, the image could display in a tooltip when the mouse moves over some text.
    However, I have achieved the functionality of an image appearing above the text when the mouse moves over some text. This is how I did this:
    I put this code into the Page HTML Header:
    <script type="text/javascript">
    <!--
    function setFirstChildImgDisplay(el,vis) {
    if(!el || !el.getElementsByTagName) return;
    el.getElementsByTagName('img')[0].style.display=vis;
    // -->
    </script>
    I created a region and put this in the Region's Title field:
    {div onmouseover="setFirstChildImgDisplay(this,'inline')"  onmouseout="setFirstChildImgDisplay(this,'none')">Check out Page 1 here <img src="#WORKSPACE_IMAGES#DGNR Preview Page 1.bmp" alt="Page 1 Preview" style="display:none;">{/div}
    I am thinking that I should not have all of this code in the Region's Title field. But, I don't know where else to put it in APEX.
    So my questions are:
    1. how to get an image to display in a popup window or as a tooltip when the mouse is moved over some text?
    2. where should the {div} content be placed in APEX, if not in the Title field?
    Please note that I used '{' & '}' instead of '<' & '>' just so the div would display in this post.
    Also, I would like to give credit to this website because this is where I found out how to do what I have provided above.
    http://forums.devshed.com/web-design-help-2/mouseover-effect-text-shows-image-321876.html
    Thank you in advance,
    Maggie

    It's just an image map. Play with the settings. Here's a shape layer making a hole in the water and adding a bit of color.

  • Safari 7.0.1 not showing images

    Safari isn't showing images for certain websites. For instance, I'm trying to view a Big Cartel shop and the images won't load at all, even though the links are there. I checked in Firefox and Chrome, both work properly. Any suggestions?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.

  • Show image in crystal report 2008

    Hi All,
    I have a UDF - image type in Sales order Line item which stores image.
    Currently I want to display sales order line item data in CR2008 using a query.
    All data is coming but image field is showing image name in place of showing image.
    How can I show image.
    Kindly suggest.
    Deep Kulshrestha

    Hi Deep,
    An image type UDF only stores the image name in the database. When you add an image, the SBO client takes a copy of the image file and puts it in the Pictures folder (as defined in General Settings). Therefore, to use dynamic images in Crystal you will need to do the following:
    1) Create a formula in Crystal that combines the image name from the UDF field and the path to the Pictures folder to create the full path to the image (note: your Pictures folder must use a UNC or mapped drive path rather than a local path). It's easiest just to hardcode the path to the Pictures folder in the report but you'll have to bear in mind that this setting is company database specific. If you want to be able to run the report for multiple SBO databases then you may need to use a formula to change the path (you could add the OADM table to the report but there is no suitable join between this table and other tables in the database. The report would work because there is only ever 1 record in OADM but it's not good report design).
    2) Once you have your formula you can add a add a picture to the body of the report (at this point you should select a default image)
    3) Right-click the picture on the layout and choose Format Graphic.
    4) Select the Picture tab and click on the formula button to the right of the Graphic Location property
    5) In the formula window set the return value to the formula you created in step 1.
    6) At this point your image will dynamically change based on the UDF value. You may want to set a formula in the Suppress property of the image so that the default image is hidden if the UDF field is blank for a particular record.
    Kind Regards,
    Owen

  • Showing image with data in byteArray

    The image data is available in byteArray. How to show image in JavaFX program?
    Thanks

    Hi,
    Did anyone manage to solve this?
    I tried
    Image.impl_fromPlatformImage( (ImageIO.read(new ByteArrayInputStream(theImageArray))));
    but I got javafxc compiler bug advisory.
    nit:
    deps-jar:
    Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the
    Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues)
    after checking for duplicates.  Include in your report:
    - the following diagnostics
    - file C:\Documents and Settings\angeles_calimlim\Local Settings\Temp\javafx_err_23331.txt
    - and if possible, the source file which triggered this problem.
    Thank you.
    C:\localrepo3\BioHub\biohub-eprjx\src\biohubeprjx\face\impl\FaceApp.fx:68: incompatible types
    found   : java.lang.Byte[]
    required: byte[]
                    return service.saveToDisk(fileName, this.theImage);

  • Show images stored in DB in browser

    Is is mandatory to use intermidia for showing images stored in DB?
    I mean,is it possible to use just PL/SQL to show images uploaded to Oracle 8i. If so, how? Does anyone could send me a sample code?
    Thanks in advance and best regards.

    I have Oracle 8.1.5 and I read that interMedia license is included in DB license.
    In this case I am free to use interMedia.
    Does interMedia comes with 8.1.5 also?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ymizuno():
    You can store images as Blobs in the database, without using interMedia. However, if you store images as OrdImage using interMedia with attributes, you can get many advantages of it. interMedia comes with the Oracle database if you have Oracle 8.1.6. Are there any particular reasons why you do not want to use interMedia? <HR></BLOCKQUOTE>
    null

  • Show image in ALV

    HI,
    is it possible to show a picture (image) in ALV ?
    Regards,
    Gordon

    hi
    Check this blog to show image in ALV table:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9
    regards
    Satish

  • MS Captcha not showing image in production.

    I am using MsCaptcha for validation on my website but captcha image is not always displayed when website is hosted on cloud.It displayes a blank image with a red cross on left side of image ,if I right click on image and choose the option show picture
    then the image is displayed but I have to do this 2-3 times in order to see the image.Please help me out with it.

    Hi,
    Which MsCaptcha version did you use? I used .net framework 4.0 and download the mscaptcha4 . I did a test on this website (http://testcaptcha.azurewebsites.net/ ) you could try it.
    I think you need pay attention to the web config setting:
    <configuration>
    <system.web>
    <httpHandlers>
    <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.captchaImageHandler, MSCaptcha"/>
    </httpHandlers>
    <compilation debug="true" targetFramework="4.0" />
    <httpRuntime targetFramework="4.0" />
    </system.web>
    <system.webServer>
    <handlers>
    <add name="CAPTCHAHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.captchaImageHandler, MSCaptcha" />
    </handlers>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
    <location path="CaptchaImage.axd">
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>
    </configuration>
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Navigation bar not showing images

    I'm still new to app express and I'm sure I'm missing something. I understand how nav bar images are supposed to appear, however, I'm not seeing it displayed in the application. I'm using one of the built-in templates (#3 Business), with One Level Tabs. When I create my nav bar entry, I include the image filename (located at the default image location) but I never see the image in the application. Any idea what I could be missing? Or is it possible that this built-in template doesn't show images on the nav bar?
    How can I see exactly what the variable #NAVIGATION_BAR# contains?
    Marianne

    If you navigate to your page and click on the word 'Templates' you will see all installed Templates.
    Select the 'One Level Tabs' component and scroll halfway down to the 'Navigation Bar' and 'Navigation Bar Entry' fields.
    It looks as though that particular page template refers to a CSS type that doesn't contain an image - #TEXT# - this can however be changed by overriding the style in a custom style sheet.
    Ben

  • Show image/hide image in WebHelp

    I'm using RH 7 and trying to re-create a feature I saw in a
    WebHelp system (authored in RH X5 or earlier). Click on a "Show
    image" link and an image appears below just like a drop-down
    hotspot. On clicking, the text changes to "Hide image." I can't
    figure out how to change the text on click, and I hate that users
    have to click the same "Show image"link to make the image go away.
    Any help appreciated!

    This is the topic you want.
    http://www.grainge.org/pages/authoring/showhide/showhide_method2.htm
    You actually use two buttons, one that reads Show and one
    that reads Hide. Provided the images are the same except the text,
    to the user it will appear as if the text is changing. That is how
    it is done.

  • Show image in browser

    hi,
    i am new in PHP and oracle. can i show image in browser using image path from database?

    vikash wrote:
    No, Actually I m putting the path of image in database in varchar2 and i want to show image in browser using this path...plz helpGotcha - that actually makes life a little easier...
    What you'll want to do with PHP (I'll lay this out for you a bit - I don't have a code editor/environment handy at the moment..)
    1) You'll retrieve your image path from the database. Note that this path has to be the 'web accessible path', not a full file system path. (e.g. if your "Web Root" is /var/http/www and the full file system path to your image is /var/http/www/images/myimage.png, then the image you should have in the database is /images/myimage.png. This could also be a relative image path, etc.)
    2) Use your retrieved database path to insert into your HTML <img/> tag. If you have 'short tags' enabled, it should look something like this:
    <img src="<?= $myImagePath ?>" />
    That's the basics - is there anything here that sounds familiar?

Maybe you are looking for

  • Jvm crash on 1.4.2_04 BEA/Solaris

    our weblogic managed server crashed on production with tht following error HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF 01 we opened a case with BEA and they redirected us to SUN as it seems to be a bug in SUN jvm 1.4.2_04. http:/

  • How to pass security context in

    Hi, I am running BIP reports (Enterprise Edition) against application that requires a VPD context to be set up. How do I do this - is there anything like a LOGIN TRIGGER in BIP. I know that I can use a beforeReport trigger - however, I have a set of

  • When I try to put a location into maps it shuts down. Reinstalled - the same. It happens on two 5s phones. help

    We have two iPhone 5s. On both when trying to put in the location in maps, the app shuts down. If I reinstall the software, Maps are working, but when I restore my iPhone Maps aren't working again. This is happening on both iPhones. Any idea what I c

  • Locking in shuffle sequence

    Hi I have the 30 GB U2 iPod. All I want it to do is play all the songs in my library in random order before it repeats one. Being able to play all the songs in my library was the reason I bought the iPod. I have around 3700 songs currently, and just

  • Presets for improving video quality.

    i make small informercial sort of videos. I use a bluescreen for all of them. My camera is Sony HVR-Z1U. Since I don't have a lot of space, I can only keep my subject about 3 - 5 feet away from the bluescreen. This makes it really hard for me to key.