Photo Gallery Markup

Hello. I’m attempting to use your Ultimate Facebook plugin along with Colorbox to make use of Javascript popups for the images. In order for this work, I need to populate the “rel” field of the image link. Is there a way that I can achieve this using your plugin? Everything else is working great, if I can get this tweaked I’ll all set. Thanks!

  • Timothy
    • Chief Pigeon

    Hey there.

    We’re talking about the Album shortcode?

    Or something else here?

    If so, all the attributes are here:

    Tag: [wdfb_album]


    id – required. Valid Facebook album ID (e.g. 379473193359)

    album_class – optional. HTML class to be assigned to album wrapper in output.

    photo_class – optional. HTML class to be assigned to each photo in output.

    columns – optional. Show this many photos per row.

    photo_width – optional. Width of your images in the album.

    photo_height – optional. Height of your images in the album.

    crop – optional. Crop images to fit height.

    limit – optional. Limit output to this many photos.

    The rest I believe is applied by FB.

    Let me know just in case I misunderstood.


  • fontsnob
    • WPMU DEV Initiate

    Something else. I have this all set up and have galleries importing from Facebook as expected. However, I need the image links to include a rel=”colorbox” in order to utilize my existing JS setup. The plugin allows for the custom title attributes but not “rel”. Can I tweak this to allow for the rel to be added?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.