5.x-2.0-beta
When selecting the formatter "as link to node", no image appear, "as link to image" works fine

5.x-2.0-beta2
Both the formatter "as link to node" & "as link to image" have image, but both have no link

It should read (Line 554 for 5.x-2.0-beta2)

Line 525:     return theme('imagecache_formatter', $field, $item, $formatter);

So 5.x-2.0-beta2 with the above changes solves the problems above.

CommentFileSizeAuthor
#6 nodelink1.1.patch771 bytesa_c_m
#3 nodelink.patch811 bytesjody lynn

Comments

mikl’s picture

As link to node is still broken in 2.0-RC2 - as far as I can see, it yieds no HTML at all.

mikl’s picture

Oops, it was the beta I was talking about... Sorry for the confusion.

jody lynn’s picture

Title: Formatter "as link to node" "as link to image" has no link » Formatter "as link to node" shows nothing
StatusFileSize
new811 bytes

I think this patch addresses the real problem. Issue is with the latest beta.

chrisroditis’s picture

Thanks so much! The patch works great!

jody lynn’s picture

Status: Needs review » Reviewed & tested by the community
a_c_m’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new771 bytes

While that patch works, i think this patch is slightly nicer, as it gets to the same result by replacing the two "preg_replace" statements with one.

brunodbo’s picture

Patch above (nodelink1.1.patch) works great. Thanks.

a_c_m’s picture

Status: Needs review » Reviewed & tested by the community
guardian’s picture

just tested the patch, works like a charm thank you
once applied, it would be nice to make a new release :)

cs8c’s picture

Thanks for this patch a_c_m, it solved my problem!

dopry’s picture

Status: Reviewed & tested by the community » Fixed

tnx guys!! Committed to head..

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.