You might miss the name of the addon?
Such as addons/{nameOfAddon/..../img}/bikers.jpg
Btw it could be problematic to look for addon folder.
For example, if you want to send your app to your friend, you should have entire oF folder structure. Also the position of executable is not the same between osx and windows/linux. OSX you have executable inside of youApp.app/Contents/…
So your relative path won’t work if you change os.
if you add an ADDON_DATA entry to your addon’s addon_config.mk those files will be copied to the project data folder which is much more reliable than trying to figure out where an addon is since it could be in a local folder or even not at all if the binary is run on a different machine