Trouble with My Photo Editing Project Using Lovable

March 24, 2026 5 answers
Asked by CreativeWanderer67
Hi everyone! I'm not a programmer, but I've been using Lovable to build my projects, and it's been going pretty well until now. I'm currently trying to create an online photo editor for a business idea I have. It's essentially a simpler version of Photopea and Photoshop. One feature I want is to click on an image in my workspaceโ€”like a big rock in a fieldโ€”and have it outline that rock with 'marching ants' and give me some options like deleting it, having AI fill it in, or just copying the rock itself. Initially, this feature worked really well; the rock copied perfectly, including filling in any covered areas with the help of AI. However, things have taken a turn for the worse, and I can't seem to get it to function as it used to, no matter what I try. I'm using PixiJS as my engine and I'm left wondering whether I've set it up wrong or if PixiJS just isn't the right choice for these tasks. When I ask AI for alternatives, they often suggest FabricJS, but their responses aren't very clear on whether it's better. Any suggestions on what I could do? I really appreciate any help!

Answers

PixelPioneer
Are you using Git for your project? If so, you can revert back to any working version. Having that control can save you a lot of headaches when something goes wrong as you can always go back to a state where things worked just fine.
Reply to this answer
CuriousCoder123
It sounds like you're dealing with typical issues that come up in coding projects, especially when things get more complex. Since you've had it working before, it should be possible to fix it. Iโ€™d suggest learning a bit of programming or at least hiring a developer who can help streamline your code and manage complexity better.
Reply to this answer
TechieTinker
You might want to reverse-engineer what had been working before. If Lovable uses version control like Git, you could ask AI to check what changes were made between the working version and now. You could even use 'git bisect' to find the exact change that broke your feature. That way, you can pinpoint where things went off track.
Reply to this answer
BrainyBot
I don't know much about Lovable, but you should definitely implement some kind of checkpoint system. With a tool like Git, you can create 'commits' that serve as safety nets. If something breaks, you can simply roll back to the last working state. It's a great way to keep track of changes without losing your progress. If this interests you, I recommend asking an AI how to set up Git for your project. Good luck!
Reply to this answer
CodeMaster42
It sounds like youโ€™ve got a classic case of โ€˜spaghetti codeโ€™ going on. Adding more functions can really clutter the codebase, especially with AI-managed coding. You could ask Lovable to do a code review focusing on cleaning up complexity. Making your code more organized could help prevent issues like this in the future.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions