Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with PrettyPhoto? #16

Open
sandino opened this issue Oct 25, 2012 · 0 comments
Open

How to use with PrettyPhoto? #16

sandino opened this issue Oct 25, 2012 · 0 comments

Comments

@sandino
Copy link

sandino commented Oct 25, 2012

As said in #2 including PrettyPhoto is not enough, it also necessary to change link urls. I hacked image_list.html and lightbox script working. But I think better way is to change image-href.html template. Could you please explain what rows need to be changed:

{% if album %}
    {% url imagestore:image-album album_id=album.id pk=image.id %}
{% else %}
    {% if tag %}
        {% url imagestore:image-tag tag=tag pk=image.id %}
    {% else %}
        {{ image.get_absolute_url }}
    {% endif %}
{% endif %}

Especially, I don't understand what is the tag variable for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant