Trying to access chess piece images. How do I store in .app? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- tearsfornations · 2023-08-24 01:53 Hi, I have code like this:   imgPiece1.Picture.LoadFromFile(ExtractFilePath(ParamStr(0)) + 'images/wikisvgchesspieces/white_king.png'); And it is failing because the file does not exist when I click the Play button in Lazarus to run it. Do I need to compile it, copy the images into the .app folder and then try and run it? ---------------------------------------------------------------------- eny · 2023-08-24 08:12 Check if "ExtractFilePath(ParamStr(0))" has a "/" at the end.