我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何创建像灯箱一样的图像查看器

I am working with laravel 5.6 and I have blade file to view some images from the table. then I need view these images like light box (with next and previous buttons and images thumbnails) this is my blade file,

@section('content')
@if($vehicles)
@foreach( $vehicles-> uploads as $upload)

<img src="/images/{{ $upload->resized_name }}" >

@endforeach
@endif
@endsection

I need create above generated images like light box. minimun images is one and max images are 4. how can develop light box like image viewer.

近期文章

  • 如何屏蔽地址栏中的引荐URL
  • php无法在Windows 7 64位中加载CURL
  • PHP:静态属性中的类实例化会引发异常
  • Ajax响应包含一个值,但不等于该值?
  • Symfony2 Doctrine多对多双向保存表单类型
  • PHP pdf生成器支持矢量图像
  • 如何升级我的Java Web应用程序以使用PHP
  • 我可以在HTML canvas javascript中使用PHP wordwrap吗?
  • 多租户数据库设计,每个租户下有子用户
  • “字段列表”中的未知列[重复]
  • 在cakePHP中显示完整的列
  • 图片和评论上传
  • 无法使用查询值创建数组
  • PHP从格式创建而不是正确格式化时间
  • mySql @ variables与不同的客户端的行为不同
  • Cakephp路由网址和分页问题
  • 如何在XSLT 1.0中编写GMTIME代码 - 程序与函数编程
  • 尝试在HTML表单值中显示XML数据
  • 查询并将查询数据插入另一个表
  • 使用Zend_Mail时如何验证邮件是否已发送?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华