It begin when I realized that my older post is broken (
<body>. Ha).The fix is simple: just comment that part in wp-includes/media.php. Lulz.
- doesn’t mess with right/middle click
- automatic resizing when the picture is larger than browser window
I installed it then bawww I got nice Lightbox-like image viewing capability.
Then I back to the earlier post to check the gallery… just to find that the pictures link to a specialized page for viewing attachments. No next button etc. Good.
Searching some more (initially attempted to modify the code just to find that it’s freakinly troublesome). And found this Direct Image URLs For Galleries. And it works.
rel= part for Lytebox is missing on the gallery o.o
Solution? It is as primitive as it can be.
return wp_get_attachment_url( $id ); →
return wp_get_attachment_url( $id ).'' rel='lytebox[galleryz]';
At least it works. Beatifully at that 😀
With this, bump to 2.11
[ The post I meant ]