Image URL fixed
This commit is contained in:
parent
89cb8c8e2f
commit
e2aad7914b
|
|
@ -69,7 +69,7 @@
|
|||
@if (($event->bg_type == 'image' || $event->bg_type == 'custom_image' || Input::get('bg_img_preview')) && !Input::get('bg_color_preview'))
|
||||
<style>
|
||||
body {
|
||||
background: url({{(Input::get('bg_img_preview') ? '/'.Input::get('bg_img_preview') : asset(config('attendize.cdn_url_static_assets').'/'.$event->bg_image_path))}}) no-repeat center center fixed;
|
||||
background: url({{(Input::get('bg_img_preview') ? URL::to(Input::get('bg_img_preview')) : asset(config('attendize.cdn_url_static_assets').'/'.$event->bg_image_path))}}) no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue