Possible bug - external image and thumbCoverImage()

Post Reply
User avatar
bayerberg
Master Bludit
Posts: 141
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 7 times
Been thanked: 10 times
Contact:

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 ?
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Please try the following fix:

https://github.com/bludit/bludit/issues/838
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
bayerberg
Master Bludit
Posts: 141
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 7 times
Been thanked: 10 times
Contact:

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 ;)
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

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.
Post Reply