Support > cpg1.6 plugin contributions

Fancybox media viewer

<< < (7/8) > >>

ron4mac:

--- Quote from: KchoPrro on September 12, 2022, 09:01:32 pm ---Sorry if I insist, but the plugin worked fine with the one you attached in a previous message (you edited the message and removed the plugin), it was when I updated to the new version that this problem appeared, and it only happens when I have the functions of display title or description.

--- End quote ---
That version was working for you because you didn't have titles or description set to be displayed.

--- Quote ---I also don't see any differences when I activate the display function "Add to image view counts", what should I see?, any example?

--- End quote ---
You have to have 'hit' counts enabled in you gallery config as well as displaying the 'hit' count with the thumbnails.

KchoPrro:

--- Quote from: ron4mac on September 12, 2022, 11:43:42 pm ---The issue is that some of your image titles or descriptions contain malformed UTF8 characters. The PHP function that the CPG core uses to encode data sent to your web browser fails to encode these data because of those malformed UTF8 characters. The PHP version used on your site (v7.0.33) is rather old and cannot overcome this issue. If your PHP was upgraded to 7.4, it could be made to ignore these malformed characters rather than failing. That is why it works okay if you are not including the titles and descriptions.

[edit]
I made a change to your copy of the FancyBox plugin that gets around the character encoding failure problem although the displayed text will have some garbled characters ... but at least the images will display.

--- End quote ---

Ok, I understand the problem. In the end, again the UTF encoding error comes out again which I was able to resolve by selecting latin.

The PHP version of my CPG is 7.0 because it is the highest version that works well for me (7.1, 7.2, 7.3 and 7.4 do not show me the web correctly and version 8.0 directly does not show me anything). This was a problem to check later, running with 7.0 was enough for me, now I see that it is not.

Actually, I will never use the description in fancybox, I don't like the result because I have a lot of text in each image. It is not a problem for me that some words do not look good.

Thanks for the help.

KchoPrro:

--- Quote from: ron4mac on September 13, 2022, 12:16:23 am ---That version was working for you because you didn't have titles or description set to be displayed.

--- End quote ---

Are you sure?  ??? I think I tried everything. I find it weird that I would leave it working without enabling titles, for me displaying the image title in fancybox is essential  8).


--- Quote from: ron4mac on September 13, 2022, 12:16:23 am ---You have to have 'hit' counts enabled in you gallery config as well as displaying the 'hit' count with the thumbnails.

--- End quote ---

Aaaaaaah!, Ok, now I understand. I will try it ;)  ;)

ron4mac:

--- Quote from: KchoPrro on September 13, 2022, 07:45:22 am ---The PHP version of my CPG is 7.0 because it is the highest version that works well for me (7.1, 7.2, 7.3 and 7.4 do not show me the web correctly and version 8.0 directly does not show me anything). This was a problem to check later, running with 7.0 was enough for me, now I see that it is not.

--- End quote ---
Taking all the tires off your car because one is flat and it doesn't look good with just one flat is probably not a good solution for the problem. It would probably be safer to fix the flat.  ::)  (yeah, I know ... I suck at analogies)

KchoPrro:

--- Quote from: ron4mac on September 13, 2022, 05:18:44 pm ---Taking all the tires off your car because one is flat and it doesn't look good with just one flat is probably not a good solution for the problem. It would probably be safer to fix the flat.  ::)  (yeah, I know ... I suck at analogies)

--- End quote ---

LOL! I understand! That's why I just asked in the themes section about the problem of PHP versions and my chaoticsoul theme, I think it's time to try to make it work at least with PHP7.4 ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version