Photoswipe - EXIF popup unusable

Phoca Gallery - image gallery extension
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Photoswipe - EXIF popup unusable

Post by jb80 »

I am using the Photoswipe detail window, however I find the EXIF popup window is unusable. The popup box is too large/oversized and is not rendered correctly on the page. The header text is cutoff and there is no menu control to close the window. The issue is specific to Photoswipe option as other detail options seem OK, i.e. highslide, magnific. The PG EXIT demo page is showing a square popup window in the centre of the page, I would like to replicate this style. Testing the various options, magnific tends to render the best popup. However, I want to stay with Photoswipe detail window hence the need to get the EXIF popup working correctly. One solution could be to call the magnific popup window for EXIF only.

Ideally the popup window should be responsive in design, it should resize to fit the selected EXIF content. In my configuration I am only using ten (10) fields from the complete list. There shouldn't be excessive white space and/or an oversized html table. I am using Purity III responsive template with PG responsive option enabled. Picture of the current configuration below. Your assistance to improve this design is much appreciated :)

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

Re: Photoswipe - EXIF popup unusable

Post by Jan »

Hi, can I see the site where this occurs, to see the code :idea:

Jan
If you find Phoca extensions useful, please support the project
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: Photoswipe - EXIF popup unusable

Post by jb80 »

Hello Jan, please check your PM.
Your help is much appreciated! :|
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe - EXIF popup unusable

Post by Jan »

Hi, now I see. Photoswipe does not have any iframe alternative, so the EXIF ist not displayed in Photoswipe but in modal box.

Modal box gets this size: {handler: 'iframe', size: {x: 1200, y: 900}, overlayOpacity: 0.3}. What is your setting for popup window in Options of Phoca Gallery? Try to change the sizes.

Jan
If you find Phoca extensions useful, please support the project
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: Photoswipe - EXIF popup unusable

Post by jb80 »

Oh, I was unaware the EXIF box size was configurable! :o I was able to change the following parameters to achieve the desired results;

Code: Select all

Detail Window Width = 500
Detail Window Height = 500
I note there is no reference to this configuration in the Phoca documentation. Extract as it is listed;
Detail Window Height/Width - Set width of detail window in frontend (Iframe Methods - Modal Box, Stantard Popup Box, Highslide JS
Perhaps it could be enhanced to include EXIF popup window for those like me that didn't realise it was using the Modal box method :D Thank you for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe - EXIF popup unusable

Post by Jan »

Ok. Yes, the Exif popup is an iframe popup window.

Jan
If you find Phoca extensions useful, please support the project
Post Reply