Page 1 of 1

wrong detail window size

Posted: 29 Jan 2011, 03:37
by Rapante
Greetings!

The standard setting for big images is 640x480. When I change this to 800x600 the pictures are displayed in the correct size, but most of the available detail windows (like modal box) do not adjust accordingly. Instead, the pictures covers the controls for switching etc. :x

How to solve this?

Re: wrong detail window size

Posted: 29 Jan 2011, 13:34
by rob-van-baal
I tried exactly the same and couldn't get it working properly either. Checked out the sources and found several hard coded 640 values. So I got it as as far as 800x600, but every time a picture is show/build up, it starts with 640 en then enlarges to 800. Not very nice to look at and not all paths to your picture behaved on the same way.
Eventually I gave up using the 800 width.
So I'm back to 640. You cannot have an exact match of all your wishes when using open source software...

Re: wrong detail window size

Posted: 29 Jan 2011, 17:27
by Rapante
rob-van-baal wrote:You cannot have an exact match of all your wishes when using open source software...
You are right. But if the implications are not considered in the first place, then why even offer changing the values in the first place? Also, I see this as very basic must-have functionality with much higher priority than many of the other offered features.

Re: wrong detail window size

Posted: 29 Jan 2011, 17:57
by Jan
Hi, sorry I don't understand?

If you change the size of your thumbnails to 800x600 and you set the size of detail window to same size (plus e.g. description or button area), e.g. to 820 x 660 (plus 60 for description or buttons), I see no problem there :idea:

Phoca Gallery doesn't set fix sizes for thumbnails nor for detail windows, maybe you mean the default sizes which are called if on parameters are saved. Every parameter in Joomla! must have some default value, in case no parameters were set, but it does not mean, the parameter is fix. If it will be fix, then it does not make any sense to list it in parameters.

Anyway there are two kinds of detail windows which have different behaviour:
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

Jan

Re: wrong detail window size

Posted: 30 Jan 2011, 01:57
by Rapante
Jan wrote:If you change the size of your thumbnails to 800x600 and you set the size of detail window to same size (plus e.g. description or button area), e.g. to 820 x 660 (plus 60 for description or buttons), I see no problem there :idea:
Haha. You're right. I just discovered the feature to adjust it manually. Please excuse my blindness :D I was expecting it to handle it automatically. You can delete this thread ;)

Re: wrong detail window size

Posted: 05 Feb 2011, 17:53
by Jan
Ok