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 the
files-folder. You can grab the storage systems filename from the attachment table (the attachment-id is in the file.php-parameter
id, the file name on the storage system is in
physical_filename). If there is a thumbnail-file for images (
thumbnail= 1), you can use the physical filename prepended by a string
thumb_to link the smaller image. The mime-type for the file you can grab from column
mimetypeto 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/digestsfolder. If updating, disable digests first. Then remove it from your tree, upload the new version and then enable.
/store/phpbbservices/digestsfolder correctly. This folder is used with the manual mailer and contains the digest in file form for inspection.
/includes/functions_messenger.phpinstead of the 3.2.2 version