• Resolved paok1926

    (@paok1926)


    Hello all,
    Still in the free version of wise-chat πŸ™‚

    i use simple lightbox but when someone posts an image to the chat, i have to reload in order to see it via lightbox.

    images should be added to a different folder, or have some filter because if they are displayed with other media, is a mess..

    i would like a more “compact” view.. for example in my site i can see 8-9 logged in users only… and 12-14 lines of chat..

    i suppose in a few days i will pass on to the pro version.. i’m very excited with this !!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcin

    (@marcinlawrowski)

    Hello @paok1926

    Please use the standard Lightbox library. It does work. It works in our demo: https://kaine.pl/projects/wp-plugins/wise-chat/wise-chat-demo/

    The posted images are marked internally by setting a custom meta field named “wise_chat”. The chat uses WordPress add_post_meta() function on attachment objects (the posted images) to mark them:

    add_post_meta($attachmentId, 'wise_chat', '1');

    You can write a PHP code that returns all images marked by ‘wise_chat’ meta field. Then you can do with them whatever you want. Please note that when you delete a message in Wise Chat all posted images are deleted too.

    Best regards
    Marcin

    Thread Starter paok1926

    (@paok1926)

    you mean that i should disable my theme’s lightbox and use a plugin ?

    Plugin Author Marcin

    (@marcinlawrowski)

    Yes, I suggested to try to load a standard Lightbox library. Most probably the one in your theme does not detect newly added images.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Misc observations..’ is closed to new replies.