Answer the question
In order to leave comments, you need to log in
Wordpress which photo profolio plugin can I use?
It is necessary to implement such functionality so that each photo opens in a pop-up window and it has comments and preferably a rating
Answer the question
In order to leave comments, you need to log in
There is no plugin for lightbox with comments.
And in general, standard comments are assigned to post pages, and not to each photo.
As an option:
1. Create a separate entry for each photo with comments and a rating.
2. Display their preview cards on the portfolio page.
3. Write a lightbox that, when you click on the preview card, will open the post's thumbnail - a large photo, as well as its comments and rating.
More:
1. Each entry is a page with a title and a thumbnail - our photo. Everything is clear here. Enable comments. Put, say, WP-PostRatings.
2. We display preview cards in a standard cycle.
On the content.php cards page, we display comments and a rating and hide them with styles, because we do not need to display them in the preview.
3. Lightbox is a jQuery script that, when clicking on the preview, disables the transition and opens a pop-up window into which the contents of the object (.appendTo) that was clicked are moved.
You can track an object on click like this: $('.box').click(function(e) {current = $(this);reload();})
Go to the next photo like this: current = current.next('.box '); reload();
Etc. And in the reload() function, you can register updating the lightbox content from the object in the current variable with animation.
You can even set your own link for each photo opened in the lightbox and overwrite the browser history, as here -filmor.ru/interstellar-2014/?stills-6
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question