Image Title magnific

Phoca Gallery - image gallery extension
brianteeman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Aug 2009, 13:43

Image Title magnific

Post by brianteeman »

I am in the process of upgrading a site from j3 to 5

I have upgraded phocagallery to Version 4.5.5 and I've managed to get all my css changes and template overrides completed.

Just one last thing I am stuck on and I think it might be a bug.

With all the image popup options except for magnific the image title is displayed. The div for image title is just empty

Image
christine
Phoca Hero
Phoca Hero
Posts: 2737
Joined: 28 Nov 2010, 17:20

Re: Image Title magnific

Post by christine »

Hi Brian,

Have you also tried it with 5.0.0-Beta8 for Joomla 5?
https://github.com/PhocaCz/PhocaGallery ... 0Beta8.zip
Jan can give more information later.

Kind regards
Christine
(christinewk-github)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Title magnific

Post by Jan »

Hi Brian,

1) mfp-title is a part of magnific Javascript and it seems it is initialized as default with empty value but maybe it should get the title per some Javascript method after :idea:

Code: Select all

 ... e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor ... 
2) I would recommend using Photoswipe instead of Magnific, see demo here:
https://www.phoca.cz/demo/15-webp

3) The demo site is powered by Phoca Gallery 5 (Beta). Phoca Gallery 5 Beta is almost stable (I just made some small CSS changes regarding dark administration theme, but it can be used as stable now).

You can download it here:
https://www.phoca.cz/download/66-phoca- ... -component

This is Joomla 5 version (modernized), without need to run Backward compatibility plugin (it even works on Joomla 4, like on this demo website: https://www.phoca.cz/demo/15-webp ).

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