We use Community Builder (CB) to store images in the image directory as a separate sub-directory. That works great except when an image is used in emails.
Here's our problem, because we display an image in an email based on the filename stored in CB but after compression, the filename is obviously going to be different than the original file name that CB stored. We use AcyMailing to create personalized email newsletters on the fly using tags that pull in community builder field data.
The text tag imports work fine but image tags are problematic because of a problem retrieving the compressed image. The original file name doesn't get translated to the new compressed name like it should.
Example: "cb_company_logo.png" is the file name stored in /images/comprofiler/
The file name that would retrieve the compressed version is: tncb_company_logo_572_59be7e5eca255.png
I think the questions are:
1. Is a way to reconstruct the compressed file name or retrieve it by using the original file name?
2. Is there any AcyMailing plugin you are aware of that will address this issue?