Answer the question
In order to leave comments, you need to log in
How to write a separate page that would display a large image (when clicking on its smaller version from another page)?
On the page, I enclosed small images in a tag and made an anchor for large image options, now we need to display the number of image views on the page with a large image. Can I somehow interact with the anchor or do I need to create a separate page to display a large image of the clicked image?
Ps The task itself sounds like this:
In the last task, it was necessary to implement a photo gallery using
files and folders. Now you need to finalize the site using the database.
Requirements:
1. On the full-size photo viewing page, under the picture
, the number of its views must be indicated.
2. On the gallery view page, the list of photos should be sorted by<a>
popularity.
The most popular photos should be at the top of the list . Popularity is determined by the number of clicks on a photo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question