I
I
Ivan Murashkin2017-04-26 18:50:35
PHP
Ivan Murashkin, 2017-04-26 18:50:35

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

1 answer(s)
D
dummyman, 2017-04-26
@dummyman

Do you mean lightbox ?
And so, what you asked to insert into the tag <a>is called target="_blank"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question