This question is answered.


Permlink Replies: 9 - Pages: 1 - Last Post: 19 Apr 22, 15:54 Last Post By: PHJones Threads: [ Previous | Next ]
JeffTucker

Posts: 7,942
Registered: 31-Jan-2006
PDF plus THM no longer working
Posted: 4 Apr 22, 09:30
 
  Click to reply to this thread Reply
Attachment pdfthm.zip (412.2 KB)
Not sure when this got broken, but if you add a PDF to a project, the original PDF is correctly copied to the output. But if you add a PDF and a THM as the representing image, the PDF is not copied to the output.

There isn't even a good workaround. If you add the PDF and make the album, the PDF is in the output. But if you then just add the THM and make the album again, the PDF is deleted from the output.

ETA: Zipped Minimal project
JeffTucker

Posts: 7,942
Registered: 31-Jan-2006
Re: PDF plus THM no longer working
Posted: 4 Apr 22, 09:46   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
An MP3 plus a THM fails in the same way.

A video and a THM still works properly.
JeffTucker

Posts: 7,942
Registered: 31-Jan-2006
Re: PDF plus THM no longer working
Posted: 4 Apr 22, 13:43   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Did some testing. Working correctly in jAlbum 26.2, broken in jAlbum 27.
davidekholm

Posts: 3,640
Registered: 18-Oct-2002
Re: PDF plus THM no longer working
Posted: 9 Apr 22, 11:28   in response to: JeffTucker in response to: JeffTucker
Correct
  Click to reply to this thread Reply
Oh, this is a mine field as I "fixed" the meaning of AlbumObject.hasRepresentingImage(). I've obviously missed adjusting some calls to this method. Should now be fixed in v27.0.6. Hopefully I haven't broken anything else ;-).
JeffTucker

Posts: 7,942
Registered: 31-Jan-2006
Re: PDF plus THM no longer working
Posted: 9 Apr 22, 13:55   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Looks like it's working again, both for PDF's and MP3's (as well as MP4's, which didn't get broken in the first place).

A better mechanism for representing images is really needed. A user should be able to provide one, even for a JPG. An extreme pano JPG might benefit from having a different image for its thumbnail. Back when I had MatrixPano, which dealt with equirectangular pano's, I did that in the skin. So, the pano might be the interior of an historic synagogue, but the thumbnail could be made from a normal JPG of the outside of the place.

When working with the project, it should be possible to see exactly what files are being used as the RI's. With the THM mechanism, the RI effectively vanishes - the only way even to know that one has been used is to look at the thumbnail, then open the object for editing.

But that will all require some extensive changes, both to the UI and to internal code. Maybe some rainy afternoon when you're bored. ;)
davidekholm

Posts: 3,640
Registered: 18-Oct-2002
Re: PDF plus THM no longer working
Posted: 11 Apr 22, 10:56   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Yes, let's await a very rainy day :-)
PHJones

Posts: 34
Registered: 16-Feb-2010
Re: PDF plus THM no longer working
Posted: 18 Apr 22, 17:54   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I have updated to jAlbum v27.0.7 and Jupiter 51 and still have a problem with PDF's and THM , I cannot seem to add the THM files to the album either by dragging them or using the Add Option.
davidekholm

Posts: 3,640
Registered: 18-Oct-2002
Re: PDF plus THM no longer working
Posted: 18 Apr 22, 17:59   in response to: PHJones in response to: PHJones
 
  Click to reply to this thread Reply
PHJones wrote:
I have updated to jAlbum v27.0.7 and Jupiter 51 and still have a problem with PDF's and THM , I cannot seem to add the THM files to the album either by dragging them or using the Add Option.

Try adding the .thm file by double clicking the address bar of jAlbum's Explorer window. This will open that corresponding folder in your file explorer. Now you can move that .thm file to that folder.
JeffTucker

Posts: 7,942
Registered: 31-Jan-2006
Re: PDF plus THM no longer working
Posted: 18 Apr 22, 18:13   in response to: PHJones in response to: PHJones
 
  Click to reply to this thread Reply
PHJones wrote:
I have updated to jAlbum v27.0.7 and Jupiter 51 and still have a problem with PDF's and THM , I cannot seem to add the THM files to the album either by dragging them or using the Add Option.

Remember, the THM file won't appear in the jAlbum Explore window - only the original, base PDF file will be shown. But if, after adding the THM, you hit F5 to refresh the display, the generic PDF thumbnail icon will change to the THM image you've just added.
PHJones

Posts: 34
Registered: 16-Feb-2010
Re: PDF plus THM no longer working
Posted: 19 Apr 22, 15:54   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thank you David I tried your suggestion out and this worked o/k.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums