Joomla 4: In Modalbox not all full images are shown

Phoca Gallery - image gallery extension
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Joomla 4: In Modalbox not all full images are shown

Post by pat01 »

Hello

I'm using Joomla 4.

With this code
{phocagallery view=category|categoryid=22 limitstart=3|limitcount=3|detail=0|displayname=0|displaydetail=0|imageshadow=shadow1}

I show three images in a Joomla article. Clicking on one of these images opens the modalbox. There only three images are shown (those shown as thumbnails in article). But in category ID 22 there are more images.

Before in Joomla 3, in modalbox all images have been shown. So it was possible to limit the number of thumbnails but show all full images in modalbox.

Is there a change to the code in the article?

Thanks.

Patrick

Phoca Gallery 4.5.2
Joomla 4.2.5
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Joomla 4: In Modalbox not all full images are shown

Post by pat01 »

I changed the code to this:

{phocagallery view=category|categoryid=22|limitstart=0|limitcount=3|max=200}

But still only 3 images are loaded into Photoswipe.

How can I load all images inside of Photoswipe but show three thumbnails only in Joomla article?

Thanks.

Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 4: In Modalbox not all full images are shown

Post by Jan »

Hi, there is no such option, see:
https://www.phoca.cz/documents/50-phoca ... al-advices (8) - there is a little bit old information, but the explanation is still valid. Photoswipe is not an iframe popup but Javascript popup and such method only displays images listed on the site :idea:

Jan
If you find Phoca extensions useful, please support the project
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Joomla 4: In Modalbox not all full images are shown

Post by pat01 »

Hi Jan

It did work this way for sure ;)

I will send you a link to the "old" J3 website (I don't want to post it in public).

I noticed, that the Plugin in J3 had no settings. This means, for detail view it did get the type of modal window from the global options.

In J3 Phoca global options I had "Modal Box" set up, not Photoswipe. Maybe that's the reason why three tumbnails have been displayed and in Modal Box all images have been loaded.

The Plugin in J4 has an option but there is Photoswipe only:
https://prnt.sc/1ErHCd2_g58s

It seems, that the Plugin does not get the type of modal window from global options anymore.
This way I have no chance to select another type of modal window, because Photoswipe is the only one available in the plugin options.

Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 4: In Modalbox not all full images are shown

Post by Jan »

Hi, yes, in newest version, there is no option to select other method as photoswipe. Only photoswipe was implemented for now. :-(

Jan
If you find Phoca extensions useful, please support the project
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Joomla 4: In Modalbox not all full images are shown

Post by pat01 »

Hi

Thanks. I think it's Photoswipe that does not allow to load all images in modal window.
So, we wait for more types of detail window to come :)

Patrick
Post Reply