Google-like loading of suggestions on the search field

Hello,

I am not a coder to make a better description then I did, but what I mean by this is, that tags would not be put into page body but be streamed on demand (if this is even an appropriate way to put it) just like on Google search.

My gallery has only about a 100 images, and approximately 10Kb worth of tags. At some point there surely will be 100Kb of tag text and more, so it would be great if the plugin could operate in a different way, if possible.

Thank you!

Comments

  • I did a quick search and it looks like this a take on what I've tried to describe - Cloning Google Suggest With Ajaxac.

    If I understood it right, all the data is streamed directly from the database, and is not kept in the body of a page all the time:

    "We will use a MySQL database to fetch all the suggestion data, to demonstrate how to use MySQL in AjaxAC."
  • acrylian Administrator, Developer
    But you know that many database queries might slow down your site the same way as loading them as text initally does? We just have basically one query to get the tags once per page load instead of multiple afterwards on request.

    I haven't looked at the site yet but I am not yet convinced.
  • Yes, I guess each approach has its pluses and minuses.

    It's not an issue for me the current plugin works, at the moment, but I am thinking about the future, when in a few years time I am planning to have thousands of images on all possible subjects.

    So then my tags would probably be of a size of a small dictionary, and I am not too keen on an idea for each page to have all these tags embedded in it. Especially when browsing on a smartphone over a 3G metered/paid connection. But of course technology is improving by day, and in a few years time it might not be a big deal.
  • acrylian Administrator, Developer
    Maybe be picky which what tags to use...;-) Zenphoto per se is not especially optimized for mobile browsing although we try to make it as fast as possible. Display can be optimized by using a special theme (a user made an iPhone theme a while back) and avoid special plugins (think of Flash video players). But I guess once you reach your dictionary size mobile browsing will have improved greatly (I did not even try that at all...).

    Zenphoto hopefully is still there as well in a few years...;-)
Sign In or Register to comment.