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 gallery not showing my pictures

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

    Image gallery not showing my pictures

    I am having problem getting the image gallery to show anything other than the pictures comming with Alpha Five.

    I have tried to add pictures to the image gallery(the default one), and running the component, with no luck, I did publish to local webroot.

    I have tried to create a SQL table, using the genie to create the table, and after that added the directory path and image name to the table, still only displaying the default picture.

    So what am i doing wrong, by the way I have also tried to add the images as an alias.

    #2
    Re: Image gallery not showing my pictures

    Well - show me what you are doing and I'll let you know... it is sensitive

    start with jpg files only
    in your image folder have a sub folder for your own images say boats under that folder have your thumbs folder
    your image folder should look like this..

    root folder (this is the folder that has your application in it so you are looking for the .adb file)
    |
    images
    |
    boats
    |
    thumbs

    in the image component the gallery location will look like this c:\rootfolder\images\boats

    then away you go.


    to move to the server address the webroot folder - you will get it going ...
    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein, (attributed)
    US (German-born) physicist (1879 - 1955)

    Comment


      #3
      Re: Image gallery not showing my pictures

      Hi Pete,

      Thanks for replying, I beleive that what you are suggesting is what I have, I have attached a couple of screenshots to show this, basically what I am doing is just creating a new image gallery, and the running it.

      I have tried to add the pictures i want to the default thumbs folder also, but I dont seem to be able to show anything but the delivered pictures.
      Attached Files

      Comment


        #4
        Re: Image gallery not showing my pictures

        It's actually really simple.

        The default directory in the builder is Images and you have not changed that.
        So by default we look in the specified directory, in this case Images and look for a sub-folder called thumbs.
        In the thumbs directory are images with the same name, NOT PREFIXED with tn_ which you have included. These thumbnail images should be sized at 75px x 75 px.
        We will re-size these on the fly but we just resize the div so it's a waste of resources to include thumbnails sized anything but 75 x 75.

        Since you have included your images in a subdirectory contained within the images directory, you'll need to specify the directory as Images/Vancouver. Keep in mind, the file names are case sensitive in some browsers.

        Once you've got it properly configured, you should see your thumbnails and images.
        If you don't, look in the LivePreview folder and verify that your images are there.
        If they aren't just copy them in to the appropriate directory.
        Bob Moore


        Comment


          #5
          Re: Image gallery not showing my pictures

          Thanks Bob, but I have now tried the changes you suggest, the pictures is now named Vancouver_001.jpg Vancouver_002.jpg and so on, I have moved the the Vancouver folder so it is at same level as the Images folder, and changed the picture size to 75X75 pixels, i have published everything, but still no luck, as you can se in the snap7 attachment I now is referencing to the Vancouver folder, where the thumbs subfolder containing the Vancouver pictures is located but I am getting the error shown in the snap6 attachment.

          For the records I also tried to move the pictures to the Images folder, still no pictures in the view, I the tried to rename so they were same naming as the delivered pictures, just the next number in the line, still no luck.
          Attached Files

          Comment


            #6
            Re: Image gallery not showing my pictures

            Bob I have added the db if you want to se what I have done
            Attached Files

            Comment


              #7
              Re: Image gallery not showing my pictures

              Ok but does the Vancouver folder have the same images with the same name but sized at say 1024 x 768?
              Bob Moore


              Comment


                #8
                Re: Image gallery not showing my pictures

                No Vancouver is 75X75, snap9 and snap10 from previous post is showing how Vancouver is now.

                Comment


                  #9
                  Re: Image gallery not showing my pictures

                  Well if all you have are thumbs and no full size pictures in the parent we're not going to display anything!

                  Study the contents of images and the sub directory thumbs under images. That's what you need to mimic.

                  In your case, you need one set of pics sized at (preferably) 1024 x 768 in the Vancouver directory and another set of pics sized at 75 x 75 in the Vancouver\thumbs directory.
                  Bob Moore


                  Comment


                    #10
                    Re: Image gallery not showing my pictures

                    After having plyed a little with this, I found taht adding pictures to the image library i my project library will not show anything regardles of picture size, references or anything it doen't matter if I copy to the image library or I add them from within Alpha five, when I publish I can se that the pictures I have added is being published also.

                    I then tried to delete everything in the image libray, and the when I was running the imagegallery component, it recreated the demo data every time, then after looking into the Alpha five V11 directory in program data, I found the pictures delivered by Alpha, and I tried to add my picture to those library's and now my pictures is showing up in the component, but surely you should not have to add pictures to the program library ??

                    Snap11.jpg

                    By the way, i have just been watching the video with putting the image gallery into a tabbed ui, and I can see that when creating the image gallery component, there are 4 tabs Design|Preview|Live Preview|Working preview when I create the image component I only have Design|Live Preview could it be a problem here.
                    Last edited by JimDK; 10-21-2011, 01:05 AM.

                    Comment


                      #11
                      Re: Image gallery not showing my pictures

                      I have now been testing on the image gallery component a couple of days, and as seen in previous post in this thread I started out by having my images in the wrong position and size, but after having corrected this I still had problems getting the component to work. I tried all I could think of to get it to work but no luck, I could see on my computer that after publishing the libary was there on the webroot, so I could'nt understand why it did'nt work, ofcourse it had to be me, i mean Bob was telling me that it worked and all I had to do was to ensure that My pictures were en the right libary with the right sizes, and that I had a thumbs libary underneat with 75X75 jpg files in it and ofcourse with same names, my setup is:

                      C:\A5V11\Feriebilleder\Feriebilleder.WebProjects\Default.WebProject\Images\thumbs for the delivered image gallery, and
                      C:\A5V11\Feriebilleder\Feriebilleder.WebProjects\Default.WebProject\Vancouver\thumbs for my own image gallery

                      but every time i tried the live preview on the component, with Vancouver as the image library it failed, error in the java component and no display, on the delivered image library no problem

                      then after watching Bob's video about image gallery in the tabbed UI I decided to try it in a page, I created a tabbed UI with two components in, one pointing to the delivered images, and one pointing to my image library(did still not work in live preview), and the I published the page, and now nothing worked in IE8, I the switched to firefox, and suddenly both tabs worked.

                      I have now tried different browsers, also with a normal weboage with my Vancouver component in, and it work with Crome, Safari and firefox, but when using IE8 it is not working, allthough it does show pictures, but only thumbnail, and they are right down at the bottom of the screen
                      Snap12.jpg
                      you have to scrool down for quite a while to get there, so IE8 is definitively not working.

                      By the way I am running Windows 7 32 bit.
                      Last edited by JimDK; 10-21-2011, 06:00 AM.

                      Comment


                        #12
                        Re: Image gallery not showing my pictures

                        That was a bug several issues ago - are you on the current build? - Image gallery final was within the last 5 days.
                        Insanity: doing the same thing over and over again and expecting different results.
                        Albert Einstein, (attributed)
                        US (German-born) physicist (1879 - 1955)

                        Comment


                          #13
                          Re: Image gallery not showing my pictures

                          IE8 is not HTML5 or CSS3 compliant, which is why many of these things don't work as expected. ALL current Browsers, including IE9 work fine. Older browsers, not so much. I don't think it is realistic for us to expect users to keep up with the latest and greatest browser. I also believe that the image gallery was originally meant to be a mobile component and not meant for general web and desktop applications. But since it now is, there should be a way with dealing with all browsers, not just those that are HTML5 and CSS3 compliant. There are way too many users in this world that are not using these browsers. With that said, there is also a point where you can no longer try to be backwards compatible with old technology and have some of the cool stuff that is out and coming out. Perhaps a simple way of displaying an alternate page or message if the browser and component are not compatible?
                          Bill Griffin
                          Parkell, Inc

                          Comment


                            #14
                            Re: Image gallery not showing my pictures

                            Pete I am on the latest build 2199_3810, and the other days I also was on what was the latest build taht day, at the moment I am updating every day.

                            And Bill you are right IE8 is not compliant and that is ok, but I would like to be able to se the live preview in the component build, but anything except the supplied default is resulting in a js error '0.offset is null er not an object' in 'http://localhost:90/LivePreview/javascript/a5_igallery.js', but putting the component into an a5w page and it can be shown.

                            Comment


                              #15
                              Re: Image gallery not showing my pictures

                              Clear the cache of IE even when you don't use it (Alpha uses it for it's live Preview) , delete the contents of your Webroot folder , save your component (unsaved igc component in the current build behaves different from saved igc component as it does not publish the folder with the images to the webroot) This should work.
                              Frank

                              Tell me and I'll forget; show me and I may remember; involve me and I'll understand

                              Comment

                              Working...
                              X