Autoadjust size modal box to imagesize

flodo
Phoca Member
Phoca Member
Posts: 10
Joined: 07 Apr 2008, 10:45
Location: Netherlands
Contact:

Autoadjust size modal box to imagesize

Post by flodo »

It would be great if the size of the modalbox does adjust to the imagesize. Now when a image is shown that had a portret size (i.s.o. landscape) there are spaces on both sides.

another request:
The possibility to choose between the lightboxstyle as it is right now and the shadowboxstyle (as yootheme has.)

Thanks a lot for all your effort.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Autoadjust size modal box to imagesize

Post by Jan »

hi, this is not possible because of some behaviour in the box (slideshow, buttons, download image, map, ...)

you can display the detail:

- in standard popup
- modal box
- swicht image box
- in overlib box
- in piclens slideshow

no other methods yet...
see demo:
https://www.phoca.cz/phocagallery/demo/
If you find Phoca extensions useful, please support the project
Marek
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Aug 2008, 03:22

Re: Autoadjust size modal box to imagesize

Post by Marek »

Hi Jan,

I was trying to adjust the hight and width of the modal box using gallery parameters in back end as well as adjusting the view files in the views folder. None of it worked for me and it is important as the box is somewhat larger then my browser window. Could you give me some suggestions.

Otherwise it is a great component and great plugins.

Thanks a lot for all your work.
Marek
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Autoadjust size modal box to imagesize

Post by Jan »

Maybe you should use Parameters Component for setting the modal box height and width, see:

https://www.phoca.cz/documentation/index ... -in-joomla



Jan
If you find Phoca extensions useful, please support the project
Marek
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Aug 2008, 03:22

Re: Autoadjust size modal box to imagesize

Post by Marek »

Hi Jan,

In Global Configuration I don't get Component, I get Site, System, Server. And where do I find Parameters Component? I'm using 1.5.4.

But on related note, I think the problem is only with the article plugin and not with the gallery itself. The it is the plugin that takes some global configuration parameters but not others (ie. borderhover or namedisplay).

Thanks,
Marek
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Autoadjust size modal box to imagesize

Post by caro84g »

Hi, for the Phoca Gallery plugin you can enable the parameters (like bordercolor) in the code. See:
https://www.phoca.cz/documentation/index ... ery-plugin
https://www.phoca.cz/phocagallery/demo/i ... ery-plugin
https://www.phoca.cz/phocagallery/demo/i ... ugin-float

For the main component you create a menu link to a category (or categories) and there you have component parameters (as well as basic parameters, where you choose your category i.e.) See:
https://www.phoca.cz/documentation/index ... w-resizing

Good luck!

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply