|
Replies:
8
-
Pages:
1
-
Last Post:
21 Jan 25, 18:38
Last Post By: davidekholm
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
4
Registered:
20-Jan-2025
|
|
|
embedded pdf viewer
Posted:
20 Jan 25, 23:07
|
|
|
I'm considering using jAlbum. I want to include some pdf files in amongst images and videos. Is there a way to view the contents of a pdf "in place" in an album? I did a quick test locally and the pdf opened separately in the browser. Perhaps there is a pdf-viewer plugin? I tried to find one, but could not find a complete list of available plugins. Lastly, is this the kind of thing that could be done in a plugin? I am an experienced java developer, perhaps I could give it a shot. Thanks.
|
|
|
Posts:
8,436
Registered:
31-Jan-2006
|
|
|
Posts:
8,436
Registered:
31-Jan-2006
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 00:00
in response to: JeffTucker
|
 |
Helpful |
|
|
I believe that all of the bundled skins show PDF's in the album, not in a new browser window.
Had to double-check that. There are several bundled skins that don't handle this gracefully, to wit, Minimal, Plain, and Zigzag.
|
|
|
Posts:
4
Registered:
20-Jan-2025
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 01:01
in response to: JeffTucker
|
|
|
I was originally thinking of something that would work in the "grid" view, but now that I think about it more, I see that is not very practical. The examples you point to are very helpful, thanks.
|
|
|
Posts:
8,436
Registered:
31-Jan-2006
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 01:57
in response to: breisachers
|
|
|
I was originally thinking of something that would work in the "grid" view, but now that I think about it more, I see that is not very practical. The examples you point to are very helpful, thanks.
The "grid" view refers to the layout of the thumbnails. Those are just JPG thumbnails, regardless of what they take the visitor to. An image has a thumbnail, a video has a thumbnail, a PDF has a thumbnail, and so on. But the visitor doesn't see "the real thing" until he clicks on the thumbnail.
|
|
|
Posts:
4
Registered:
20-Jan-2025
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 02:11
in response to: JeffTucker
|
|
|
Thanks for the clarification.
|
|
|
Posts:
3,624
Registered:
18-Oct-2002
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 12:17
in response to: breisachers
|
|
|
That’s naturally room for improvement. I might put it on the todo to generate thumbnail images of the first page of pdf documents.
|
|
|
Posts:
8,436
Registered:
31-Jan-2006
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 12:44
in response to: davidekholm
|
|
|
That’s naturally room for improvement. I might put it on the todo to generate thumbnail images of the first page of pdf documents.
That's what the THM mechanism is supposed to address. What should be on the todo list is to clean up all of that, so that you can just choose a representing image for any album object, rather than going through the routine of creating a file with the same base name and a fake extension. And with objects that are linked, rather than copied, getting the THM to work is a challenge.
|
|
|
Posts:
3,624
Registered:
18-Oct-2002
|
|
|
Re: embedded pdf viewer
Posted:
21 Jan 25, 18:38
in response to: JeffTucker
|
|
|
That’s naturally room for improvement. I might put it on the todo to generate thumbnail images of the first page of pdf documents.
That's what the THM mechanism is supposed to address. What should be on the todo list is to clean up all of that, so that you can just choose a representing image for any album object, rather than going through the routine of creating a file with the same base name and a fake extension. And with objects that are linked, rather than copied, getting the THM to work is a challenge.
Yes, it should be simplified.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|