Page 1 of 1

Possible bug - external image and thumbCoverImage()

Posted: Fri Nov 02, 2018 1:18 pm
by bayerberg
Bludit 3.xx

1) $page->thumbCoverImage() returns only the cover image folder, not the image itself
2) theres a thumbCoverImage() for external images (returns the link) which is confusing because theres no file within bludit you can pull.
3) can we add CoverImageExternal() so themes can solve for images taken from CDNs ?

Re: Possible bug - external image and thumbCoverImage()

Posted: Fri Nov 02, 2018 2:09 pm
by Edi
Please try the following fix:

https://github.com/bludit/bludit/issues/838

Re: Possible bug - external image and thumbCoverImage()

Posted: Fri Nov 02, 2018 6:47 pm
by bayerberg
looks like I'll have to release my themes in 3 versions - pre 3.4 and post 3.4 :) . Would be nice to get that CoverImageExternal() in as well, would help with more professional cms monkeys ;)

Re: Possible bug - external image and thumbCoverImage()

Posted: Wed Nov 07, 2018 3:54 pm
by diego
Hi,
yes there is a bug in the function but fixed as Edi mention.

About to add the function CoverImageExternal, doesnt make sense for me, because the page has one Cover Image, if the cover image is internal or external doesnt matter, the function returns what the page has assgined.