zenphoto forums » General Zenphoto Discussion

Image size according browser size

(10 posts)
  1. Soleil

    Senior
    Joined: May '07
    Posts: 87

    Is there a way to have the image size changed according to the browser size, for instance width 1200 pixels for large browsers and width 600 for small browsers. Is any of the themes supporting this feature? Has anybody a php script to make this feature work?

    Your answer will be very much appreciated !

    Posted 3 years ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,368

    No, there is no theme with this and no script. It surely would be possible, but you will have to build your own and you will probably need additional JavaScript for this, too.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  3. Soleil

    Senior
    Joined: May '07
    Posts: 87

    Thanks a lot, acrylian, I'll have to think it over and would be happy to post the results if I manage to find something.

    Posted 3 years ago #
  4. flu

    Contributor
    Joined: May '08
    Posts: 215

    Hi Soleil,
    I'm also interested in this feature and I've seen it on this site :
    http://gallery.gromoff.ru/
    It seems to be done with javascript but I have not enough time actually to really look further.

    If you go ahead on this, please let me know.

    Posted 3 years ago #
  5. Soleil

    Senior
    Joined: May '07
    Posts: 87

    Hello flu,

    I had seen this feature also in the beautiful gromoff site.

    My problem is time too and my little knowledge of javascript, but I will try nevertheless.

    Maybe this link could be of help: http://atomgiant.com/2006/05/30/resize-images-with-javascript/ (see also the discussion).

    I hope someone else has ideas too! Seems to be an important feature.

    Posted 3 years ago #
  6. flu

    Contributor
    Joined: May '08
    Posts: 215

    Thanks. I'll give a try and let you know.

    Posted 3 years ago #
  7. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,368

    Remember Zenphoto comes with jQuery as default js libary that makes life easier sometimes (note we still use jQuery 1.2.6 for several dependency reasons).

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  8. flu

    Contributor
    Joined: May '08
    Posts: 215

    Hi Acrylian,
    yes I've noticed that for sure as I'm actually trying to play with Zenphoto and some jquery plugins.
    Sometimes the last jquery version seems to be required.
    Would you have more infos about the dependency reasons ?

    Thank you.

    Posted 3 years ago #
  9. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,368

    I do not remember the specific dependencies but some of the jQuery plugins we used had a conflict. Will ask sbillard if he remembers.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  10. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,774

    The latest versions of jQuery break the image/album drag & drop sorting when using Internet Explorer. Sadly, our developer who made these sorts has gone inactive and the javascript error seem not obvious. It is actually the jQueryUI plugin which exhibits the problem, but of course, we have to run a jQuery level compatible with that code.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.