[pmwiki-users] Image with link to attached file

Michael Eager eager at eagercon.com
Sun Sep 8 14:24:02 PDT 2024


On 9/8/24 12:36 AM, Petko Yotov wrote:
> On 07/09/2024 23:37, Michael Eager wrote:
>> I'd like to have an uploaded file represented by an image.
>>
>> I have a PowerPoint file which I'd like to show on a wiki page with a
>> jpg of the title slide, perhaps with the file name as a caption.
>>
>> I assume that I could have an image with a link to the file in the
>> upload directory.  Is there more direct way to do this?
> 
> Indeed, you would create a thumbnail of the front page and attach both 
> files. Something like this:
> 
>    [[Attach:file.pptx|Attach:file.pptx.jpg]] | Caption

I'll give that a try.

> It may be possible to write a PmWiki recipe/extension to extract an 
> existing thumbnail from a PPTX file, and display it. It is not yet 
> written, but would require the PPTX file to be saved with a thumbnail 
> from the menus or the ribbon "File" -> "Info" or "Properties/Summary" -> 
> "Save preview picture".

I created the PDFThumb extension a few years ago to do this for PDFs.
Maybe I can adapt it to work with PPTX, if they have thumbnails.


-- 
Michael Eager




More information about the pmwiki-users mailing list