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

Image in a grid not displaying on a page layout

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

    Image in a grid not displaying on a page layout

    Grid w. image field in a page layout launched from a destop from using Action Scripting.


    Note: the grid images display fine in live preview.
    And the grid images display fine on the page layout in live preview.


    However, when the page layout is launched from a form using action scripting, it fails to display the images.

    To summarize:
    • Image in a grid on a page layout displays in live preview but not when launched using Action Scripting.
    • Image file referenced using a path alias
    • MySQL table


    I have been informed this is not a bug but I don't know the solution to get it to work.


    Please see short video...


    http://www.screencast.com/t/d2s91q78
    Peter
    AlphaBase Solutions, LLC

    [email protected]
    https://www.alphabasesolutions.com



    #2
    Re: Image in a grid not displaying on a page layout

    Well for that matter, just running the grid itself w/o the page layout from action scripting also fails - i.e. no images.
    Peter
    AlphaBase Solutions, LLC

    [email protected]
    https://www.alphabasesolutions.com


    Comment


      #3
      Re: Image in a grid not displaying on a page layout

      What you may miss here is the fact that a grid displaid on a form (or activated through a button) is actually running in WORKING PREVIEW MODE, thus NOT in live preview mode. This means, you can�t compare the 2 directly. They are different animals!

      If you run the grid in Working Preview Mode, do the images then appear?
      What is the format of the images, png-bmp-jpg ?

      Simple things to check: in the grid, the pictures are not automatically resized "to fit" as in the forms can be set. Did you have a look at the image field settings? Try to make the size of the images very, very small and see what happens then.

      Comment


        #4
        Re: Image in a grid not displaying on a page layout

        Actually, I have the grid image set to 200px wide. But you are right, the image won't display in WP (which is to be expected). Nonetheless, Selwyn says it is not a bug and apparently there is a way to show them on the desktop (thru a grid) but apparently i have to pay to find out the secret. Thanks for your interest, Marcel.
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          Re: Image in a grid not displaying on a page layout

          Hmm I find that hard to believe. I actually got THAT to work here in my own application. Maybe, the solution is in the format of the image. What I did was actually use the IMAGE field in the grid, and upload JPG (not through the grid though). Made it smaller, like a thumbnail, and it loaded perfectly Peter. No problems whatever, and it WAS in WP mode!
          If it runs in WP mode outside the form, in my humble opinion, it should also run ON the form. Why not try the supercontrol and embed the grid on the form, see what happens then? Also, look at the characteristics of your image field in the grid. Is all set right? Try different formats and look. This should work.

          Comment


            #6
            Re: Image in a grid not displaying on a page layout

            Marcel,

            Did you see my video above?

            I will try embedding the gird on a form - currently using xdialog to display grid.

            Here are the facts:
            • jpeg images
            • MySql backend - image field stores the image filename
            • Alias defines the path to the images
            • works fine in live preview (and on the web)


            But ultimately I need to use a page layout, although I suppose a dialog would be okay. But only if I can see the damn images! GGRRR!!!
            Peter
            AlphaBase Solutions, LLC

            [email protected]
            https://www.alphabasesolutions.com


            Comment


              #7
              Re: Image in a grid not displaying on a page layout

              I have seen the vid but could not hear the sound due to low volume (on my laptop). I know what you mean, sometimes one can loose a tremendous amount of time on virtually nothing. That's annoying and frustrating. I know.

              Check the field in the underlaying table. Is it an image field, or?

              Try the following.

              Create a DBF table. (Yes I know you said MySQL)
              See to it that in the dbf table the actual field is an image type field.
              Load an image in the form associated to that table. So that it is already IN the table.
              Then, create a grid component based on that table. See to it that the field in the grid also is image. Check the image size.
              Now look at the result in WP mode. Does it work NOW?
              If it does, your problem might be related to MySQL.

              Just an idea to help you get over this tough moment :-)

              Comment


                #8
                Re: Image in a grid not displaying on a page layout

                Marcel,

                Here are two images:

                Grid w. images embedded on form:

                embedded image grid on form.gif

                The same grid in live preview:

                image gird live preview.gif
                Peter
                AlphaBase Solutions, LLC

                [email protected]
                https://www.alphabasesolutions.com


                Comment


                  #9
                  Re: Image in a grid not displaying on a page layout

                  I know that you set the alias in the WAS but do you need to also set them in the desktop control panel?

                  Comment


                    #10
                    Re: Image in a grid not displaying on a page layout

                    I think your suggestion in post #7 won't help because that treats the problem a completely different way and in a way I can't use in MySQL. But thank you for helping.
                    Peter
                    AlphaBase Solutions, LLC

                    [email protected]
                    https://www.alphabasesolutions.com


                    Comment


                      #11
                      Re: Image in a grid not displaying on a page layout

                      Originally posted by Allen Klimeck View Post
                      I know that you set the alias in the WAS but do you need to also set them in the desktop control panel?
                      Allen,

                      Yeah, I tried setting the alias in View/Settings/Alias as well. No dice.
                      Peter
                      AlphaBase Solutions, LLC

                      [email protected]
                      https://www.alphabasesolutions.com


                      Comment


                        #12
                        Re: Image in a grid not displaying on a page layout

                        Yes, it is different, but if THAT works, it might tell you where to look. Approaching problems from different sides might learn something. Until now, there is not much else brought on the table to solve this.
                        Would the format have something to do with it. I noticed those are gif's. They have a compression format that might be of influence. Do BMP's give the same result Peter?

                        Comment


                          #13
                          Re: Image in a grid not displaying on a page layout

                          Marcel, the images are jpegs as stated in post #6. The sanpshots of the images in this thread are gifs. There are thousands of high resolution images - all jpegs.

                          I understand your point. I'll let you what, if anything, I find.
                          Peter
                          AlphaBase Solutions, LLC

                          [email protected]
                          https://www.alphabasesolutions.com


                          Comment


                            #14
                            Re: Image in a grid not displaying on a page layout

                            Peter,

                            Did you solve this question ?

                            I have an image (bmp) in a grid title (html) which actually DOES show when I show the grid in "working preview"-mode, but as strange as it may seem, it does NOT show up when I open the very same component in the "working preview" mode of the Tabbed UI Builder........ go guess?

                            Icons specified however in the Tabbed UI Builder DO show and they are actually the same pictures.

                            It is these kind of behavior within Alpha that can drive you mad from time to time. I don't have a clue as to why it would show up in WP mode of the component but not in WP mode of the same component in the Tabbed UI builder? Someone?

                            The picture actually IS available in the Web Projects CP Image section.

                            Comment


                              #15
                              Re: Image in a grid not displaying on a page layout

                              Originally posted by mronck View Post
                              Peter,

                              Did you solve this question ?
                              Negative. For now it's on the back burner. Had to move on to more pressing issues. However, when the time comes, it will have to be resolved.

                              Yes, it is frustrating, for sure.
                              Peter
                              AlphaBase Solutions, LLC

                              [email protected]
                              https://www.alphabasesolutions.com


                              Comment

                              Working...
                              X