Permalinks

Konovalov / 2012-09-04 13:38:05   

I'd like to make the picture clickable in the permalinks gallery (with the same effect than with the next option). How do i do this?
(sorry for my english)

Vaska A / 2012-09-04 14:20:38   

It is clickable - it takes you to a permanent page for the image.

Konovalov / 2012-09-04 14:55:26   

Thanks.
Not sure i understand but, factually, what should i add in the code
in order to click on the picture so that i have the next picture coming?

Vaska A / 2012-09-04 14:56:32   

I'm sorry, I don't understand. When you click the thumbnail you see the picture (and it's permanent page).

Konovalov / 2012-09-04 15:03:28   

Not speaking of the thumbnails but of the big picture, after the thumbnails...

Vaska A / 2012-09-04 15:08:03   

Oh...now I understand! Sorry... ;)

That code is derived from /ndxzsite/plugin/plugin.ndxz_media.php. This file has a few things. I'm sorry I can't help you do this right now but I'll try, quickly, to explain an approach.

All you need to do is wrap the image in a link. You can get the link from the 'array_neighbor' function but you will need to modify things some. Once you have that link, you can use it elsewhere in the code.

That file will work better as a class rather than a set of functions - something we'll do in the future...

Konovalov / 2012-09-04 18:01:57   

Thanks for your answer Jeffery!
Don't think i'm able to do this but there's no emergency;
it's already working, and fine.
Matthieu

This thread has been closed, thank you.