Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

How to Display a non-Static Image via URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Display a non-Static Image via URL

    How do you display an image that is available via a URL? This is not a static image. I have a table of product data. A field in the table contains the completely formed URL of an image file. I would like to display an image of the product along with product details that are fetched from data that is in the product data table. I'm trying to build a UX component to do this. I have everything in place except for the image. I'm just clueless on how to proceed. I do not understand what kind of "container" I need to put onto the UX form to display the image and I have no idea how I would pass the image into the container once I knew what kind of container to use. To make things even more interesting I would like to eventually offer the ability to have multiple images for the same product. So I would want a way of either displaying all of the images or give the user the ability to scroll through the available images.

    Just a little nudge should get me on track. Please help if you have a clue to give me.

    Thank you,
    CPGood

    #2
    Re: How to Display a non-Static Image via URL

    Could you post a couple of rows of data showing the URL and the product details? Or the table itself (you don't say where your table is coming from). Posting your UX would help as well. Sometimes this stuff is just a big guess until a few details are known.

    Comment


      #3
      Re: How to Display a non-Static Image via URL

      So lets forget the URL speak.

      1. A field in the table contains the completely formed URL of an image file. - where is the image located, WAS, Amazon, just some other server..? Show an example of completely formed.
      2. How do the images get to the location?
      3. What database backed are you using?
      4. Are you using Lists and Detail Views?
      Insanity: doing the same thing over and over again and expecting different results.
      Albert Einstein, (attributed)
      US (German-born) physicist (1879 - 1955)

      Comment


        #4
        Re: How to Display a non-Static Image via URL

        Hello Everyone,

        Thank you for your replies. Here is the information requested:

        1. MySQL database
        2. Images and database are hosted on RackSpace.
        3. In the database there is a table called products. In this table is a field called image_url.
        4. This is a value for one of the image_url's http://099c539febdc0e564774-bde05fef...764e100d45.jpg
        5. As far the question of Lists and Detailed views ... I'm not that far along. I have been experimenting with a UX web component and I am trying to understand what kind of control to put onto the component to display the image and how to pass the URL of the image into the control so that the image can be displayed.

        Thank you,
        CPGood

        Comment


          #5
          Re: How to Display a non-Static Image via URL

          Create a data-bound UX to your Products table. Add your fields. If you work through the genie one of your fields will be image_url... a textbox.

          In the properties for image_url, change the control type to Image. That's all there is to it... for a simple, data-bound UX.

          The List control with a Detail View is essentially the same... so if you'd like to go that route, post again.
          Attached Files

          Comment


            #6
            Re: How to Display a non-Static Image via URL

            Hi David,

            Thank you. This is great! I will work through your instructions. You made one comment that interest me that I do not understand. You seem to be alluding to a genie that can be used to build a UX component "If you work through the genie one of your fields will be image_url... a textbox." How do you access and launch this genie? I am on the latest build of A5v12.

            Thank you,
            CPGood

            Comment


              #7
              Re: How to Display a non-Static Image via URL

              Create a new UX component... it will be empty. Then add a textbox control. The "New Control" dialog will pop up and at the bottom you'll see a link... populate List from a table. In this case it means populate the New Controls list (not a List control) from a table. It'll take you through the process of choosing a connection string, a tables, it defaults to all fields but you can turn that off and choose what you want. Data-binding is added for you.

              The current pre-release also builds in server-side action scripting and navigation controls, if you want them.

              Comment


                #8
                Re: How to Display a non-Static Image via URL

                Hi David,

                Thank you. You are very kind to share your knowledge and experience.

                CPGood

                Comment


                  #9
                  Re: How to Display a non-Static Image via URL

                  Seems you guys are under some control now. Good luck with it mate.
                  Insanity: doing the same thing over and over again and expecting different results.
                  Albert Einstein, (attributed)
                  US (German-born) physicist (1879 - 1955)

                  Comment

                  Working...
                  X