Th0mC Hi all! thanks for the extension. Just one question : I'm able to upload PDF file but when we select it (on mobile or normal web browser) we have to download it and after that to open it ot read it. Is there any way to have it opened in the browser directly? Thanks in advance Thomas
piapazi Hi thanks for this great extension. However just one question:In my extension setting, the mime type is set to: ((image|audio|video)\/.*)|(application\/pdf) When I click to choose a pdf for upload I get it shown in the compose area as below (just an example): [upl-image-preview url=https://forum.domain.com/assets/files/2019-04-27/1556391620-751302-example.pdf] Once it is posted, the pdf disappears. In fact there's no link to it nor a placeholder for it. The post just appears blank. Please I really need a help on this. Thanks
010101 @luceos - I'm going to be that annoying, "hey, add this feature," person for a second here... Hey, add a loading indicator during the upload. Thank you, sir. But, you don't have to. Ok, yeah, never mind. Don't yell. 😅
MikeJones 010101 There is another image loader plugin for Flarum that has a loading icon but I think it only works with imgur as a host. Could the code just not be merged?
samus14 I got this working, but instead of an image thumbnail or inline image get a code like others: [upl-image-preview url=https://forum.domain.com/assets/files/2019-04-27/1556391620-751302-example.pdf] What do I need to do to show a preview or thumbnail icon instead of this? I already tried clearing the cache and I don't believe it helped.
iPurpl3x samus14 I have the same issue, have you had any luck resolving this ? EDIT : I disabled and reenabled the BBCode extension, that made it work.
clarkwinkelmann User39 please, get the error message from the logs. We can't do anything with the Ooops message.
pxnji overdigo if you upload images to your local storage, you can input https://cdn.statically.io/img/yourdomain in Content Delivery URL (prefixes files) settings.
MikeJones luceos I thought I asked about doing that in the chat awhile ago but was told it couldn't be done...
matteocontrini Actually the feature is already there, but it's bugged so in practice you don't see the loading indicator.
ritchie Are there any way the result is formatted in BB code so it will show directly on the post? I got something like this right now. [upl-image-preview url=https://support.taptalk.io/assets/files/2019-05-22/1558556893-4513-screen-shot-2019-05-22-at-174940.png]
MajorDickTee how to show download counter in button? <div class="Button"> <xsl:value-of select="@downloads"/> </div> not work