WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NG Gallery Custom Fields] Image Not Linking Corrrectly

[Plugin: NG Gallery Custom Fields] Image Not Linking Corrrectly

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey jaeeun

    That’s quiet a weird one. My guess is that you have something funky with the markup. Paste the contents of your gallery template to pastebin.com and post the link for me to have a look.

    Hi Shauno,

    here’s the link;

    http://pastebin.com/Z3DkD4Dm

    Thanks!

    I haven’t tested it yet, but I see on line 47 you open an anchor tag and never close it. Try closing it properly and let me know if there are still problems. Then I can investigate more.

    [ Signature moderated. ]

    Hi, I closed it like this;

    ngg_custom_fields[“Link”]; ?>”>

    But the problem persists.

    Please let me know if you find a solution!

    Thanks,
    Jaeeun

    You need to paste code inside the backticks (click the code button above).

    I used your gallery.php template (with the fixed anchor) in a test install, and it worked fine. I would guess there is something else in your code, but I see you have changed your link so I cannot look.

    Good luck

    Sorry, but I’m not sure which code button you’re referring to. Also, I believe the link to my gallery.php template is still the same.

    Thanks

    I was talking about the code you added in your previous post. You can see the forum has tried to show it and it looks broken.
    But that doesn’t matter.

    I looked at the wrong link when I came back, which is why I thought you have changed the page.

    Anyway, the problem is that you do not have http:// in front of your URLs. It looks like WordPress is doing it’s best to figure out the URLs, and sometimes getting it right, and sometimes not. Make sure you add http:// in the custom field values and I think it will work.

    [ Signature moderated. ]

    Wow, that easily fixed it! Thanks!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: NG Gallery Custom Fields] Image Not Linking Corrrectly’ is closed to new replies.