如何以引导程序形式连续处理多个图像?

时间:2018-09-06 16:03:50

标签: php jquery html twitter-bootstrap bootstrap-4

我想处理引导程序中的行。请检查我在做什么:

<div class="form-group col-md-6">

   <?php if($saved_image != ''): ?>

          <div style="width:100px; height:100px">
            <img class="img-thumb" src="<?=$saved_image;?>" alt="saved image" />
            <br>
            <a href="products.php?delete_image=1&edit=<?=$edit_id;?>" class="text-danger">Delete Image</a>

            <!-- Start Another image 2 -->
              <img class="img-thumb" src="<?=$saved_image;?>" alt="saved image" />
              <br>
              <a href="products.php?delete_image=1&edit=<?=$edit_id;?>" class="text-danger">Delete Image</a>
            <!-- End Another image 2 -->

        </div>
        <!-- If Edit Happen - End -->
      <?php else:?>
       <!-- If image empty or user first time add product[data is not saved in the database] -->
       <label for="photo">Product Photo:</label>
       <input class="form-control" type="file" name="photo[]" id="photo" multiple>
     <?php endif;?>

   </div>   <!-- close form-group div -->

          <div class="form-group col-md-6">
          <label for="description">Description:</label>
          <textarea class="form-control" name="description" id="description" rows="6"><?= $description ;?></textarea>
          </div>

请检查下面的图像我得到的输出: enter image description here

我希望铁图像彼此相邻显示,如果有更多图像,则它将在下一行显示,但不在描述框下方。说明框将始终显示在当前位置。

请提出我在做什么错。您的建议将受到欢迎。

1 个答案:

答案 0 :(得分:0)

您可以在现有代码中尝试使用更多的div标签。

sudo ffmpeg -probesize 15000000 -analyzeduration 9000000 -user_agent "LuckyPanel" -i "http://adtv.ercdn.net/adsport1/adsport1_720p.m3u8" -c copy -c:a copy -b:a 128k -hls_flags delete_segments -hls_time 10 -hls_base_url http://server.com/ -hls_list_size 10 /var/www/html/1_.m3u8