• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

How to replace album cover image with thumbnail version?

j2k

Chevereto Member
I'm looking at using the .th thumbnail version to replace the .md version of the album cover.

I would like to make modification such that future update of Chevereto won't override it.

It seems to me that the location to edit is at:

/app/themes/Peafowl/tpl_list_item/album_cover_image.php

Where it shows:
Code:
<img src="%ALBUM_IMAGES_SLICE_0_DISPLAY_URL%" alt="%ALBUM_IMAGES_SLICE_0_NAME%.%ALBUM_IMAGES_SLICE_0_EXTENSION%" width="%ALBUM_IMAGES_SLICE_0_DISPLAY_WIDTH%" height="%ALBUM_IMAGES_SLICE_0_DISPLAY_HEIGHT%">

But how do I grab the thumbnail url of the cover image?

Is this the right place the make the edit?

Or there's some specific path that I need to place the custom edit in?
 
Code:
%ALBUM_IMAGES_SLICE_0_THUMB_URL%
The code works well when I edit /app/themes/Peafowl/tpl_list_item/album_cover_image.php directly.

However, if I update Chevereto, will the custom modification lost?

I try to create /app/themes/Peafowl/overrides/tpl_list_item/album_cover_image.php and used the same custom modification, it doesn't seem to take effect.
 
It seems to that those can't be overridden. I will add support for that in the next release.
 
Last edited:
Will this part of the override be implemented in the next or future Chevereto release?

If not, I'll try to remember to manually do the custom modification every time I upgrade Chevereto.

The reason I try to make this modification is that for my usage (specific purpose), I'm listing a few hundreds album at a time. The single album page can add up to 65MB and taking over 40 seconds to load.

Changing the cover page to thumbnail version reduce the overall loading size to 40MB.
 
Back
Top