Displaying multiple images after uploading

Hi I am trying to create a site where I can upload multiple photos at once and have them be displayed on the master detail page
I have been following the tutorial on creating an image gallery and it is good.......
I have also found out about using the master detail function which is really really great, just what i was looking for.
So I can create my upload form with file upload and creat a list page which displays some of the data and a thumb and I can link one of the fields to the master detail page all good...... Now......
I would like more than one picture on the detail page.......
with say one main pic and about five other thumbs ( which can be linked to full size images) I would like this to all be done dynamically
So how do I do this?
Do I need to put multiple file upload fields in my upload form?
I am getting confused........
Any help would be really really nice
Have a nice day

Hi Charis
>Do I need to put multiple file upload fields in my upload form?
You can use the Dynamic List/Dynamic Form to get the uploads working as you wish. Dynamic lists can call a multiple insert transaction on dynamic forms. You then set one of the form fields to be file type and apply the upload behaviour to it. At the end you can call as many instances of the form from the dynamic list and upload all the images at once saving their informations to a db table at the same time
>would like more than one picture on the detail page.......
>with say one main pic and about five other thumbs ( which can be linked to full size images) I would like this to all be done dynamically
For this you need 2 recorsets: one for the main picture filtered by image_id (when you click the thumbnail you send the id as a url variable) and another for the thumbs (not filtered);
Use the Show Thumbnail server behaviour to create the thumbs and a Looper Wizard to loop through the records and show more than 1 thumb.
Cheers
Marcell

Similar Messages

  • Load and Display Multiple Images in a Web Dynpro Table

    I am new to Web Dynpro and I am wondering if anyone can help me with an application that I am currently developing. I have a particular requirement to store images in a database table (not MIME repository) and then display them in a WD table element. An image can be of JPEG, PNG or TIFF format and is associated with an employee record.
    I want to create a view in my application that displays multiple images in a table, one image per row. I want to do this using Web Dynpro for ABAP, not Java. I have looked into pretty much all examples available for Web Dynpro and came to the conclusion that Components such as WDR_TEST_EVENTS and WDR_TEST_UI_ELEMENTS do not have any examples of images being stored in a database table and viewed in/from a Web Dynpro table element. Programs such as RSDEMO_PICTURE_CONTROL, DEMO_PICTURE_CONTROL and SAP_PICTURE_DEMO do not show this either.
    The images to be displayed in the Dynpro table are to come from a z-type table, stored in a column of data type XSTRING (RAW STRING). So I would also like to know how to upload these images into this z-type table using ABAP code (not Java).
    Your help would be greatly appreciated.
    Kenn

    Hi,
    May be this is the is the correct place to post your query.
    Web Dynpro ABAP
    Regards,
    Swarna Munukoti.
    Edited by: Swarna Munukoti on Jul 16, 2009 3:52 PM

  • Unable to select multiple images for upload

    I have Windows 7 Pro and FF 9.0
    I have an online store and am always uploading product photos for items I have listed. I recently switched from XP Pro to Windows 7 Pro. I had no issues with XP. However, now that I have Windows 7 Pro I am unable to select multiple images for upload when using FF. I can only select one image at a time.
    The issue is unique to FF. I have tried in several other browsers, and FF is the only one that I am unable to select multiple images from.
    I had FF 8.0.1 and upgraded to 9.0... hoping that would resolve the issue. It did not. I have restarted my computer several times which has also had no effect.

    Hi,
    Welcome to the    Discussions
    I see it is about 6 hours since you posted, so I guess you will get this when you wake. (I'll be sleeping then)
    This would be better asked in the forum for Using Leopard inside the Leopard Category sating which browser and which site it was.
    (it probably made lots of sense to you when you were typing it but it seems a little short in facts or workable info.)
    8:43 PM Wednesday; March 24, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
    Message was edited by: Ralph Johns (UK)

  • Hi , How to display multiple images

    hi,
    please help me out!
    I need to display multiple images on the jframe or on a jpanel . From the database where the path of the images are stored how to do it any one please
    give the code

    import java.awt.*;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class ShowingImages extends JPanel
        final int
            WIDTH  = 75,
            HEIGHT = 125;
        public ShowingImages()
            String[] filePaths = getPaths();
            BufferedImage[] images = getImages(filePaths);
            setLayout(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(5,5,5,5);
            gbc.weighty = 1.0;
            gbc.weightx = 1.0;
            loadImages(images, gbc);
        private void loadImages(BufferedImage[] images, GridBagConstraints gbc)
            for(int j = 0; j < images.length; j++)
                BufferedImage scaled = scale(images[j], WIDTH, HEIGHT);
                ImageIcon icon = new ImageIcon(scaled);
                if(j % 2 == 0)
                    gbc.gridwidth = GridBagConstraints.RELATIVE;
                else
                    gbc.gridwidth = GridBagConstraints.REMAINDER;
                add(new JLabel(icon), gbc);
        private String[] getPaths()
            String[] fileNames = {
                "images/redfox.jpg", "images/greathornedowl.jpg",
                "images/bclynx.jpg", "images/mtngoat.jpg"
            return fileNames;
        private BufferedImage[] getImages(String[] fileNames)
            BufferedImage[] images = new BufferedImage[fileNames.length];
            for(int j = 0; j < fileNames.length; j++)
                images[j] = loadImage(fileNames[j]);
            return images;
        private BufferedImage loadImage(String fileName)
            BufferedImage image = null;
            try
                URL url = new URL("file:" + fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.err.println("malformed url for image: " + mue.getMessage());
            catch(IOException ioe)
                System.err.println("unable to read image file: " + ioe.getMessage());
            return image;
        private BufferedImage scale(BufferedImage source, int w, int h)
            BufferedImage scaled = new BufferedImage(w, h, source.getType());
            Graphics2D g2 = scaled.createGraphics();
            g2.setPaint(getBackground());          // background for
            g2.fillRect(0,0,w,h);                  //   scale to fit
            double width = source.getWidth();
            double height = source.getHeight();
            double xScale = w / width;
            double yScale = h / height;
            double scale = Math.min(xScale, yScale);      // scale to fit
            //double scale = Math.max(xScale, yScale);    // scale to fill
            double x = (w - scale*width)/2;
            double y = (h - scale*height)/2;
            AffineTransform at = AffineTransform.getScaleInstance(scale, scale);
            g2.translate(x, y);
            g2.drawRenderedImage(source, at);
            g2.dispose();
            return scaled;
        public static void main(String[] args)
            // create and configure your JFrame here...
            f.getContentPane().add(new JScrollPane(new ShowingImages()));
    }

  • Step backward multiple images after closing?

    Hi, this is probably a really easy solution I'm just totally missing.
    I can't think of/ find a way to go back in the history multiple steps, with multiple photos, after closing and re-opening Lightroom.
    I've tried selecting the images I need and undo-ing with auto-sync on -nothing, tried doing it in the Library module -nothing.
    I feel kind of dumb, but this seems like the solution should be more readily obvious.

    I do not know of a way to do this in batch for several photos at the same time.
    Do you have so many photos to undo?
    I would go to develop module for each and go back in history, then move on to the next photo.
    If you history steps are different for these photos I cannot imagine something else.
    Or did you achieve the no-longer-desired steps for all photos in one go, by auto-synch'ing?
    In that case it should work from develop module, too, to undo the history steps for one most-selected photo while auto-synch.
    Cornelia

  • Image after upload not available (Apache Tomcat)

    Hello!
    I'm using file upload from Apache MyFaces to upload images. The upload works perfectly. But when I try to show the image on a webpage right after uploading, the file is not found. I know that the link is correct and the file exists. Somehow my Tomcat server doesn't realize that there is a new file to index. When I restart the server, everything works and the image is shown.
    Can you help me? I think I have to tell the server that there is a new file or something like this...

    Yes, I did close the stream.
    This is my code:
    File f = new File("/home/wolfgang/NetBeansProjects/Webshop/web/img/products/" + fileName);
    inputStream = productNewImage.getInputStream();
    OutputStream out = new FileOutputStream(f);
    byte[] buf = new byte[1024];
    int len;
    while ((len = inputStream.read(buf)) > 0) {
          out.write(buf, 0, len);
    out.close();
    inputStream.close();

  • Outlook does not display linked images after installin 7525 printer

    Installed 7525HP photosmart printer earlier today.  Since installation, Outlook does not display linked images when I open emails.  p6620f HP desktop computer. 

    You're probably not going to like the answer: Welcome to HTML-based email, and web (browser- or mail-based) rendering incompatibilities and quirks.
    Newer Microsoft Internet Explorer is (much) better than older releases, so see if a newer Windows client or a newer version of Outlook does better.
    If you really want to see what's going on here, view the raw HTML that's getting generated, and see what Microsoft wants or uses or expects within Outlook, and send that.

  • Rename Images after uploading in BDS_businessDocument_CreateF

    hi,
    i want to rename my images that i upload on a difrent trensaccion with the funciont BDS_BUSINESSDOCUMENT_CREATEF,  some co-worker, recomends me to use the function BDS_BUSINESSDOCUMENT_DELETE_P but this erase  the image,  and after this the user has to upload it again.
    what i need is to rename it, is theres a function that will helps me
    Thanks and regards

    try with this ...
    FM :: BDS_BUSINESSDOCUMENT_CHANGE_P

  • Can't display multiple images simultaneously in PSE 9

    In PSE 8 I could drag two images from the tray onto the main display for side by side comparison. And when I went into "Quick" edit mode, I'd see before and after images of the same photo side by side. Now in PSE 9 I can't do either of those things. Is there a way?

    In Full Edit go to the preferences>General and turn on Allow Floating windows, then you can use it as you did in PSE 8.
    In Quick Fix there's a pulldown menu below the preview area where you can set it to display Before/after.

  • Problem  to display multiple images in report!

    Hi,
    I have 3 tables, in each table i have a column with an image "blob"!
    I have creat a view with this 3 tables and a report of this view.
    My problem is that when i try to show one image column in report, "there is no problem", but when i try to show two or tree column´s with images, it display's only the last image that i call in report!
    select     "V_VIEW"."ID_STATE" as "ID_STATE",
         "V_VIEW"."STATE" as "STATE",
         "V_VIEW"."ID_TABLE" as "ID_TABLE",
         "V_VIEW"."NAME" as "NAME",
         "V_VIEW"."ID_PRIORI" as "ID_PRIORI",
         "V_VIEW"."PRIORI" as "PRIORI",
         "V_VIEW"."ID_PRODUCT" as "ID_PRODUCT",
         "V_VIEW"."PRODUCT" as "PRODUCT" ,
    dbms_lob.getlength("V_VIEW"."IMAGE") IMAGEPRODUCT,
    dbms_lob.getlength("V_VIEW"."IMAGEPRIORI") IMAGEPRIORI,
    dbms_lob.getlength("V_VIEW"."IMAGESTATE") IMAGESTATE
    from     "V_VIEW" "V_VIEW"
    Using normal standart report with in report atributes column:
    IMAGE:T_STATES:IMAGESTATE:ID_STATE::::::inline:
    What are i making wrong, in this case he does only make the last dbms_lob.getlength and shows only dbms_lob.getlength(IMAGESTATE) IMAGESTATE;
    If i change the order of the report and put in the end of the code:
    dbms_lob.getlength(IMAGETYPE) IMAGETYPE, the he shows this last image!
    I have try to make a demonstration of my problem on this forum, so i have creat an example on apex.oracle.com and there it works just fine, showing all the images of report.
    i am using apex 3.1.0.00.32
    Why doesn't the same example work in my aplication.
    If someone can have a look at working example:
    http://apex.oracle.com/pls/otn/f?p=53120:1:1299118515377853:::::
    pepe
    pepe
    pepe25
    Thank's in advance;
    Pepe

    Pepe,
    Is the first report on the page working correctly? I think so. So I don't see an example of what you described.
    I do see that there are no images in the second report, but that's not the same as the first problem you described, is it?
    Scott

  • Display multiple Images from a DB on a JSP Page!

    Hi all, please give me your solution, thanks. I have many images, stored in Oracle database (BLOB), How to display all of them (images) on a JSP page? I have a working solution that only shows one image based on the specific image-name passed. But if no image found in the Database with that image-name then I want to show all the images at once on a JSP page. Can someone help please. Follwing are the code snippets:
    Here is the JSP page that calls the servlet to show the images:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
      </head>
      <body valign=center>
          <table>
            <tr>
                <td>
                    <img src="/test-testimgs-context-root/servlet/test1.images.servlet.GetImage">
                </td>
            </tr>
          </table>
      </body>
    </html>
    Here is the code that resides in the service method of GetImage servlet:
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
        OutputStream stream = response.getOutputStream(); 
        Blob imgBlob = null;
        ResultSet rs = null;
        byte[] imbBytesAry = null;
        try
            ImageTest imgtest = new ImageTest();
            rs = imgtest.get("img1.tif");
            if(rs != null)
                while(rs.next())
                    imgBlob = rs.getBlob(1);
                    int len = new Integer( new Long( imgBlob.length()).toString() ).intValue();
                    imbBytesAry = imgBlob.getBytes(1,len);
                    if (imbBytesAry.length == 0 || imbBytesAry == null)
                        noImageFound(request, response); 
                    else
                        stream.write(imbBytesAry);
            else
                noImageFound(request, response);
        catch (Exception e)
            noImageFound(request, response);
    Here is the code that resides in the get method of ImageTest class:
    public ResultSet get(String fileName) throws DatabaseConnectionException, SQLException, Exception
    Connection connection=null;
    ResultSet rs = null;
    ResultSet rs1 = null;
    Blob imgBlob = null;
    try
        connection = new ConnectionProvider().getCConnection() ;
        connection.setAutoCommit(false);
        Statement stmt = connection.createStatement();
        String sql = "SELECT IMG FROM IMAGE_TABLE WHERE IMAGE_NAME = ? "; 
        PreparedStatement pstmt = connection.prepareStatement(sql);
        pstmt.setString(1,fileName);
        rs = pstmt.executeQuery();
        boolean flag = rs.next();
        if(flag)
            rs.beforeFirst();
        else
            sql = "SELECT IMG FROM IMAGE_TABLE"; 
            rs1 = stmt.executeQuery(sql);
            boolean flag_all = rs1.next();
            if(flag_all)
                rs1.beforeFirst();
            else
                rs1 = null;
        return rs;
    }As you see in the JSP page I am calling GetImage servlet, whose service method does all the processing i.e. calls ImageTest get method that queries the database and returns the result. Eventually what I would like is to pass the filename along with other parameters from JSP page and the servlet returns the images based on that. Currently I have just hard coded a value for testing puposes. Any help is appreciated.
    Thanks

    Hi all, please give me your solution, thanks. I have many images, stored in Oracle database (BLOB), How to display all of them (images) on a JSP page? I have a working solution that only shows one image based on the specific image-name passed. But if no image found in the Database with that image-name then I want to show all the images at once on a JSP page. Can someone help please.
    this is the code
    <form name="a" action="" method="post">
    <%
    rs1 = st1.executeQuery(select1);
    rs1.next();
    while(rs1.next())
    %>
    <table>
    <tr><td>
    <%
    Blob objBlob[] = new Blob[rs1.getMetaData().getColumnCount()];
         for (int i = 0; i <= rs1.getMetaData().getColumnCount(); i++)
               objBlob[i] = ((OracleResultSet)rs1).getBLOB(1);
              InputStream is = objBlob.getBinaryStream();
    byte[] bytearray = new byte[4096];
    int size=0;
    response.reset();
    response.setContentType("image/jpeg");
    response.addHeader("Content-Disposition","filename=getimage.jpeg");
    while((size=is.read(bytearray))!= -1 )
    response.getOutputStream().write(bytearray,0,size);
    response.flushBuffer();
    is.close();
    out.println("hhhhhhh");
    %>
    </table>
    <%
    rs1.close();
    //con.close();
    %>
    </form>

  • Multiple Image File Upload for Creating Weblogs

    Maybe I just like pretty pictures more than most webloggers; but it seems like I spend a heck of a lot of time uploading images for my weblogs to SDN.  It would great if there was an easier way to do this.  Perhaps something as simple as uploading more than one image at a time.

    Hi Thomas,
    We will look into it. May be via a .zip file.
    Best, Mark.

  • Lr - flash gallery stuck at "loading images" after uploading to website

    I have created various flash slideshows which run fine from my pc through IE. But when I upload to my site the gallery loads up but is always stuck at "loading images" ?
    At first I thought it was my image file sizes but have reduce them to under 100k each.
    I'm stumped!
    Any ideas would be greatly appreciated?
    Thanks
    CD

    I suggest you use an Ftp client to see if the files are actually on the server. You can even look by going to the edit... for FTP Server in the Web Panel of LR and hit browse to see if they are there, asuming you have set up the FTP properly in LR.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Distorted and disarrayed images after uploading edited page

    I had two text boxes with hyperlinks not functioning properly (in Safari, though not in iWeb), so I tried a few methods to fix the problem, none of which have resulted in success. I've deleted the malfunctioning boxes and copied and pasted from other pages. I've deleted them and copied and pasted from within the page, changing the text and linkage to suit. I've deleted them and recreated brand new boxes. I've selected all objects and deleted them and tried to copy and paste them peice meal. When I publish to a folder, and view from my computer, the new pages show distorted sizes, text, and have deleted boxes in other locations. It seems like the png numbers are assigned "out of order" between the html file and the reference folder. I then tried to bring the original file off of my live server and replace the bum file in my published folder on the computer. I'm now realizing that iWeb does not use the published folder during editing.
    1) Why is this happening?
    2) How do I get it back? (can I import file information back into iWeb rather than into the published folder?)
    I notice that someone else had the hyperlink issue on the latest version of iWeb, so it doesn't seem like an upgrade is necessary/would fix the problem.
    Bradley

    BYoder in NC wrote:
    So do you have any thoughts about why, after editing a few objects and reposting, the images were shuffled and distorted (even though they look fine in iWeb)?
    Bradley ~ No, sorry. Perhaps someone else will chip in here soon with a suggestion. Meanwhile there are some things you could try in the +"Fix iWeb"+ section here:
    http://www.iwebformusicians.com/WebMusic/iWebTips.html

  • Can you simultaneously display multiple images in a slideshow?

    I think you were able to do this in previous versions of Aperture. Weren't there slideshow themes that showed, say, four images at a time? Is this capability gone now?

    The two Slideshow 'themes' with "panel" in the title on my installation show two or more complete images at a time.
    Does anyone know a link to all the current Slideshow 'themes'?

Maybe you are looking for

  • Yoga 3 pro cant stream video on external display or laptop

    Saw a previous post on this, didnt seem like it was fixed.  Having real issues with hooking up to an external display, when the web browser (chrome) is extended to the external display, my internet lags hard...i cant even stream a vid on youtube. I'v

  • How do I remove the " 1" from Facebook contacts?

    With the new iOS 6 Facebook features my contacts now include everything from iCloud and from Facebook. I love it and appreciate that it links duplicate contacts between the two groups. However, the phone numbers do not register as the same. All of th

  • Won.t boot nada thing

    HI all, i really hope someone out there can give me some light on why my 865pe won't boot  i have the newiest bios 1.9 yesterday i was on line with it and then something came on about saying there was a problem with my viv card (ati 9500) then the co

  • (New slant on) Printing at 1200 dpi from inDesign CS5 to a Xerox colour laser.

    I print calendars magazines and stuff like that. If I use Photoshop CS3~CS5 I can print a 600 dpi photograph to my Postscript 3 enabled Xerox 1200 dpi laser and get quite good appearance of the photo. Even better if I use a 1200 dpi image in the firs

  • Advise for SLA setup needed

    Hi experts, I need to configure SLA for ITSM. There's a special requirement for the different SLAs and I am not quite sure how to set them up. The service and reaction profiles depend on these factors: - transaction type - priority - category of mult