facebook

Link to dynamic images? – planned

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #309822 Reply

    radar
    Member

    Hello,

    I came across this program looking for a way to create an iPhone web page for my weather site.
    I use many images (radars and such), and they are not static. Also some are on other servers.
    I have not been able to find a way to get my images to work. I have only been able to just get
    a static (one I uploaded with the program) to work.
    Is it possible to link to images that are updated regularly?

    Also I have not been able to zoom the images on my iPhone4 once I upload and test on my site.
    The images are larger than will fit on the screen.

    I am not a professional at this (as you can probably tell). I know this is a work in progress, so maybe these
    are coming in a future release.

    I really like the ease of use, and that is works on a Windows PC.
    If you care to take a look at my test iPhone site it is here:
    http://www.corad.org/iphone/

    Thanks,

    Bill

    #309848 Reply

    wayne
    Moderator

    Is it possible to link to images that are updated regularly?

    As of the latest release 1.0M9 udpate-1 (today) images are static. But based on your scenario we plan to support dynamic images in next release. Thus you will be able to specific a path to local file on your file system or a URL to a remote image.

    Also I have not been able to zoom the images on my iPhone4 once I upload and test on my site.
    The images are larger than will fit on the screen.

    The reason for lack of zoom is that the code has been generated with the scale of 1.0 which prevents it from zooming. I’m researching this see if we can make it more flexible (no promises yet).

    Wayne
    Genuitec Mobile Team

    #309855 Reply

    radar
    Member

    @wayne wrote:

    Is it possible to link to images that are updated regularly?

    As of the latest release 1.0M9 udpate-1 (today) images are static. But based on your scenario we plan to support dynamic images in next release. Thus you will be able to specific a path to local file on your file system or a URL to a remote image.

    Also I have not been able to zoom the images on my iPhone4 once I upload and test on my site.
    The images are larger than will fit on the screen.

    The reason for lack of zoom is that the code has been generated with the scale of 1.0 which prevents it from zooming. I’m researching this see if we can make it more flexible (no promises yet).

    Wayne
    Genuitec Mobile Team

    That is great news, and thanks for the quick response.

    Bill

    #309864 Reply

    radar
    Member

    I was actually able to modify the HTML to get the zoom to work, which also made the page use the full
    screen when you rotate the iPhone (landscape).
    I changed meta maximum-scale=1.0 from the 1.0 to something greater (3.0 in my case).
    I also changed meta user-scalable=0 to user-scalable=1

    I know next time I add or modify the pages it will overwrite it.

    Bill

    #309930 Reply

    radar
    Member

    Hello,

    Just wondered if you had a time line for the next release that will allow dynamic images?

    Thanks,

    Bill

    #309952 Reply

    wayne
    Moderator

    We have a large number of features currently in the pipeline including dynamic images. Hopefully this feature will be available in the next month or so. I’ll post back here any more specific details once I know more.

    Wayne
    Genuitec Mobile Team

    #309959 Reply

    radar
    Member

    @wayne wrote:

    We have a large number of features currently in the pipeline including dynamic images. Hopefully this feature will be available in the next month or so. I’ll post back here any more specific details once I know more.

    Wayne
    Genuitec Mobile Team

    Thank you !

    #309960 Reply

    wayne
    Moderator

    Bill,

    I checked out your http://www.corad.org/iphone/ site and it is very cool.

    Nice work, dude!

    Wayne
    Genuitec Mobile Team

    #309963 Reply

    radar
    Member

    @wayne wrote:

    Bill,

    I checked out your http://www.corad.org/iphone/ site and it is very cool.

    Nice work, dude!

    Wayne
    Genuitec Mobile Team

    Thanks Wayne,

    Looks like your in the Dallas area and it is geared towards North TX, so you may be able to put it to use 🙂
    I am going to add more to it, that is why I wondered about the next update. Otherwise I have to modify all the
    HTML to get to my dynamic images.
    I probably would have never tried to create an iPhone web-app if I had not found this great software (MobiOne).
    BTW you can get to the web-app this way also:

    http://i.corad.org

    or

    http://iphone.corad.org

    Bill

    #310121 Reply

    radar
    Member

    Wayne,

    I know you are working towards being able to link to dynamic images (without having to modify the HTML), but I have another question. It appears now all the images are downloaded when you first open the web-app, at least on my
    test site. After the initial open, it appears the images will not update until you close the web-app and reopen it.
    In my case it would work better to get a new image every time that image is accessed rather than all of them getting
    downloaded when the app is first open. One a slow connection it takes a while for it to open at first while it gets all
    the images. Hope I was clear enough on the request. Maybe that’s not doable with iPhone apps, I really don’t know.
    Thanks,

    Bill

    #310131 Reply

    wayne
    Moderator

    I believe the issue for aggressive caching of images centers around MobiOne’s use of the HTML5 appcache. If you look at the code generated by MobiOne for your design you will notice a manifest file, (<design>.manifest). MobiOne creates this file and by default includes all of the resources that make the HTML runtime version of a design.

    This manifest file instructs the special HTML5 caching mechanism of mobile safari to download and store all of the resource listed. Then mobile safari will reference these cached resources until the manifest is updated. This is a nice optimization that enables MobiOne webapps to run more efficiently and in an offline mode.

    In the case of your app, the manifest probably list the images that you would rather load on-demand and have updated everytime a user launches the webapp. Try removing the images listed in the manifest that you do not wish to have cached.

    Note that AppSync’s “Send to My Phone” feature currently depends heavily on the manifest file to identify all of the resources that make up a webapp for upload. Thus if you remove any resources from the manifest they will not be included when you test with the AppSync service. This may not be an issue for you since you already are hosting your webapp.

    Let me know how it works out.

    Wayne
    Genuitec Mobile Team

    #310146 Reply

    radar
    Member

    Thanks Wayne,

    I have three manifest files on my server. The index.manifest, dfwrad.manifest, txrad.manifest files.
    Both the images (images/radar.gif and images/texas.gif) were in all three files.
    I removed both the images from all three files on the server, but didn’t see any difference. I still have to close the app
    to get a new image to display.
    Just FYI, there is actually no radar.gif or texas.gif in the /images directory on the server. Remember I changed the
    HTML to point to the URL’s of the images in all three of my <design.html> files to grab the latest images.

    It’s probably not that big of a deal. I hope to add more images later and just thought if they all have to load at the
    same time (on first open of app) it will really be slow, plus the fact that they will not update without restarting app.

    Thanks again, Bill

    @wayne wrote:

    I believe the issue for aggressive caching of images centers around MobiOne’s use of the HTML5 appcache. If you look at the code generated by MobiOne for your design you will notice a manifest file, (<design>.manifest). MobiOne creates this file and by default includes all of the resources that make the HTML runtime version of a design.

    This manifest file instructs the special HTML5 caching mechanism of mobile safari to download and store all of the resource listed. Then mobile safari will reference these cached resources until the manifest is updated. This is a nice optimization that enables MobiOne webapps to run more efficiently and in an offline mode.

    In the case of your app, the manifest probably list the images that you would rather load on-demand and have updated everytime a user launches the webapp. Try removing the images listed in the manifest that you do not wish to have cached.

    Note that AppSync’s “Send to My Phone” feature currently depends heavily on the manifest file to identify all of the resources that make up a webapp for upload. Thus if you remove any resources from the manifest they will not be included when you test with the AppSync service. This may not be an issue for you since you already are hosting your webapp.

    Let me know how it works out.

    Wayne
    Genuitec Mobile Team

    #313399 Reply

    radar
    Member

    Hi,

    It’s been a few months and my trial has expired. Before I bought MobiOne I wanted to know if the linking to images
    (from other pages / servers) is possible yet, as this is mostly what I need for my use. Mainly dynamic weather images.

    Thanks,

    Bill
    http://iphone.corad.org/

    #313403 Reply

    support-michael
    Keymaster

    Hi Bill,

    Dynamic images have been on our todo list since your initial request. We have not assigned the feature to a specific release due to all of our developers have been assigned to near-term releases (see roadmap post coming in next hour or so)

    Wayne
    Genuitec Mobile Team

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Link to dynamic images? – planned

You must be logged in to post in the forum log in