I have searched for this solution on google without success, maybe someone can help me as it involves the gallery I bought from you.
Bought a Gallery on CC and it already has a database so people can upload photos through the backend. I want to use that database (or specific table with images) to show dynamic images throughout the website I designed on other pages.
It is a website with products.
Tthis is the code I used to test a dynamic image from the gallery database on another .php page:
images/<?php echo $row_Recordset1[‘ImageName’]; ?>
The database has just the filenames with no path to each image file. I think that this is a much better way instead of putting a path into the database such as images/photo1 or typing images/ before every dynamic image I want to use.
What code would I need to insert on a page to point to the images folder so I didn’t have to insert images/ into the code for every dynamic image?
Many thanks.
