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.
Autoadjust size modal box to imagesize
-
- Phoca Member
- Posts: 10
- Joined: 07 Apr 2008, 10:45
- Location: Netherlands
- Contact:
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Autoadjust size modal box to imagesize
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/
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
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Aug 2008, 03:22
Re: Autoadjust size modal box to imagesize
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
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
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Autoadjust size modal box to imagesize
Maybe you should use Parameters Component for setting the modal box height and width, see:
https://www.phoca.cz/documentation/index ... -in-joomla
Jan
https://www.phoca.cz/documentation/index ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Aug 2008, 03:22
Re: Autoadjust size modal box to imagesize
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
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
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Autoadjust size modal box to imagesize
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
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)
Backup before you do any major change to your website (and test first)