Announcement

  •  » Engine
  •  » Attempt at plugin helped by chatgpt

#16 2024-05-20 00:49:57

PEU
Member
Buenos Aires, Argentina
2017-02-12
105

Re: Attempt at plugin helped by chatgpt

Hi, still haven't found how to add this red square with the ID, is it possible or I shoudl give up on the idea? Thanks

Offline

 

#17 2024-05-20 06:52:59

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7221

Re: Attempt at plugin helped by chatgpt

Hi :-)

Yes it's possible but not with chatGPT


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#18 2024-06-26 03:28:03

PEU
Member
Buenos Aires, Argentina
2017-02-12
105

Re: Attempt at plugin helped by chatgpt

Im back at this with an "almost there" update

https://piwigo.org/ext/index.php?eid=966

Now I can add the red background rectangle with the image id but I'm not able yet to put it in the bottom right of the image, now its shown at the correct height at the bottom but outside of the image.

I can use some help here. Thanks!!


https://i.imgur.com/QizNInw.png

PS: this time with the help of Claude Sonnet 3.5

Offline

 

#19 2024-06-27 03:12:09

PEU
Member
Buenos Aires, Argentina
2017-02-12
105

Re: Attempt at plugin helped by chatgpt

Finally did it, work done by Claude Sonnet 3.5 and the final touch by ChatGPT 4o

So yes, AI did this, not a single line of code was written by me, I just provided the prompts and testing.

https://piwigo.org/ext/index.php?eid=966

https://i.imgur.com/Cf9PAXf.png

Last edited by PEU (2024-06-27 03:15:58)

Offline

 

#20 2024-06-27 08:48:24

homdax
Member
Sweden
2015-02-02
308

Re: Attempt at plugin helped by chatgpt

That is my experience as well.

AI will get you a long way with code, but you need to correct and test a lot.

The important thing is to have a place to test, and not risk any production environment. I am also trying to "update and enhance" an existing plugin, with mixed success.

The fun thing is that AI forces you to rethink how you organize the code, how to get it to understand and generate new code, and cope with the seemingly unlimited suggestions it will make.

Offline

 
  •  » Engine
  •  » Attempt at plugin helped by chatgpt

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact