Hi, Im trying to make a derivative plugin based on the one by @plg https://piwigo.org/ext/extension_view.php?eid=843
I want to put a small overlay over the photo with its photo id.
So I asked chatgpt to do this for me, it doesn't work (I was expecting this) but maybe its a little detail that can be fixed, or it can be complete garbage code and since I'm a newbie I'm unable to notice this LOL
here is the not working plugin: https://piwigo.org/ext/extension_view.php?eid=966
Any help will be appreciated, and if this is a dead route, please also let me know.
THanks
Offline
Hi :-)
What do you want to do ?
Offline
I want all the pictures in the gallery to have this little rectangle with its photo ID. I'm willing to learn if the code needs slight modifications :) Thanks!!
Last edited by PEU (2023-08-02 20:30:51)
Offline
Hi:-)
with extention:966 id appears ?
if yes, add css for change place
Offline
No, downloaded it again and activated and doesn't show
Offline
Hi :-)
Theme ?
Offline
Im using bootstrap darkroom :)
Offline
Hi :-)
you can test [extension by ddtddt] Manage Properties Photos for add id on photo page
Offline
YEs, is another way of showing the image ID, like https://piwigo.org/ext/extension_view.php?eid=843, but I want it as an overlay on the photo like the example above, that was what I was trying to accomplish. thanks!
Offline
ddtddt wrote:
Hi :-)
Theme ?
So you think is possible? Thanks
Offline
Hi:-)
Have you test add css for move id ?
Offline
I get this error:"
Warning: Cannot modify header information - headers already sent by (output started at /home2/uv0023/public_html/cuchillos/plugins/peu-overlay/main.inc.php:196)
this happened when I modified the installed main.inc.php file
then removed it, manually uploaded it again with the main.inc.php file modified and the error dissapeared
I don't understand what you mean move id :)
Last edited by PEU (2023-08-09 19:16:31)
Offline
Hi :-)
PEU wrote:
Warning: Cannot modify header information - headers already sent by (output started at /home2/uv0023/public_html/cuchillos/plugins/peu-overlay/main.inc.php:196)
error isn't on [extension by ddtddt] Manage Properties Photos but plugin peu-overlay
Offline
yes, edited the post when I understood what happened, still I'm lost about what you mean by: "Have you test add css for move id "
Thanks
Offline
a little more help toward the goal would be appreciated!! TIA !
Offline