I have a thumbnail pic that allows you to click on it for additional pictures. That will take you to an html file that contains the additional pics. I created a php command that will pass the item_number to a php file that will dynamically create the additional pics page. This way, some work has been cut out.
The problem is that I will sometimes have 2, 4, 6, 8 additional pictures. All pics are named the same item_number-1.jpg, item_number-2.jpg--where the item_number is dynamic [but the same for every pic on the page], and the "1", "2", etc. is for each picture. Is there a way to check to see if the next picture number jpg exists in the folder, and stop if it doesn't? This way the page will be OK for any number of pictures.
I would rather not have different php files for the different number of pictures.
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
You have not yet logged in, or registered properly as a member
You are a member, but no longer have posting rights.
This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.