Welcome, Guest
A place to meet other Developers

TOPIC: @cYo: Question about thumbnails for fileless comics

@cYo: Question about thumbnails for fileless comics 8 years 4 months ago #11770

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1136
  • Thank you received: 73
  • Karma: 51
Hi, cYo,

The following call is used for setting the thumbnail to be displayed as a cover for fileless comics:

ComicRack.App.SetCustomBookThumbnail(book, bitmap)

Now, in the new library organizer script thread we briefly discussed the possibility of moving the cover bitmaps for fileless comics along with the proper ecomics, but this raised a few questions:

1- Once a thumbnail is set, is it stored somewhere in ComicRack or it keeps just a reference (link) to the original bitmap and would dissapear if it is moved.

2- If it is the first case, where is it stored? Can it be retrieved somehow?

Thanks!
The administrator has disabled public write access.

Re: @cYo: Question about thumbnails for fileless comics 8 years 3 months ago #11942

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1136
  • Thank you received: 73
  • Karma: 51
oooops, I know this is cheating, but if you don't mind, I am bumping this thread... :blush: :blush: :blush:
The administrator has disabled public write access.

Re: @cYo: Question about thumbnails for fileless comics 8 years 3 months ago #11946

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 601
  • Karma: 235
We need you cYo.. come back quick!

Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re: @cYo: Question about thumbnails for fileless comics 8 years 3 months ago #12026

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 682
  • Karma: 184
You can change your footer now :)

ComicRack always creates a new local copy of the file. So you can delete the old one.
The Filename is in Comic.CustomThumbnailKey and the location is the CustomThumbnails folder in your cache path.
The administrator has disabled public write access.

Re: @cYo: Question about thumbnails for fileless comics 8 years 3 months ago #12027

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1136
  • Thank you received: 73
  • Karma: 51
cYo wrote:
You can change your footer now :)

ComicRack always creates a new local copy of the file. So you can delete the old one.
The Filename is in Comic.CustomThumbnailKey and the location is the CustomThumbnails folder in your cache path.

Great! Thanks cYo! Welcome back! ;)
The administrator has disabled public write access.

Re: @cYo: Question about thumbnails for fileless comics 8 years 3 months ago #12038

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 682
  • Karma: 184
But the better way of course is to call ComicRack.App.GetComicThumbnail(book, page). You can check if this is a custom thumbnail by checking the CustomThumbnailKey.
The administrator has disabled public write access.
Time to create page: 0.269 seconds

Who's Online

We have 112 guests and no members online