Member
Member
Soleil   2009-07-27, 08:00
#1

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 !

Administrator
Administrator
acrylian   2009-07-27, 09:00
#2

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.

Member
Member
Soleil   2009-07-27, 09:33
#3

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.

Member
Member
flu   2009-07-27, 12:34
#4

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.

Member
Member
Soleil   2009-07-27, 12:58
#5

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.

Member
Member
flu   2009-07-27, 13:25
#6

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

Administrator
Administrator
acrylian   2009-07-27, 13:53
#7

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).

Member
Member
flu   2009-07-27, 14:22
#8

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.

Administrator
Administrator
acrylian   2009-07-27, 15:15
#9

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

Member
Member
sbillard   2009-07-27, 16:34
#10

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.