{"id":16123579,"url":"https://github.com/mah-shamim/simple-image-gallery","last_synced_at":"2025-08-30T17:45:50.304Z","repository":{"id":251531689,"uuid":"837650153","full_name":"mah-shamim/simple-image-gallery","owner":"mah-shamim","description":"A fully functional image gallery with upload capabilities using PHP, HTML, jQuery, AJAX, JSON, Bootstrap, CSS, and MySQL. This project includes a detailed step-by-step solution with code explanations and documentation, making it a comprehensive tutorial for learning.","archived":false,"fork":false,"pushed_at":"2024-08-03T18:52:46.000Z","size":196,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:21:21.941Z","etag":null,"topics":["ajax","beginner-projects","bootstrap","code-examples","css","file-upload","hands-on-projects","html","image-gallery","jquery","json","learning-resources","mysql","open-source","php","php-tutorials","web-application","web-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mah-shamim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-03T15:47:54.000Z","updated_at":"2025-02-21T10:50:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7269e4fd-c7e1-4971-85fe-dec0620f1120","html_url":"https://github.com/mah-shamim/simple-image-gallery","commit_stats":null,"previous_names":["mah-shamim/simple-image-gallery"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mah-shamim/simple-image-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-image-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-image-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-image-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-image-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mah-shamim","download_url":"https://codeload.github.com/mah-shamim/simple-image-gallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mah-shamim%2Fsimple-image-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272884345,"owners_count":25009599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","beginner-projects","bootstrap","code-examples","css","file-upload","hands-on-projects","html","image-gallery","jquery","json","learning-resources","mysql","open-source","php","php-tutorials","web-application","web-development"],"created_at":"2024-10-09T21:17:29.810Z","updated_at":"2025-08-30T17:45:50.263Z","avatar_url":"https://github.com/mah-shamim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Image Gallery\nA fully functional image gallery with upload capabilities using PHP, HTML, jQuery, AJAX, JSON, Bootstrap, CSS, and MySQL. This project includes a detailed step-by-step solution with code explanations and documentation, making it a comprehensive tutorial for learning.\n\n**Topics:** `php`, `mysql`, `blog`, `ajax`, `bootstrap`, `jquery`, `css`, `image gallery`, `file upload`\n\n![simple-image-gallery](./assets/images/simple-image-gallery.png)\n\n### Install Process\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/yourusername/simple-image-gallery.git\n   ```\n\n2. **Navigate to the project directory:**\n   ```sh\n   cd simple-image-gallery\n   ```\n\n3. **Set up the database:**\n   - Create a MySQL database named `image_gallery`.\n   - Import the provided SQL file to create the necessary table:\n     ```sh\n     mysql -u yourusername -p image_gallery \u003c db/database.sql\n     ```\n\n4. **Update the database configuration:**\n   - Copy `config.sample.php` to `config.php`:\n      ```sh\n      cp config.sample.php config.php\n      ```\n   - Open `config.php` and update the database configuration details.\n\n5. **Directory Permission:**\n   - If you encounter permission issues, you might need to set more permissive permissions, such as chmod 777, which grants read, write, and execute permissions to everyone:\n      ```sh\n      chmod 777 assets/uploads\n      ```\n   - Open `config.php` and update the database configuration details.\n\n6. **Start the development server:**\n   ```sh\n   php -S localhost:8000\n   ```\n\n7. **Access the application:**\n   - Open your web browser and navigate to `http://localhost:8000`.\n\n\n### File Structure\n\nHere’s a basic file structure for your simple-image-gallery application:\n\n```\nsimple-image-gallery/\n│\n├── index.html\n├── db/\n│   └── database.sql\n├── src/\n│   ├── fetch-image.php\n│   └── upload.php\n├── include/\n│   ├── config.sample.php\n│   └── db.php\n├── assets/\n│   ├── css/\n│   │   └── style.css\n│   ├── js/\n│   │   └── script.js\n│   └── uploads/\n│   │   └── (uploaded images will be stored here)\n├── README.md\n└── .gitignore\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmah-shamim%2Fsimple-image-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmah-shamim%2Fsimple-image-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmah-shamim%2Fsimple-image-gallery/lists"}