Fixed wrong image path on tour views, added tour dir on website
This commit is contained in:
parent
190f2ab22c
commit
12c5e630b1
2 changed files with 3 additions and 3 deletions
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
@if(file_exists (public_path ('img/tour/'.$tour->id.'.jpg')))
|
||||
<!--File exists -->
|
||||
<a href="/img/user/{{$tour->id}}_gross.jpg" data-lightbox="{{$tour->id}}_gross.jpg" data-title="{{ $tour->name }}">
|
||||
<img src="/img/user/{{$tour->id}}.jpg" class="mt-3 ml-3" >
|
||||
<a href="/img/tour/{{$tour->id}}_gross.jpg" data-lightbox="{{$tour->id}}_gross.jpg" data-title="{{ $tour->name }}">
|
||||
<img src="/img/tour/{{$tour->id}}.jpg" class="mt-3 ml-3" >
|
||||
</a>
|
||||
@else
|
||||
<img src="/img/placeholder/tour128x100.jpg" class="mt-3 ml-3" >
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
@if(file_exists (public_path ('img/tour/'.$tour->id.'.jpg')))
|
||||
<!--File exists -->
|
||||
<a href="/img/tour/{{$tour->id}}_gross.jpg" data-lightbox="{{$tour->id}}_gross.jpg" data-title="{{ $tour->name }}">
|
||||
<img src="/img/user/{{$tour->id}}.jpg" class="mt-3 ml-3" >
|
||||
<img src="/img/tour/{{$tour->id}}.jpg" class="mt-3 ml-3" >
|
||||
</a>
|
||||
@else
|
||||
<img src="/img/placeholder/tour128x100.jpg" class="mt-3 ml-3" >
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue