- 🇦🇺Australia sanjay.maharjan
Issue still happening in 6.2.2. I am trying the patch attached below.
- First commit to issue fork.
Images(serving from Public directory) are not rendering on webform results page, in email body sent on submission and also in the submission results pdf generated for sites with CDN enabled.
In your webform, add an Image file field and set the File upload destination to Public. (This issue is not observed for Private images)
Upload an image and submit the webform. Here are my obersrvations:
A site w/o the CDN:
Here, the images are rendered as expected. They are even clickable, which on click will open that image.
<a href="https://mysite.in/sites/default/files/webform/sites/76/demo3.png" class="webform-image-file-link"><img class="webform-image-file js-webform-tooltip-link" alt="demo3.png" title="demo3.png" src="https://mysite.in/sites/default/files/webform/sites/76/demo3.png" typeof="foaf:Image"></a>
A site with CDN enabled:
Here, the images are broken. But they are clickable, which on click will open that image as expected.
<a href="https://d23ynomj6u3eig.cloudfront.net/sites/default/files/webform/sites/108229/image_9.jpg" class="webform-image-file-link"><img class="webform-image-file js-webform-tooltip-link" alt="image_9.jpg" title="image_9.jpg" src="https://mylivesite.inhttps://d23ynomj6u3eig.cloudfront.net/sites/default/files/webform/sites/108229/image_9.jpg" typeof="foaf:Image"></a>
Fixed
6.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Issue still happening in 6.2.2. I am trying the patch attached below.