Can't fetch thumbnail blob on local?

On my localhost, I have no problem getting blobs from the /file/media folder. But i do not seam to be able to fetch blockthumbnail blobs?

Like this:
{litium.blob://blockthumbnail/47777f7f49ee405a88cf2c7721319e8b}

This call will be _blobService.Get(args.BlobUri) | null

In my files folder:
\Files\blockthumbnail\477\77f\7f4\9ee\405\a88\cf2\c77\213 (note that is missing the ending 19e8b?)
I find this two files:
47777f7f49ee405a88cf2c7721319e8b.243-320-0-.Png–baa772eff705476582ad686560a35e6a
and
47777f7f49ee405a88cf2c7721319e8b.baa772eff705476582ad686560a35e6a

      <filesDirectory value="..\Files" xdt:Transform="SetAttributes(value)" /> 
        <commonFilesDirectory value="..\Files"  xdt:Transform="SetAttributes(value)" />
        <smtpServer value="localhost" xdt:Transform="SetAttributes(value)" />
    </general>

Dose anyone have any insights on how to fix this? what is the prefix : .baa772eff705476582ad686560a35e6a ? this sems not to be present on the normal media files that dose work.

Litium version: 7.4

In your project you have a decorator that rewrites the url to the cdn-url when the blob not exists local. In that code a check exists blob?.GetDefault()?.Exists == true and the thumbnails will not have any default-image and instead named images.

Try to change your decorator for something like this

This can also be an issue for the Thumbnails is not always generated

1 Like

Superb support on a Friday evning! :smiley: 5 stars!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.