I use the Fine Uploader plugin to upload images. Image loading is working fine. What I'm trying to do is when the page refreshes after the image loading is a great download, it should show previously uploaded images.
Here is my code ..
$('#accordion').on('shown.bs.collapse', function () { activeShopId1 = $(".collapse.in").attr("id"); $('#' + activeShopId1 + ' #fine-uploader-gallery' + '.single-image').fineUploader({ template: 'qq-template-gallery', request: { endpoint: 'upload_internal_image' }, validation: { allowedExtensions: ['jpeg', 'jpg', 'gif', 'png'], itemLimit: 1 }, messages: { tooManyItemsError: 'You can only add 1 image' }, deleteFile: { enabled: true, forceConfirm: true, endpoint: 'delete_internal_image' }, callbacks: { onSubmit: function (id, fileName) { this.setParams({shop_id: shopId4Map}); }, }, }); })
Thanks in advance.
user5860299
source share