• Resolved swagzillionaire

    (@swagzillionaire)


    Hi there, great plugin, does pretty much everything I need except for one little thing:

    I was trying to make the overlay work for gallery images, but when I tried to alter the output of the gallery shortcode by adding isc_image_source right before the closing dt item, the frontend output becomes a mess and is placed above the gallery as raw text, even if I wrap it around divs.

    Has anyone here managed to get this to work?

    Cheers

    https://www.ads-software.com/plugins/image-source-control-isc/

Viewing 1 replies (of 1 total)
  • Thread Starter swagzillionaire

    (@swagzillionaire)

    Turns out I was being blind. isc_image_source placed the output on top of the post content because it uses echo instead of return. So I copied the function, renamed it and used return in order to wrap it into a variable and output the variable right after $link in the gallery output. Then you can position the gallery-item relative and the output absolute in order to have a nice, clean image overlay. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Making this work in a gallery’ is closed to new replies.