I want to post a link to a PIWIGO photo on my FaceVook timeline but it won't post a thumbnail.
If I go to Facebook's sharing debugger, it says "The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags."
I only found one posting in this forum, back in 2016, but it got no replies.
The workaround is to manually scrape each time but is there a way to get PIWIGO to add the required tags?
Last edited by BobbyV (2025-05-12 09:26:37)
Offline
Offline
Thank you, I added the Metadata Open Graph plugin but I get an error when I try to activate it
"Invalid URL - plugin meta_og not active"
Is "meta_og" another plugin, as I couldn't find it.
Are there instructions/examples to add og:image tags once I get it activated?
Offline
Hi,
piwigo release ?
Offline
I'm still trying to get the "Meta open graph" plugin to work.
I have restored it, then deleted and reloaded it
I've now deactivated all other plugins in case of conflict.
I've checked all descriptions for hidden html tags but could find none.
I've updated the plugin, it's ver 14.0.f
My core is 15.5.0
I am reluctant to update the core as it's been stable for over a year, unless I know this has been addressed.
I have got descriptions with "! in them, are these 'unescaped characters' ?
I do not have the Extended Description plugin installed
When I activate the plugin I get "an error occurred"
If I click on configure I get "Invalid URL - plugin meta_og not active"
https://photos.g4xca.uk/
Offline
Another week of trying and still getting nowhere.
In desperation I decided to update to version 16.1.0 but this hasn't helped and I've run out of ideas.
I assume I should be looking at logs but I have no idea where to look or what to do when I find them.
As my last posting, I looked for meta_og but all I could find was meta, which I added and which activated OK but didn't solve my problem. Over the last few weeks I have added 12 plugins (now deactivated) and had no issues with any of them, only Meta Open Graph.
AI has suggested the issue is within the plugin itself, it suggested the following, but it's beyond my capabilities:
"To resolve this, ensure that any descriptions used within the plugin do not contain unescaped HTML tags or quotes. If the issue persists, check the plugin's source code, particularly in main.inc.php, for potential fixes related to handling data types."
Offline
Hi
php release ?
Offline
ddtddt wrote:
Hi
php release ?
Environment:
Piwigo 16.1.0 Check for upgrade
Installed on 8 July 2023, 2 years 4 months 4 weeks ago
Operating system: Linux
PHP: 8.3.6 (Show info) [2025-12-05 18:28:14]
MySQL: 8.0.44-0ubuntu0.24.04.1 [2025-12-05 18:28:14]
Graphics Library: External ImageMagick 6.9.12-98
Cache size 13144.04 MB calculated right now Refresh
Offline
Hi :-)
by FTP delete folder meta_og and add by FTP las release plugin
Offline
1) Filezilla will not connect with FTP, it times out. (It does connect to other machines OK). Do I need to install something on the piwigo machine to get ftp working? (I tried installing vsftpd but no change)
2) So I logged in locally to the piwigo machine and at the cmd prompt typed "sudo rm -r meta_og" (it deleted OK).
3) On my main PC, I downloaded and unzipped the file from this page "https://piwigo.org/ext/index.php?eid=889", is it the right one?
4) but without a GUI and FTP I don't know how to copy it to /var/www/piwigo/plugins
5) so I re-installed it using the piwigo plugins page, but it still gives me the same error if I try to activate it
6) there is also a "meta" plugin available, do I need both (I tried but no change)
I apologise for my lack of Linux and commands, it's hard.
Offline
Hi :-)
Can you check if all the files are present and if the user has the rights?
Offline
-rw-r--r-- 1 www-data www-data 15193 Dec 7 16:47 admin.php
-rw-r--r-- 1 www-data www-data 12314 Dec 7 16:47 admin.tpl
drwxr-xr-x 2 www-data www-data 4096 Dec 7 17:21 include
-rw-r--r-- 1 www-data www-data 146 Dec 7 16:47 index.php
-rw-r--r-- 1 www-data www-data 9460 Dec 7 16:47 initadmin.php
drwxr-xr-x 28 www-data www-data 4096 Dec 7 17:21 language
-rw-r--r-- 1 www-data www-data 11983 Dec 7 16:47 main.inc.php
-rw-r--r-- 1 www-data www-data 4189 Dec 7 16:47 maintain.class.php
-rw-r--r-- 1 www-data www-data 4010 Dec 7 16:47 mog_adminphoto.tpl
-rw-r--r-- 1 www-data www-data 18 Dec 7 16:47 obsolete.list
-rw-r--r-- 1 www-data www-data 118 Dec 7 16:47 pem_metadata.txt
./include:
total 4
-rw-r--r-- 1 www-data www-data 2006 Dec 7 16:47 function.mog.inc.php
Offline
As a test I ran "sudo chmod -R 777 meta_og" and "sudo chmod -R 777 meta"
But I still get "x an error occurred" when I try to activate them
Offline
More attempts, but not really knowing what I'm doing,
I tried to enable logs by adding these lines using the LocalFiles Editor plugin:
$conf['log_level'] = 'DEBUG';
$conf['show_php_errors'] = E_ALL;
$conf['show_php_errors_on_frontend'] = true;
But nothing showed up on the front end, and the log file meant nothing to me.
The log.txt file did include these strange lines,
[2025-12-09 23:03:33][exec=S9MOLCJu3I] [DEBUG] get_regular_search_results 0 items in $unsorted_items
[2025-12-09 23:03:33][exec=ai9AOvAEhw] [INFO] attempt to see the name of the tag #216, #286, #803, #3158 from the address : 192.168.1.201
[2025-12-09 23:03:38][exec=XQmTKny8LA] [DEBUG] [search] get_regular_search_results
I say "strange" because 192.168.1.201 is the address of my self-hosted DNS server!
Is the plugin trying to do a DNS lookup and failing?
Offline
Another day of testing.
If I select "Tools/Debug Languages", when I try to activate these plugins, I see an error
"Warning: [|10n] language key /var/www/html/piwigo/include/functions.inc.php on line 1324"
I've run out of ideas, so today I ran the following plugins in the hope that it might flag up a problem, but still no change:
RV DB Integrity
Prune history
Check Files Integrity
Check Uploads
PresyncAutoRename
Something has changed, as now BOTH the "meta" and "meta Open Graph" give the same error on activation. Every other plugin activates and deactivates just fine with no errors: I've added most of them today, to check.
Has anyone got suggestions for what to try next?
Offline