Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8166061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:43:58+00:00 2026-06-06T19:43:58+00:00

I am new in web development but I have worked with html and php

  • 0

I am new in web development but I have worked with html and php as far as web development but I haven’t built an entire website for commercial use. I only worked with html and php while I was in school for projects.

By the way I am in grad school, with not much experience.

Here is the thing, I want to create a web page to represent my photographs and designs and I faced the following problem:
I want to have a single html page with either a link as text or a button to navigate to the next and another button for previous picture.

When it came to the point of changing the picture, I created a javascript to switch to a particular picture but this is not quite what I want, I would like it to be dynamic, meaning, is there any way to write code that read all the name of pictures in the server where my website will reside and then put them in an array or something then loop through them forward and backward.

I know that javascript is for the user side and php is for the server side, also I know it’s not a good idea to let javascript access directory the way I described.

So I just need some help or ideas to accomplish this task the proper way.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:43:59+00:00Added an answer on June 6, 2026 at 7:43 pm

    What is your goal? Is it to learn web development or to create a website that you can show off some pictures on?

    If it’s the latter, then I would recommend just setting up a wordpress site and installing a photo gallery plugin.

    If you want to do everything yourself, then I would use some javascript library like lightbox (there are many more that are similar) on your current site. Store the image info in a mySql database, pull the image paths through to the site using PHP, and then use the js library of your choice so you aren’t re-inventing the wheel when it comes to the actual functionality of the gallery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to PHP and web development in general, but have been a programmer
I'm new to web development but have plenty of Scala experience and am trying
I’m new to web development but have coding experience (Java) and I’m trying to
I'm relatively new to php development but not to web development in general. I
I'm very new to web development, have many years background on the desktop, but
Hi I'm very new to web development but have a coding background. I'm trying
I am new to web development, I have to create a web application in
I am new to web development. I have 2 .aspx files and in default
I am new to web development and have been building my websites in Visual
Am very to new to web development. I have the web pages; web pages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.