{"id":5222,"date":"2023-03-25T16:02:11","date_gmt":"2023-03-25T10:32:11","guid":{"rendered":"https:\/\/designcollection.in\/blog\/?p=5222"},"modified":"2024-11-11T10:59:45","modified_gmt":"2024-11-11T05:29:45","slug":"php-image-slideshow-with-jquery-using-multiple-file-upload","status":"publish","type":"post","link":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/","title":{"rendered":"PHP Image Slideshow with jQuery using Multiple File Upload"},"content":{"rendered":"<h1 class=\"my-2\">PHP Image Slideshow with jQuery Using Multiple File Upload<\/h1>\r\n\r\n<h4 class=\"my-2 text-center\">Introduction:<\/h4>\r\n<p class=\"my-2\">\r\n  In this tutorial, we will learn how to create a <strong>PHP Image Slideshow<\/strong> using jQuery and handle multiple file uploads. This process involves uploading images to the server and displaying them dynamically in a slideshow format. Basic knowledge of HTML, CSS, jQuery, and PHP is recommended.\r\n<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Requirements:<\/h4>\r\n<p class=\"my-2\">\r\n  You&#8217;ll need a basic understanding of\r\n  <a href=\"https:\/\/www.w3schools.com\/html\/\" target=\"_blank\" rel=\"noopener\">HTML<\/a>,\r\n  <a href=\"https:\/\/www.w3schools.com\/css\/\" target=\"_blank\" rel=\"noopener\">CSS<\/a>,\r\n  <a href=\"https:\/\/jquery.com\/\" target=\"_blank\" rel=\"noopener\">jQuery<\/a>, and\r\n  <a href=\"https:\/\/www.php.net\/\" target=\"_blank\" rel=\"noopener\">PHP<\/a>.\r\n<\/p>\r\n\r\n<li class=\"my-2 \"><p>Set up our HTML file with necessary elements<\/p><\/li>\r\n<li class=\"my-2 \"><p>Create a PHP script to handle file uploads<\/p><\/li>\r\n<li class=\"my-2 \"><p>Create a jQuery script to handle the slideshow functionality<\/p><\/li>\r\n<li class=\"my-2 \"><p>Retrieve the uploaded images from the server using jQuery<\/p><\/li>\r\n<li class=\"my-2 \"><p>Style the slideshow<\/p><\/li>\r\n<li class=\"my-2 \"><p>Implement the slideshow on our website<\/p><\/li>\r\n<\/ol>\r\n\r\n<h4 class=\"my-2 text-center\">Step 1: Creating HTML Markup<\/h4>\r\n<p class=\"my-2\">First, we need to create an HTML markup that will display our Image Slideshow. We will create a container div that will hold all the images and a navigation div that will hold the previous and next buttons. We will also create a file input field that will allow us to upload multiple images to the server.<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/htmls.png\" alt=\"htmls\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n<h4 class=\"my-2 text-center\">Step 2: Create a PHP script to handle file uploads<\/h4>\r\n<p class=\"my-2\">Next, we need to create a PHP script to handle file uploads from the form. This script will be responsible for moving the uploaded images to a folder on the server and returning a JSON response with information about the uploaded images. Here&#8217;s an example PHP script:<\/p>\r\n<pre class=\"scrollspy-example-2 bg-body-tertiary p-3 rounded-2 bg-grey\" tabindex=\"0\">\r\n\r\n\r\n$uploadDir = 'uploads\/';\r\n$allowedExtensions = array('jpg', 'jpeg', 'png', 'gif');\r\n\r\nif(isset($_FILES['slideshow-upload'])) {\r\n  $uploadedFiles = $_FILES['slideshow-upload'];\r\n  $uploadResults = array();\r\n  \r\n  foreach($uploadedFiles['name'] as $key => $fileName) {\r\n    $fileExtension = pathinfo($fileName, PATHINFO_EXTENSION);\r\n    \r\n    if(in_array(strtolower($fileExtension), $allowedExtensions)) {\r\n      $newFileName = uniqid() . '.' . $fileExtension;\r\n      \r\n      if(move_uploaded_file($uploadedFiles['tmp_name'][$key], $uploadDir . $newFileName)) {\r\n        $uploadResults[] = array(\r\n          'name' => $fileName,\r\n          'newName' => $newFileName,\r\n          'success' => true\r\n        );\r\n      } else {\r\n        $uploadResults[] = array(\r\n          'name' => $fileName,\r\n          'newName' => '',\r\n          'success' => false\r\n        );\r\n      }\r\n    } else {\r\n      $uploadResults[] = array(\r\n        'name' => $fileName,\r\n        'newName' => '',\r\n        'success' => false\r\n      );\r\n    }\r\n  }\r\n  \r\n  header('Content-Type: application\/json');\r\n  echo json_encode($uploadResults);\r\n}\r\n\r\n\r\n\r\n<\/pre>\r\n<p class=\"my-2\">This script sets a directory for uploads, an array of allowed file extensions, and checks each uploaded file to ensure it has a valid extension. If the file is valid, it is given a unique name and moved to the uploads directory. The script returns a JSON response with information about each uploaded file, including the original name, the new name, and whether the upload was successful or not.<\/p>\r\n<h4 class=\"my-2 text-center\">Step 3: Create a jQuery script to handle the slideshow functionality<\/h4>\r\n<p class=\"my-2\">Now, we need to create a jQuery script to handle the slideshow functionality. This script will be responsible for retrieving the uploaded images from the server, displaying them in the slideshow, and allowing the user to navigate between images. Here&#8217;s an example jQuery script:<\/p>\r\n\r\n<pre class=\"scrollspy-example-2 bg-body-tertiary p-3 rounded-2\">\r\n$(document).ready(function() {\r\n  var slideshowImages = [];\r\n  var currentImageIndex = 0;\r\n  \r\n  \/\/ retrieve uploaded images from server\r\n  $.get('get_images.php', function(data) {\r\n    $.each(data, function(index, value) {\r\n      slideshowImages.push(value.newName);\r\n    });\r\n    \r\n    if(slideshowImages.length > 0) {\r\n      $('#slideshow-container').css('background-image', 'url(' + slideshowImages[0] + ')');\r\n    }\r\n  });\r\n  \r\n  \/\/ handle previous button click\r\n  $('#slideshow-previous').on('click', function() {\r\n    if(currentImageIndex > 0) {\r\n      currentImageIndex--;\r\n      $('#slideshow-container').css('background-image', 'url(' + slideshowImages[currentImageIndex] + ')');\r\n    }\r\n  });\r\n  \r\n  \/\/ handle next button click\r\n  $('#slideshow-next').on('click', function() {\r\n    if(currentImageIndex < slideshowImages.length - 1) {\r\n      currentImageIndex++;\r\n      $('#slideshow-container').css('background-image', 'url(' + slideshowImages[currentImageIndex] + ')');\r\n    }\r\n  });\r\n});\r\n\r\n<\/pre>\r\n<p class=\"my-2\">This script initializes an empty array for the slideshow images and a variable to keep track of the current image index. It retrieves the uploaded images from the server using a jQuery GET request to a PHP script (get_images.php) and pushes the new names of the images to the slideshowImages array. If there are any images in the array, the first image is displayed in the slideshow container. The script also handles click events for the previous and next buttons, allowing the user to navigate between images by updating the background image of the slideshow container.<\/p>\r\n<h4 class=\"my-2 text-center\">Step 4: Retrieve the uploaded images from the server using jQuery<\/h4>\r\n<p class=\"my-2\">To retrieve the uploaded images from the server, we need to create another PHP script called get_images.php. This script will simply read the contents of the uploads directory and return a JSON response with information about each file. Here's an example get_images.php script:<\/p>\r\n<pre class=\"scrollspy-example-2 bg-body-tertiary p-3 rounded-2\">\r\n\r\n$uploadDir = 'uploads\/';\r\n\r\n$images = array_diff(scandir($uploadDir), array('.', '..'));\r\n\r\n$imageData = array();\r\n\r\nforeach($images as $image) {\r\n  $imageData[] = array(\r\n    'name' => $image,\r\n    'newName' => $image,\r\n    'success' => true\r\n  );\r\n}\r\n\r\nheader('Content-Type: application\/json');\r\necho json_encode($imageData);\r\n<\/pre>\r\n<p class=\"my-2\">This script reads the contents of the uploads directory and filters out the \".\" and \"..\" directories. It then creates an array of image data, including the original name, the new name (which is the same in this case), and whether the upload was successful or not. The script returns a JSON response with the image data.<\/p>\r\n<h4 class=\"my-2 text-center\">Step 5: Style the slideshow<\/h4>\r\n<p class=\"my-2\">Now that we have the slideshow functionality working, we can style it to make it look better on our website. Here's an example CSS file:<\/p>\r\n<pre class=\"scrollspy-example-2 bg-body-tertiary p-3 rounded-2\">\r\n#slideshow-container {\r\n  width: 600px;\r\n  height: 400px;\r\n  background-position: center;\r\n  background-repeat: no-repeat;\r\n  background-size: cover;\r\n  margin: 0 auto;\r\n  margin-top: 50px;\r\n  border: 1px solid #ccc;\r\n}\r\n\r\n#slideshow-navigation {\r\n  width: 600px;\r\n  margin: 0 auto;\r\n  margin-top: 20px\r\n\r\n<\/pre>\r\n<h4 class=\"my-2 text-center\">Step 6: Integrate the PHP and HTML code\r\n<\/h4>\r\n<p class=\"my-2\">Now that we have all the pieces of our image slideshow, we can integrate the PHP and HTML code to display the slideshow on our website. Here's an example HTML file that includes the PHP code and jQuery script:<\/p>\r\n<img decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/html-2.png\" alt=\"html-2\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n<p class=\"my-2\">This HTML file includes the necessary CSS and JavaScript files, as well as the slideshow container and navigation buttons. It also includes the PHP code using the include() function to handle the file uploads.<\/p>\r\n<div class=\"d-flex text-center align-items-center my-3 justify-content-center flex-wrap\">\r\n    \r\n    <h5 class=\"p-2 text-center\"><a class=\"text-decoration-none btn btn-outline-info\" href=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/upload-file.zip\" rel=\"noopener\">Download Source Code<\/a><\/h5>\r\n    \r\n    <\/div>\r\n   <h5><span class=\"badge bd-red-200 mx-1 text-capitalize text-muted fw-normal\">PHP <\/span><span class=\"badge bd-green-200 mx-1 text-capitalize text-muted fw-normal\"> jQuery <\/span><span class=\"badge bd-yellow-200 mx-1 text-capitalize text-muted fw-normal\"> Multiple File Upload<\/span><span class=\"badge bd-cyan-200 text-capitalize mx-1 text-muted fw-normal\"> Lead Generation<\/span><span class=\"badge bd-orange-200 mx-1 text-capitalize text-muted fw-normal\">Ajax <\/span><\/h5>","protected":false},"excerpt":{"rendered":"<p>PHP Image Slideshow with jQuery Using Multiple File Upload Introduction: In this tutorial, we will learn how to create a PHP Image Slideshow using jQuery and handle multiple file uploads. This process involves uploading images to the server and displaying them dynamically in a slideshow format. Basic knowledge of HTML, CSS, jQuery, and PHP is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282],"tags":[430,372,425,397,459,284],"class_list":["post-5222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-ajax","tag-javascript","tag-jquery","tag-lead-generation","tag-multiple-file-upload","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP Image Slideshow with jQuery using Multiple File Upload<\/title>\n<meta name=\"description\" content=\"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP Image Slideshow with jQuery using Multiple File Upload\" \/>\n<meta property=\"og:description\" content=\"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog is an ocean of knowledge\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/designcollection.in\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-25T10:32:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-11T05:29:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/Untitled-1200-x-1000-px.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"designcollection\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"designcollection\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\"},\"author\":{\"name\":\"designcollection\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\"},\"headline\":\"PHP Image Slideshow with jQuery using Multiple File Upload\",\"datePublished\":\"2023-03-25T10:32:11+00:00\",\"dateModified\":\"2024-11-11T05:29:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\"},\"wordCount\":696,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"keywords\":[\"Ajax\",\"Javascript\",\"jQuery\",\"Lead Generation\",\"Multiple File Upload\",\"PHP\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\",\"url\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\",\"name\":\"PHP Image Slideshow with jQuery using Multiple File Upload\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#website\"},\"datePublished\":\"2023-03-25T10:32:11+00:00\",\"dateModified\":\"2024-11-11T05:29:45+00:00\",\"description\":\"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.\",\"breadcrumb\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/designcollection.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP Image Slideshow with jQuery using Multiple File Upload\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/designcollection.in\/blog\/#website\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"name\":\"Design Collection\",\"description\":\"Technology Tips, Tutorials, Learning &amp; How to Guides\",\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/designcollection.in\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\",\"name\":\"Design Collection\",\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2026\/10\/cropped-dg-1.png\",\"contentUrl\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2026\/10\/cropped-dg-1.png\",\"width\":1960,\"height\":349,\"caption\":\"Design Collection\"},\"image\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/designcollection.in\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\",\"name\":\"designcollection\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"caption\":\"designcollection\"},\"sameAs\":[\"https:\/\/designcollection.in\/blog\/\"],\"url\":\"https:\/\/designcollection.in\/blog\/author\/designcollection\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP Image Slideshow with jQuery using Multiple File Upload","description":"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/","og_locale":"en_US","og_type":"article","og_title":"PHP Image Slideshow with jQuery using Multiple File Upload","og_description":"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.","og_url":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/","og_site_name":"Blog is an ocean of knowledge","article_publisher":"https:\/\/www.facebook.com\/designcollection.in","article_published_time":"2023-03-25T10:32:11+00:00","article_modified_time":"2024-11-11T05:29:45+00:00","og_image":[{"width":1200,"height":1000,"url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/Untitled-1200-x-1000-px.jpg","type":"image\/jpeg"}],"author":"designcollection","twitter_card":"summary_large_image","twitter_misc":{"Written by":"designcollection","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#article","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/"},"author":{"name":"designcollection","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67"},"headline":"PHP Image Slideshow with jQuery using Multiple File Upload","datePublished":"2023-03-25T10:32:11+00:00","dateModified":"2024-11-11T05:29:45+00:00","mainEntityOfPage":{"@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/"},"wordCount":696,"commentCount":0,"publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"keywords":["Ajax","Javascript","jQuery","Lead Generation","Multiple File Upload","PHP"],"articleSection":["PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/","url":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/","name":"PHP Image Slideshow with jQuery using Multiple File Upload","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/#website"},"datePublished":"2023-03-25T10:32:11+00:00","dateModified":"2024-11-11T05:29:45+00:00","description":"Learn how to upload multiple images in PHP, store image data in a database, and build a jQuery slideshow for your website. Step-by-step guide to create dynamic slideshows.","breadcrumb":{"@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/designcollection.in\/blog\/php-image-slideshow-with-jquery-using-multiple-file-upload\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/designcollection.in\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP Image Slideshow with jQuery using Multiple File Upload"}]},{"@type":"WebSite","@id":"https:\/\/designcollection.in\/blog\/#website","url":"https:\/\/designcollection.in\/blog\/","name":"Design Collection","description":"Technology Tips, Tutorials, Learning &amp; How to Guides","publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/designcollection.in\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/designcollection.in\/blog\/#organization","name":"Design Collection","alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","url":"https:\/\/designcollection.in\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2026\/10\/cropped-dg-1.png","contentUrl":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2026\/10\/cropped-dg-1.png","width":1960,"height":349,"caption":"Design Collection"},"image":{"@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/designcollection.in"]},{"@type":"Person","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67","name":"designcollection","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","caption":"designcollection"},"sameAs":["https:\/\/designcollection.in\/blog\/"],"url":"https:\/\/designcollection.in\/blog\/author\/designcollection\/"}]}},"_links":{"self":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/5222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/comments?post=5222"}],"version-history":[{"count":23,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/5222\/revisions"}],"predecessor-version":[{"id":6342,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/5222\/revisions\/6342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media\/6341"}],"wp:attachment":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media?parent=5222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/categories?post=5222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/tags?post=5222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}