I've been doing some testing to see if this is possible. It doesn't appear to be. The resulting HTML look something like this:canonknipser wrote: Mon Dec 10, 2018 3:17 pmNo need to create any "Plain old .jpg's or similar", because the files are already there. phpBB just stores them under a unique random file name in thecolinshead wrote: Mon Dec 10, 2018 1:22 pm the Digests extension to grab the files, and create plain old .jpg's or similar from them, store them somewhere and link them into the Digest e-mails !!files
-folder. You can grab the storage systems filename from the attachment table (the attachment-id is in the file.php-parameterid
, the file name on the storage system is inphysical_filename
). If there is a thumbnail-file for images (thumbnail
= 1), you can use the physical filename prepended by a stringthumb_
to link the smaller image. The mime-type for the file you can grab from columnmimetype
to determine if you have a image (img
-link) or a different sort of file (standard-a
-link). The path for linking attachments directly is http://example.org/files (example.org is your boards address)
Code: Select all
<a href="http://127.0.0.1/phpbb/files/thumb_2_1294173054e11e14dc2e971eab09956f"><img src="http://127.0.0.1/phpbb/files/2_1294173054e11e14dc2e971eab09956f" alt="Not sure what this is" title="Not sure what this is"></a>
Code: Select all
<img src="http://127.0.0.1/phpbb/store/digest/files/thumb_2_1294173054e11e14dc2e971eab09956f.jpg" alt="Not sure what this is" title="Not sure what this is">
<a>
-tag around the image./ext/phpbbservices/digests
folder. If updating, disable digests first. Then remove it from your tree, upload the new version and then enable./store/phpbbservices/digests
folder correctly. This folder is used with the manual mailer and contains the digest in file form for inspection./store/phpbbservices/digests
folder/includes/functions_messenger.php
instead of the 3.2.2 version