Propagate Image Upload Across Portal Servers

Hi,
I'm trying to investigate the best way of propagating image uploads across portal landscape.
We have a requirement where Partner's are able to upload their company logo, to be displayed in the masthead.
I've managed to create an iview to upload and validate the image, but I need to find a mechanism to copy the image file to all portal servers.
I have found other posts which recommend mapping a drive, but I don't want a single point of failure, also for performance reasons I don't really want to store images in database.
Is there a mechanism to deploy to all servers?
Thanks
Jason.

If you can make use of the Knowledge Management System to store your image, then you can set up Content Exchance using the ice_service to move images to different systems.
Check out this link
http://help.sap.com/saphelp_erp2005/helpdata/en/35/4cf72bfe18455e892fc53345f4f919/frameset.htm

Similar Messages

  • Image upload through Portals?

    Hi All,
    I have a image field in my table and integrated with portals...I can able to see the existed images in the iviews, but I can't able to upload a image from portals.
    I didn't find any attachment button next to image value, please let me know how can I can add images through portals...
    Regards,
    Pooja

    This seems odd.... don't you get any options as to enable the image upload? Try looking at the iview properties, as where you set up the size, heigth etc, instead of the options given on the iView wizard.
    for instance, add the iview to a page. Open the page for edition and click on the iView to select it. Click on properties and on the right you should see them. Do you get anything useful there?
    I am currently using SP04 but I assisted to the SP5 webex presentation, and is stated there that this feature is in place
    Regards
    Alejandro

  • How do I display blob (image) in a Portal Report

    I am using 9ias 10222 and portal 30983 and I have a table that stores an image as a blob and have a varchar field to store the mime type. I have created a form to upload the image and can then query the form to display the image.
    How do I dislay the image in a Portal Report/Dynamic Page Component. I have followed note 68016.1 but the retrieve_img_data procedure does not work it gives a wwv-11230 error.
    Any ideas? Any help would be appreciated.
    Thanks
    Belinda

    Hi,
    Can you display what code you used for this? I followed note 172045.1 and everything compiles properly but when I run the report, I just get a box with a red X in it, like it is not finding the picture. I ran the procedure that downloads the image and it works fine from there. Thanks.

  • Multiple image uploads on a single page

    Hi
    I've created a small cms page where a user can upload images to specific image containers. Unfortunately the multiple image upload with db wizard won't allow more that one occurence per page.
    Any ideas to work around this will be greatly appreciated
    Vito

    Hi Vito,
    kudos for finding this interesting solution, and thanks for sharing !
    i think that this issue is something the developers at Adobe need to look into
    I don´t think they would have to make their mind up about rather special scenarios like this one -- that´s what I´d call "custom development", what you´ll always stumble across sooner or later. No "tool" on earth will ever be able to cover each and every scenario...
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Image upload not working

    I have an image upload script that upload the image, but does not allow the name of the image to be inserted into the database.
    Here is the code
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "signup3")) {
      $updateSQL = sprintf("UPDATE player SET photo=%s WHERE player_id=%s",
                           GetSQLValueString($_FILES['ufile']['name'], "text"),
                           GetSQLValueString($_POST['user'], "int"));
      mysql_select_db($database_db, $db);
      $Result1 = mysql_query($updateSQL, $db) or die(mysql_error());
      $updateGoTo = "team-control.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    //define a maxim size for the uploaded images in Kb
    define ("MAX_SIZE","50000");
    //This function reads the extension of the file. It is used to determine if the file  is an image by checking the extension.
    function getExtension($str) {
             $i = strrpos($str,".");
             if (!$i) { return ""; }
             $l = strlen($str) - $i;
             $ext = substr($str,$i+1,$l);
             return $ext;
    //This variable is used as a flag. The value is initialized with 0 (meaning no error  found) 
    //and it will be changed to 1 if an errro occures. 
    //If the error occures the file will not be uploaded.
    $errors=0;
    //checks if the form has been submitted
    if(isset($_POST['Submit']))
         //reads the name of the file the user submitted for uploading
         $image=$_FILES['ufile']['name'];
         //if it is not empty
         if ($image)
         //get the original name of the file from the clients machine
             $filename = stripslashes($_FILES['ufile']['name']);
         //get the extension of the file in a lower case format
              $extension = getExtension($filename);
             $extension = strtolower($extension);
         //if it is not a known extension, we will suppose it is an error and will not  upload the file, 
        //otherwise we will do more tests
    if (($extension != "jpg") && ($extension != "jpeg") && ($extension != "png") && ($extension != "gif"))
            //print error message
                 echo '<h1>Unknown extension!</h1>';
                 $errors=1;
             else
    //get the size of the image in bytes
    //$_FILES['image']['tmp_name'] is the temporary filename of the file
    //in which the uploaded file was stored on the server
    $size=filesize($_FILES['ufile']['tmp_name']);
    //compare the size with the maxim size we defined and print error if bigger
    if ($size > MAX_SIZE*1024)
        echo '<h1>You have exceeded the size limit!</h1>';
        $errors=1;
    //we will give an unique name, for example the time in unix time format
    //$image_name=time().'.'.$extension;
    //the new name will be containing the full path where will be stored (images folder)
    $newname=$image;
    //we verify if the image has been uploaded, and print error instead
    $copied = copy($_FILES['ufile']['tmp_name'], $newname);
    if (!$copied)
        echo '<h1>Copy unsuccessfull!</h1>';
        $errors=1;
    //If no errors registred, print the success message
    if(isset($_POST['Submit']) && !$errors)
         echo "<h1>File Uploaded Successfully!</h1>";
    I dont know why its not working...I've used this same script in the same way in another website and it works fine.

    Check with your host for permission settings. If it works locally, and on other servers, then the code works, it just may not work in the particular
    environment your host has set up.
    Lawrence Carmer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in PHP and ColdFusion
    Stay updated - http://blog.cartweaver.com

  • Uploading a Portal resource to Spaces

    Version: WebCenter 11g PS3 (Spaces)
    Hi,
    I have created a custom page template in JDeveloper using the DesignWebCenterSpaces.jws workspace. ( I am refering the Chapter 49 of WebCenter Developer Guide).
    In the page temaplate I have included some task flows and some images. Now to upload this page template to WebCenter Spaces, what should I do ?
    I could find that there is an option "Upload a Portal Resource". Can this option be used to upload the page template I have created (with task flows and images). I am wondering How will the images and TF's will be uploaded to Spaces ? Please can someone clarify my thoughts ?

    Hi,
    Beside 'Upload a Portal Resource' there is an option for Export Portal Resource, use that option and export the page template as an EAR file.
    Than take that EAR file and upload it under Resources > Page Template in Administration (Home Space), So that the template would be available to all Spaces.
    For Taskflows, you can do the same thing. Or we have used the SampleWebCenterExtensions project available from: http://www.oracle.com/technetwork/middleware/webcenter/white-papers-088385.html, and Desploy a Shared Library with our custom Taskflows so that all customizations will be deployed together.
    There is a public folder under SampleWebCenterExtensions > SourceFiles > public_html > web > oracle > webcenter > webcenterapp > view > templates > publichtml, in which you can save images and other custom jsp files and can call from the path: http://<domain-name>/webcenter/oracle/webcenter/webcenterapp/view/templates/publichtml/ ...
    Hopefully, it makes sense :)
    Best Regards.

  • Image upload bombs

    I'm working through a book right now on PHP, MySQL, and Web
    Dev. For the most part I've been doing fine, but when I was
    creating an image upload form today, it's giving me some errors.
    Here's the url:
    http://lwrussell.com/phptesting/chapt7/upload_image.htm
    Here's my form:
    <html>
    <head>
    <title>Upload your pic to our site!</title>
    </head>
    <body>
    <form name="form1" method="post" action="check_image.php"
    enctype="multipart/form-data">
    <table border="0" cellpadding="5">
    <tr>
    <td>Image Title or Caption<br>
    <em>Example: You talkin' to me?</em></td>
    <td><input name="image_caption" type="text"
    id="item_caption" size="55"
    maxlength="255"></td>
    </tr>
    <tr>
    <td>Your Username</td>
    <td><input name="image_username" type="text"
    id="image_username" size="15"
    maxlength="255"></td>
    </tr>
    <td>Upload Image:</td>
    <td><input name="image_filename" type="file"
    id="image_filename"></td>
    </tr>
    </table>
    <br>
    <em>Acceptable image formats include: GIF, JPG/JPEG,
    and PNG.</em>
    <p align="center"><input type="submit" name="Submit"
    value="Submit">
    <input type="reset" name="Submit2" value="Clear Form">
    </p>
    </form>
    </body>
    </html>
    Here's my php code:
    <?php
    //connect to the database
    $link = mysql_connect("hostomitted", "usernameomitted",
    "passwordomitted")
    or die("Could not connect: " . mysql_error());
    mysql_select_db('moviesite', $link)
    or die(mysql_error());
    //make variables available
    $image_caption = $_POST['image_caption'];
    $image_username = $_POST['image_username'];
    $image_tempname = $_FILES['image_filename']['name'];
    $today = date("Y-m-d");
    //upload image and check for image type
    //make sure to change your path to match your images
    directory
    $ImageDir ="
    http://lwrussell.com/phptesting/chapt7/images/";
    $ImageName = $ImageDir . $image_tempname;
    if (move_uploaded_file($_FILES['image_filename']['tmp_name'],
    $ImageName)) {
    //get info about the image being uploaded
    list($width, $height, $type, $attr) =
    getimagesize($ImageName);
    switch ($type) {
    case 1:
    $ext = ".gif";
    break;
    case 2:
    $ext = ".jpg";
    break;
    case 3:
    $ext = ".png";
    break;
    default:
    echo "Sorry, but the file you uploaded was not a GIF, JPG,
    or " .
    "PNG file.<br>";
    echo "Please hit your browser's 'back' button and try
    again.";
    //insert info into image table
    $insert = "INSERT INTO images
    (image_caption, image_username, image_date)
    VALUES
    ('$image_caption', '$image_username', '$today')";
    $insertresults = mysql_query($insert)
    or die(mysql_error());
    $lastpicid = mysql_insert_id();
    $newfilename = $ImageDir . $lastpicid . $ext;
    rename($ImageName, $newfilename);
    ?>
    <html>
    <head>
    <title>Here is your pic!</title>
    </head>
    <body>
    <h1>So how does it feel to be
    famous?</h1><br><br>
    <p>Here is the picture you just uploaded to our
    servers:</p>
    <img src="images/<?php echo $lastpicid . $ext; ?>"
    align="left">
    <strong><?php echo $image_name;
    ?></strong><br>
    This image is a <?php echo $ext; ?> image.<br>
    It is <?php echo $width; ?> pixels wide
    and <?php echo $height; ?> pixels high.<br>
    It was uploaded on <?php echo $today; ?>.
    </body>
    </html>
    Thanks guys! I appreciate it.
    -Luke

    Never mind, I figured it out. The $ImageDir needed so simply
    be "images/"

  • MultipartParser vs MultipartRequest for Image Upload

    We are facing a weird issue. We were using MultipartParser for all our file uploads till now. We now need to upload image files and we are facing issues. We came across various knowledge base articles that said we can't upload an image using MultipartParser.
    If that is true, has anyone used MultipartRequest and have got the image uploaded to the server?
    Once the image is uploaded we need to create a thumbnail out of it. We are using javax.imageio.* package to do that.
    Any help is appreciated.

    If that is true, has anyone used MultipartRequest and
    have got the image uploaded to the server?
    Unless you're using Creator 2004Q2, you should take a look at the file upload component included with Creator 2.
    Best regards.
    Antonio.

  • Js-error while executing Multiple Image Upload wizard

    If i want to save the configured window of Multiple Image Upload with Save to Database wizard i get this js-error: "While executing onClick in MIUploadWSaveWizard.htm, a JavaScript error occured".
    can someone help?
    thanx
    peter

    That again would be more of a question for the Cold Fusion group.
    Try http://forums.adobe.com/community/coldfusion/coldfusion_administration
    Those people will be able to help you out more.
    Brad Lawryk
    Adobe Community Expert, Dreamweaver
    Adobe Usergroup Manager, Northern British Columbia Adobe User Group

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • How to configure AMconfig.properties on gateway with 2 portal servers

    Hello,
    I run into an issue where I want to setup 1 portal gateway with 2 portal servers(+ access manager) all on separate machines. How can I define in AMconfig.properties that there are possible two portal servers.
    All is version 2005Q1
    Please see part of my actual AMconfig.properties :
    # grep portal AMConfig.properties
    com.iplanet.am.directory.host=portal1.domain.int
    com.iplanet.am.server.host=portal1.domainl.int
    com.iplanet.am.console.host=portal1.domain.int
    com.iplanet.am.profile.host=portal1.domain.int
    com.iplanet.am.naming.url=http://portal1.domain.int:80/amserver/namingservice
    com.iplanet.am.notification.url=http://portal1.domain.int:80/amserver/notificationservice
    com.iplanet.am.localserver.host=portal1.domain.int
    com.sun.identity.liberty.interaction.wspRedirectHandler=http://portal1.domain.int:80/amserver/WSPRedirectHandler
    Kind Regards
    Roland Vlerick

    See this thread.
    Error Installing Groupware Portlets for WLP 10.3.2
    Brad

  • How to populate a page with images in across/down direction?

    Hi,
    Does anyone know how to populate a page with images in across and down direction (for example 6 X 6 )? It seems that I cannot use data table because records are only running downward and each row can have one record.
    Any suggestion would be appreciated. thanks.

    Alex,
    You can create your own tabular form using APEX_ITEM API's
    Create report and you can put similar code to following
    SELECT APEX_ITEM.TEXT(1,col1) pk1, APEX_ITEM.TEXT(2,col2) pk2 FROM your_tableSo data will be displayed in TEXT boxes as if it's a tabular form. Now you need to handle INSERT/UPDATE/DELETE processes manually. You can easily handle INSERT and DELETE. But handling UPDATE can be a nightmare. What if user has updated both the column values?
    Updated details
    One way out would be to use ROWID as Primary key to handle DELETE and UPDATE
    SELECT APEX_ITEM.CHECKBOX(1,ROWID) tick, APEX_ITEM.TEXT(2,col1) pk1, APEX_ITEM.TEXT(3,col2) pk2 FROM your_tablebut yet I suggest to go for proper primary key..
    Regards,
    Hari
    Edited by: Hari_639 on Dec 3, 2009 6:52 PM

  • How can i set an image to a portal

    how can i set an image to a portal using response.write();
    please guide me i have an image in C drive how to get the image

    Hello,
    you can use the HTML Tag:
    <img src="file://c:/path/image.jpg" />
    Regards
    Gregor

  • Multiple Image Uploading Question

    Please forgive my ignorance here but I saw the question on multiple image uploading and this is something i have been trying to do for a few days now without any success.
    I am using CS3 with ADDT and PHP
    I want to allow my users to be able to upload say 5 pictures at a time, each user has multiple photo albums the names of which are stored in mysql table, the image name is stored in a different table with a reference to the album id.
    So, I assume that i put an insert record on the page, I followed the usual process used to have a single image upload and thought it would give me or add the extra file field options on the form when telling the multi upload to allow 5 images to be uploaded, not the case. Do i have to create a form on the page first with 5 file fields or am i just missing the plot here.
    Sorry if this is just something that seems simple but i just don't seem to be able to get it to work at all. I have no working example to look over and have serach google to see if there are any tutorials for doing this but can't find any at all.
    Thank you in advance of any help and guidance given
    Regards
    Ray

    Hi Günter
    Thank you for your reply and also for the great tutorial site you run which has helped me quite a lot with several things.
    ok, so i am maybe a little confused here, so what is the multiple image uploader for if not for uploading multiple images, and how does it give you the option to select more than one file or is it that you can't use it when inserting the image file into a database?
    Please forgive my ignornace again, i can see when i have tried using the multiple image upload thatit puts a text link called upload, what is that for because it doesn't seem to do anything on the page i have tried it on?
    Kind Regards
    Ray

  • Image upload/retrieve turorial not working

    The tutorial regarding image upload retrieval in the following link is not working:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/retrieve_binary_data.html
    I get the following error:
    Java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.security.PrivilegedActionException : Error opening socket to server localhost on port 21527 with message : null
    Thanks

    Hi Sakthi,
    Finally I managed to make it work with the following modifications:
    (1) In the servlet jdbc/Order> jdbc/Travel
    (2) The datasource names for the rowsets in the session as Travel (instead of Order)
    Another observation I made is: If you bind the url of the image component (which is on the datatable column) to a (for example applicationbean) property which retruns the necessary url, it is very convinent to handle the datatable layout visually. (Otherwise if you go to the datatable layout it shows some error message popup)
    Thanks.

Maybe you are looking for

  • Oracle reports to be generated in excel format

    Hi, We are currently exporting the oracle reports to PDF and CSV format using Report Builder 10.1.2.0.2. we would like to export the report to xls or xlsx format. is there any way we can achieve with the current version of report builder. ANy valuabl

  • Need Suggestion on Central SLD System

    Hi Experts, I need a help/ suggestion on deciding the Central SLD system in our landscape. In our current SAP System landscape we do not have XI Servers for Central SLD, So we are using Solution Manager 7.01 as the Central SLD for the new Installatio

  • ALV output to be send to an email in Excel format

    Hi All, Now I am sending alv output to email through excel format successfully but my problem is in last coloumn output some times last charectors are missing. Please help me out. For example out put is 'Not Approved'. Some times it is displaying cor

  • Why do only purchased albums show in itunes library?

    All was well... then when I went to sync my new iphone 5s to the library, only purchased music listed. All else ?gone? wrong setting in library?  Any ideas? Txs

  • Printing from Microsoft Word

    When I print my documents from Microsoft Word, they will never print with color.  Is there a place where I can change from printing only black and white to printing color as well?