Thumbnails in forms 10

hi all, is any way to show thumbnails images with forms?
the original images are not stored in a database, they are directly in the webserver.
help will be appreciated!
cheers,
Luis

See the READ_IMAGE_FILE built-in in the Help documentation. If your images are in an HTML file, then you can use the WEB.SHOW_DOCUMENT built-in also described in the Help docs.

Similar Messages

  • Using Bean Attributes in a JSP for a h:commandLink

    Hi,
    I am very new to JSF so apologies if the answer is obvious.
    I currently have a ArrayList of products obtained from a database.
    Using...
    <h:dataTable value="#{ProductBean.productList}" var="product">
                    <h:column>
                        <f:facet name="header" >
                            <h:outputText value="Title"/>
                        </f:facet>   
                        <h:outputText value="#{product.title}"/>
                        <f:facet name="header" >
                            <h:outputText value="Picture"/>
                        </f:facet>   
                        <h:outputText value="#{product.picture_url}"/>
                    </h:column>
                </h:dataTable>The contents of the ArrayList are printed out fine.
    I am now looking to iterate over the items to output a link
    so far I have... but it doesn't seem to work
    <c:forEach items="${ProductBean.productList}">
                        <h:form>
                        <h:commandLink action=images/"#{productList.picture_url}"  title="#{productList.title}"><h:graphicImage url="thumbs/#{productList.picture_url}" width="100" height="75" alt="" /></h:commandLink>
                    </h:form>
                    </div>
                </c:forEach>I think the problem lies with appending the "images/" before the url
    Ideally I would like it to replicate the actual HTML view which is
    <a href="images/london_flight.jpg" title="London in Flight"><img src="images/london_flight.jpg" width="100" height="75" alt="" /></a>If anyone could shed any light it would be much appreciated.
    Thanks in advance

    Thanks that was helpful so I have modified my code to...
                <c:forEach items="${ProductBean.productList}" var="product">
                    <div class="thumbnail">
                        <h:form>
                        <h:commandLink action="images/#{product.picture_url}" title="#{product.title}"><h:graphicImage url="thumbs/#{product.picture_url}" width="100" height="75" alt="" /></h:commandLink>
                    </h:form>
                    </div>
                </c:forEach>But I seem to be getting a jsp error...
    javax.el.ELException: Not a Valid Method Expression: images/#{product.picture_url}
    How can I append "images/" to the action without it falling over.
    Thanks

  • How do I set the default Hero image in a Muse slideshow widget when using Free Form Thumbnails?

    Hello,
    I am trying to find out how to set the default Hero image when using a Muse slideshow widget and in the Layout section I have the "Free Form Thumbnails"
    box checked.
    In other words, when the page loads I want to define which image displays as the first Hero image.
    If I do not select the "Free Form Thumbnails" option, the top left Thumbnail image always displays first. This is fine.
    But when I select the Free Form Thumbnails" checkbox I don't know how to define which image shows first as the Hero image.
    I have a short video at this link where I illustrate the question:
    http://amson.org/misc/default-hero-image-1.mp4
    I have added a WMV video file at the link below:
    http://amson.org/misc/default-hero-image-1.wmv
    Okay… I think I've worked out how to do it!
    [1] First have the "Free Form Thumbnails" box UNCHECKED.
    [2] Organize the Thumbnails and place the image that you want to be the first Hero image when the page loads in the top left corner of the Thumbnails group.
    [3] When you "Preview Site In Browser" the Thumbnail image in the top left corner will always display as the first Hero image.
    [4] If you want "Free Form Thumbnails" go ahead now and SELECT that checkbox.
    [5] Whichever image was in the top left of the Thumbnail group before you checked "Free Form Thumbnails" will still show up as the first Hero image when the page loads, regardless of where that thumbnail image is located within the Thumbnail images group.
    Thanks very much.
    Chris.

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • PNG images revive deleted images in the form of a thumbnail, potential risk

    Saving a PNG image will revive deleted photos. To replicate this, save a PNG image, such as the ones on XKCD's "What If?", and deleted images get revived in the form of a thumbnail overlapping the image.
    This has been here since IOS 5, according to http://appleinsider.com/articles/13/11/14/bug-resurrects-deleted-image-thumbnail s-in-ios-7-photos-app-dates-back-to-ios-5
    Knowledge of this could be abused. If I get free acess to someone else's Ipad, I can just spam saving PNG images over and over to see their sensitive images saved as a thumbnail overlapping the PNG image's thumbnail.
    How do I delete the thumbnails? It seems that when you delete a photo, it saves the thumbnail. This is supported by the PNG images reviving deleted photos in the form of thumbnails.

    Send feedback/suggestions to Apple.
    http://www.apple.com/feedback/ipad.html
    Submitting Feedback to Apple
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/submittin g-feedback-to-apple
    File an Apple Bug Report, at http://bugreport.apple.com/
     Cheers, Tom

  • Zoom the images in asset library thumbnail preview column in display form

    Hi,
    I have a requirement is:
    i have an asset library with 1000 of images and on search of it in the results page, we customized to display the thumbnail preview of that image with title link which links to display form. in the search results on click of thumbnail image it will zoomin.
    we need to have the same functionality on display form also. how to achieve it?
    Aruna

    How are you doing this?
    If you delete in iPhoto and empty the iPhoto trash then all versions of the photo are gone
    If you use the finder to delete photos then you trash your iPhoto library and will ahve to start over
    As to faces - that is not an option so all iPhoto users have face thumbnails
    And it is very strongly recommended that you simply stay out of the iPhoto library - there are NO user servicable [parts in it and going into it endangers your photos and other data
    LN

  • How to Show Image form Library with Thumbnail view on visual Web part page using XsltListView web part?

    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart_AppWeb"
    runat="server" ListUrl="Lists/MyList" IsIncluded="True"
    NoDefaultStyle="TRUE" Title="XsltListView web part" PageType="PAGE_NORMALVIEW"
    Default="False" ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    For any List it work fine but for Image form library its not working:
    My url: http://sitename:portname/PublishingImages/Forms/AllItems.aspx
    Please provide Solution.
    Question:How To show image library with thumbnail view in Visual Webpart using xslt webpart.

    Is it throwing any error?
    do you set correctly the ListUrl parameter? in this case it will be "PublishingImages"

  • How to disable Firefox form generating a thumbnail on the tab when open an image url.

    Hello, I have recently installed Firefox 33.1 and noticed that, when I open an image on a new tab, some of them will show a thumbnail of the image I opened on the tab, while others don't.
    I am wondering, if there is a way to stop Firefox from making these thumbnails?
    Thanks.

    Feels like if an image is larger than around 1000 pixel on one side, it won't have a thumbnail.
    For example:1500*1500, 1362*768 don't have a thumbnail, while 1024*768 do.

  • Getting a thumbnail of XFA forms

    Hi - my company offers XFA PDFs for sale online, but want to give the viewer a preview of the document/form - or a large thumnail. This is possible for Acroforms and other docs they have, but not for the XFA forms. I have searched around for a solution, but have found nothing. Is there any way to do this?

    Hi,
    As far as I know there is no work around. I doubt if this is going to change any time soon. This behaviour can be seen in many places, XFA form attachments in emails, forms opened on the web, file explorer, etc.
    Acrobat X is available now, so maybe that may have features that can help you. Possibly group forms in a dynamic portfolio.
    Hopefully someone will have a better suggestion.
    Niall

  • Thumbnail Images Too Small

    I'm having a very big problem with my new iMac. The problem is the size of the thumbnails when opening a photo from an external program or uploading to a website. This is not a problem when browsing photos with the Finder. In the Finder, I see the little slider in the bottom right hand corner that makes it so you can enlarge. It is only the window that opens when you choose "open" from a program like Photoshop or by choosing "select photos" from a website like Facebook. The window that appears with the thumbnails of your pictures does not have the same slider that is present in the Finder to make the photos larger. I have tried changing the view to Cover Flow and at that point I can make my thumbnails about as big as I want, BUT, then I cannot view additional photos upon multiple selecting them.
    Is there anything that can be done about this at all. I use the larger thumbnails for nearly everything I do on my computer and it is almost grounds for divorce for me and my new iMac...I still love my iMac and don't want our relationship to end over this...hehehe...

    I don't know a way to increase that thumbnail size, but you can hit the space-bar while highlighting a thumbnail to see the image large-size (and then space again to zoom back out). While zoomed in, you can use the arrow keys to navigate around the file list. This works slightly differently when looking at images in Finder folders vs. images in your Media (Photo) library - in the former, a real "Quick Look" window appears in front of the file browser; in the latter, the image expands to fill the file browsing window.
    Matt
    Message was edited by: Matt Clifton

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • Can t send photo using whatsapp on iphone 4s. Choose existing photo from camera roll then, I can only see cancel, send , key and it says press and hold over a thumbnail to rearrange but chosen photo is black... should say blank...what happened?  Re

    Dear all,
    I want to upload photo form photo gallary while using whatsapp on iphone 4s either it was blank or the statement written over " pree and over a thumbnail to rearrange" comes at the bottom of white window haveing sing of cross at top left hand side...some of pics were able to send and some of them are not pl help me..

    PORT YOUR NUMBER OUT...T MOBILE WILL PAY YOUR ETF IF YOU GIVE THEM YOUR VERIZON PHONES.

  • Images in XML Form

    Hi Guys,
    Need some help here. I want to set a fix image in my renderlistitem view. I have store the images in a folder in KM and have place the file path at the 'image url' of the form. Unfortunately, when i try to disply in the portal, i got a blank image with a small 'x' with caption 'show this image'. What am i doing wrong here? Thanks

    HI
    while navigating in ur xml to fix the location of image could u able to have a thumbnail image   in the selection screen ?
    it could that generation of  thumbnail will be terminated automatically after 60 sec after this time u will find image with default x mark.
    try with image of low size ,as this could be one solution if i am predicting the problem correctly
    u may need to need to configure it in thumbnail plugins if u want ur high quality image to be loaded.
    http://help.sap.com/saphelp_nw70/helpdata/EN/6b/2e47403c3d1059e10000000a155106/frameset.htm
    Regards,
    Vijay.

  • With the following warning "ligheroom encountered an error when reading form its preview cache and n

    with the following warning "ligheroom encountered an error when reading form its preview cache and needs to quit.  lightroom will attempt to fix this problem the next time it lanuchse "
    ligheroom progrem 5.4 64-bit is stopped
    i can't use the Lightroom Progrem
    and want to solve the problem As soon as possible

    Delete preview cache - that should solve the problem.
    It's the .lrdata folder in with your catalog, named something like "My Catalog Previews.lrdata".
    Delete entire .lrdata folder, making sure you get the one in the same folder as the catalog you're opening. Do not delete anything else, and if you have something like "My Catalog Smart Previews.lrdata" - that's not it.
    http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    When Lr comes up, consider initiating whole-catalog building of standard previews (Library -> Previews menu), lest you be "forever" greeted by temporarily gray thumbnails and "loupe loading" indicator in the future..

  • Can see thumbnails but can't see actually pics

    Ok I have a really serious problem with iphoto. Every once in a while I will try to double click on a photo to view it but I will just get a white screen with the spinning thing like on startup. Usually I just delete the photo because it hasn’t happened to any important photo’s till now. All of the pics I took of my dog as a puppy are screwed up (as well as many others) The same thing happens to them. You can see the thumbnails but nothing more. I tried holding down apple, option control shift or whatever the combo is on iphoto startup and rebuilt the iphoto library but the same thingkeeps on happening. I tried dragging the thumbnails to the desktop and opening them in preview and I got this message “couldn’t open the file. It may be corrupt or a file format tht preview doesn’t recognize” I don’t know what to do. I really need these photo’s. oh an i have already done fsck, reset pram, repair permissions and all that jazz nuthin works. i'd like to know how to prevent this from happening and more importantly fix/repair the 'corrupt' photos because they are the only coppy of them that i have
    all of the photo's were taken with a sony cybershot 3.2 megapixel camera and uploaded straight into iphoto

    BH:
    Did you change the name of the files inside the iPhoto Library folder or the titles in the iPhoto window? If it's the former and you've done nothing else to the library here's a method you can use to get those files back and the library up and running normally. The "white" photos will be be back in their original roll but they should be back in the library.
    How to recover those photos lost due to renaming in the Finder
    1 - make a backup copy of your iPhoto Library folder
    2 - do a search of just the iPhoto library folder with the following criteria:
    File name contains ".jpg" and File size is less than 1 KB.
    That will find all of those zero sized files that were created when iPhoto couldn't fine the originals.
    3 - move those zero sized image files to the trash.
    4 - now delete those "bad" photos from the iPhoto library using the normal method. (you don't have to but if you don't they will be recovered every time you do a library rebuild with the "recover orphaned photos" option selected).
    5 - launch iPhoto with the Command+Option keys depressed and when the rebuild menu comes up select the last option, "Recover orphaned photos in the iPhoto Library folder"
    This will recover those renamed files and put then in a new roll. The only downside is that their titles in iPhoto will be "Roll xx-1, etc. You can do a Get Info on them, find the actual file name and change the title so they are the same.
    So it can be done with a little work.
    OT

  • How to show the 'hand' cursor on thumbnail link?

    Hi
    I'm a novice user, today is the 3rd time I've even worked in Dreamweaver ..I used to use Frontpage 2000 so this a quite a change for me. <:)
    I'm making a simple picture gallery using image thumbnails and wanted the full view images to load in a custom sized windows. I used the 'onclick'  and 'open browser window'  behaviour for each thumbnail and previewed it in IE & Safari. The windows were great, but I noticed the standard arrow pointer appears over the thumbnails even though they are links to full images..so nobody would know they are clickable. : /
    Is there some way in Dreamweaver CS4 to have the cursor change to the 'hand' form to indicated this is a link? I'm guessing it might be something to do with an 'on mouseover' trigger on the thumbnail, but I didn't see anything about cursors.
    Apologies in advance if I did not explain this in the correct terms or if it's a code issue that can't be addressed in Dreamweaver.
    Shelley

    Why not use a null link on the thumbnail to attach the behaviour to? and add the return false.
    <a href="javascript:;"><img src="FW-gradient-slice.jpg" alt="" name="Image1" width="185" height="176" id="Image1" onclick="MM_openBrWindow('FW-gradient-slice.jpg','','width=600,height=600');return false" /></a>
    Select the thumbnail and in the property inspectory, in the link box, type in javascript:; 
    Then apply the Open Browser window to the thumbnail as usual.
    You may want to look at using David's Smart Link Dreamweaver extension - very easy to use and valid:
    http://foundationphp.com/tools/index.php
    You will also need to add the following rule to the stylesheet (or in the head of the document if the style rules are there), to remove the blue border around the images...
    a img {border: none;}
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

Maybe you are looking for