Picture Control for browser enabled forms - InfoPath Dev
in

InfoPath Dev

Picture Control for browser enabled forms

Last post 03-14-2012 06:50 AM by gadba. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-30-2007 12:05 PM

    • GinaK
    • Not Ranked
    • Joined on 09-28-2007
    • Posts 1

    Picture Control for browser enabled forms

    I have a infopath form that I want to be viewable from a web browser. I need to display pictures and also allow users to upload pictures of their own. Picture Control is disabled if I enable the browser-enable option. How can I display an image in infopath form?

     Thanks.

  • 09-30-2007 07:22 PM In reply to

    Re: Picture Control for browser enabled forms

    Browser-enabled forms do not support picture controls so there is no easy way for you to achieve what you are trying to do.

    The best workaround is to use a read-only rich-text control. However, rich text fields do not support embedded images when your form is browser-enabled. Instread they support linked images that have to exist somewhere else. With this in mind, a possible way of enabling custom-uploaded pictures would be this:

    - Introduce a file attachment control where the users will provide the picture
    - On the server, save the picture to some location that is accessible by the browser
    - Delete the file attachment field from the xml and insert the picture's url into the rich text field

    Please be warned that this approach requires a significant amount of work and has multiple drawbacks (such as writing a lot of code and figuring out the storage model).

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-23-2008 10:11 AM In reply to

    • SkiBum
    • Not Ranked
    • Joined on 04-23-2008
    • Posts 1

    Re: Picture Control for browser enabled forms

    I'm trying to use a linked image in a rich-text control as a workaround for not having a picture control in web-enabled forms.  I figured that if I can set the default value on a read-only rich text control to point to a linked image then I can display a company logo on a web-enabled form.  Is there a way to enter the reference to a linked image as the default property on a rich text box?  The default value box on the properties dialog is not rich text itself so I can't past the image link into it.

    Filed under: ,
  • 03-01-2009 11:57 PM In reply to

    Re: Picture Control for browser enabled forms

    hi. how about if youre using a web based form to display the picture from a parameterized asp?

  • 03-02-2009 02:30 AM In reply to

    Re: Picture Control for browser enabled forms

     

    Hi there,

    I've tried this already. It only works if the URL is pointing at the exact image (that is .gif or .jpg) but when the URL is a parameterized ASP, it wont display it. Do you have any suggestion?

    Many thanks.

  • 03-02-2009 02:35 AM In reply to

    Re: Picture Control for browser enabled forms

    Oh I forgot the parameterized ASP URL works if I put it in the picture control which we all know is not available for web-based forms.

    I don't know if I'm using the right term but what I meant by the parameterized ASP is in the form of (for example) http://www.sample.aspx?doc=lewqiupoej9380328&list=e92i99iikjdsalkdjsla2 which points at the image so when you enter this to the browser, it renders an image file.

  • 04-27-2009 07:10 PM In reply to

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Re: Picture Control for browser enabled forms

    Hi,

    I encountered the same problem on the button image. I have visited the links provided at above and however the discussions provided on the above links are displaying image on repeating table.

    I was trying to achieve to put an image on my form button only. How can i achieve it? Is it using the same logic as shown on this link :

    http://www.bizsupportonline.net/browserforms/display-images-browser-form-repeating-table-rich-text-box-control.htm

    I'm very new to InfoPath and I'm still learning.

    Please advice. Thanks. 

     

  • 03-13-2012 01:14 PM In reply to

    • gadba
    • Not Ranked
    • Joined on 03-13-2012
    • Posts 2

    Re: Picture Control for browser enabled forms

    Following is the error message I am getting when I try use Rich Text field in Firefox, works in IE.  It only allows to input the field by removing all rich text formatting and editing the content of this control in plain text format

    "Your browser does not support the InfoPath Rich Text Edit control."

    Can anybody help, please?

  • 03-13-2012 02:07 PM In reply to

    Re: Picture Control for browser enabled forms

    I think the message is pretty clear - the rich text field control in your browser form is not supported in Firefox. This link claims that there is full functionality in browser forms in Firefox 1.5 and above. However, there appear to be caveats:

     It is possible for users to edit text in a rich text box in any supported browser, but formatting options are unavailable, including changing the text color and applying character formatting.

    Hilary Stoupa

  • 03-14-2012 06:50 AM In reply to

    • gadba
    • Not Ranked
    • Joined on 03-13-2012
    • Posts 2

    Re: Picture Control for browser enabled forms

    I tried this link before, there is no solution provided, they only talk about whether the browsers support or not, mine does not. Did anybody have this problem before? I am new to SharePoint, need help.

    Thanking in advence

Page 1 of 1 (11 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.