Digsig don't display in email plugin

allanb

Member
Hi Everyone I really hope you can help.
I have a simply form with a digsig element for the user to sign.
I include the element in my email template used by the email plugin.
In place of the signature is the dreaded box with a red x stating "The linked image cannot be displayed" All other fields display correct.
Where am I going wrong?
Joomla 3.9.2 and Fabrik 3.9.2
 
Maybe just to clarify the above little more, Everything works fine in the form, the problem occurs when the recipient receives the email it does not display the actual signature but a box with the red x instead. I have tried both Outlook and Thunderbird clients. Both the same problem. In the template I use {tablename___elementname}.
When I use {tablename___elementname_raw} it places the element data in the email so the element is working correct it just not added to the email body. Access to all elements is set to Public
 
Some e-mail clients like Outlook block inline image content by default (if not set "always allow" from the settings). Might be stupid question, but are you sure it's not the case with your problem?
 
Thank you for your reply. Sadly no, Outlook is set to always allow. The same problem in Thunerbird where it places the "broken link" icon in place of the image.
 
Can you check the source code of the received email to see what's there instead of the image?
 
I can't verify as I'm told my location (Singapore) is "blacklisted" on your server when I try to load the URL. "yourehome.co.za" alone results in the equivalent of "can't find the server", depending on browser.

Can you see the image in your browser if you try loading the source URL and, that way, confirm the URL is correct?
 
Hi Yes, sorry, access to the site is limited to local traffic. When I try to access the image in the browser I get the following error;
{"err":"unable to import plugin fabrik_element digsig"}
 
Along the lines of http://fabrikar.com/forums/index.php?wiki/digital-signature-element/#sample-placeholder, try the following URL in your browser:
Code:
https://yourehome.co.za/index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=digsig&method=ajax_signature_to_image&format=raw&element_id=3397&formid=8&rowid=XXX&repeatcount=0
where XXX is an existing row ID containing a signature. Also double-check that 3397 is the ID of the digsig element.

If that works, try replacing the placeholder {tablename___elementname_raw} in the email plugin with
Code:
<img src="https://yourehome.co.za/index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=digsig&method=ajax_signature_to_image&format=raw&element_id=3397&formid=8&rowid={rowid}&repeatcount=0" width="100" height="50" />
 
Last edited:
With that link I have replaced the formid with 138 and the rowid with 10 and I get the {"err":"unable to import plugin fabrik_element digsig"} error on both Logged in and out. Digsig element id is correct (3397)
I appreciate your assistance with this. I have allowed access in RS Firewall for Singapore if that will help you to check.
 
I'm still getting the 403 and "Your location (SG) has been blacklisted."
If it helps, at least for the time being my IP is 101.127.245.78
 
I can replicate the issue locally but didn't find the reason yet.
It's not only email but any PDF (list, details).

The digsig picture is created "on the fly", the ajax link is working in list view and even if called directly in the browser.
So it seems the PDF libs can't handle it (with domPDF I get the broken image, with mPDF just a blank space).
 
I have also now seen that if I am logged in the digsig display correctly in the list but if I am not logged in I get the broken image icon.
 
Thank you, you are a STAR!!!! The plugin was set to Registered. It now display correctly in the List as well as in the attached PDF.
Sadly still not showing in the email.
 
Ok, I have to correct:

I was logged-in, too - and had a list prefilter on public.
As soon I remove it I get the digsig as well in the email body as in the attached PDF.

So it's access related.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top