W
W
weranda2020-11-09 12:37:14
Images
weranda, 2020-11-09 12:37:14

Where to store photo descriptions for alt description tag?

Greetings.
There are 1000 photos in the folder. They are displayed on the site page by 10 pieces by random sampling using PHP. Photos must have a description attribute . Where is it better to store and how to request these descriptions so that it is not resource-intensive? In the database, in the file name of the photo, in the metadata, pull from a separate file, ... ? <img src="photo_n.png" alt="?">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-11-09
@Kozack

I think the option in the file name would be the least resource-intensive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question