Image Gallery with PHP

2 replies
Hi,

I am coding a website with PHP and I want to add a very simple image gallery on one of its pages. I want it to be as simple as it can be. I searched for tutorials and codes and I found a few useful resources.

I want to ask if it is possible to create an image gallery without using JavaScript. As I said it will be as simple as possible, just "next and back buttons" no slideshows or such.

Thanks.
#gallery #image #php
  • Profile picture of the author michael_gourlay
    It is definitely possible to create an image gallery without any javascript whatsoever.

    You probably know that there are a ton of different free php image gallery scripts out there, so I'm going to assume you have reasons for wanting to make your own.

    It could be as simple as having your php script open a folder to determine which images to display and put them on the page, or you could create a simple database to hold the images and the paths and just use your php script to display what's in the database.
    {{ DiscussionBoard.errors[3853220].message }}
    • Profile picture of the author leahpot
      yes, its definitely possible, you can do as simple as a gallery you want without using javascript.
      {{ DiscussionBoard.errors[3857602].message }}

Trending Topics