2 sam2kb Dec 23, 2009 10:45

Does it work for 3.3.3?
I read numerous forum post saying that it doesn't.
i would still like to know what php file I can edit to take out that <a href> or alter it myself to work with a gallery script of my own.
It's on the todo list to make this optional. I'll let you know which file as soon as I dig into it ;)
CandyAcidReign wrote:
Does it work for 3.3.3?
I read numerous forum post saying that it doesn't.
I don't know, but at least you can try.
To remove the image links add this string 'image_link_to' => '', to the images() function in skins/_item_content.inc.php, line 150
// Display images that are linked to this post:
$Item->images( array(
'before' => $params['before_images'],
'before_image' => $params['before_image'],
'before_image_legend' => $params['before_image_legend'],
'after_image_legend' => $params['after_image_legend'],
'after_image' => $params['after_image_legend'],
'after' => $params['after_images'],
'image_size' => $params['image_size'],
'image_link_to' => '',
) );
Added to CVS :)
It's now possible to override this parameter in skin
Thank you Sam2kb! I was actually going to add that "link to" line myself yesterday, but wasn't sure I should! Thank you so much. I'm guessing maybe creating a "link to" that can include rel="lightbox" could actually help with the lightbox issue as well in 3.3.3
I'm going to try it out. my appreciation for answering so swiftly.
There's quite some people requesting lightbox indeed. Would prolly make sense to have it available in the core.
The lightbox plugin should work without mods. I never tried it in b2evo 3 though.
Anyway, I'm sure if you post a question [url=http://forums.b2evolution.net/viewtopic.php?t=16369]here[/url] somebody will come with a fix :)
Edit: forgot the link
Does anyone know how to change the code so instead of loading the large original image url when someone clicks the image, the user would get a the image in a popup with the image and the print command?
Install the lightbox plugin then :-/