Home > jquery > jquery filer adding existing images to the list on page load

jquery filer adding existing images to the list on page load

January 10Hits:6
Advertisement

JQUERY Filler creates image boxes upon selection of each image. However i need to create those boxes from array of image names which i receive from php on page load. So user can add some more images or remove the existing ones.

Here I receive the image list from php

uploaded_images = "<?php json_encode($uploaded_images); ?>"; 

In JQUERY:

$('#filer_input').filer() 

In HTML:

<form action="mypage/upload_image" method="post" enctype="multipart/form-data">      <input type="file" name="upload_photo" id="filer_input" multiple="multiple"> </form> 

I also can receive some more data of the images from php like(size,etc.) if needed.

Is there anyway to accomplish this?

Related Articles

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.151 s.