Where to edit Spark source files?

Posted 4 months ago by julianfaerber


for one of my projects I want to disable the automatic team photo cropping to 300x300px. I found the corresponding method call in /spark/src/Interactions/Settings/Teams/UpdateTeamPhoto.php:

// return (string) $this->images->make($file->path())->fit(300)->encode();
return (string) $this->images->make($file->path())->encode();

I course I should not update the file in this location, but I honestly have no idea where to change. There is another match in the vendor directory, which is also a bad thing.

Could you please help me what to do? Do I need to copy the file?

Thanks in advance! Julian

Please sign in or create an account to participate in this conversation.