Jump to content

IPB Downloads - Forum Topic No Longer Does Screenshot


Recommended Posts

This is the code that was working for about a year now, but after the last update it has broke.

 <h3 style="font-size: 24px;">{$file->name}</h3>
    {{if $file->container()->bitoptions['topic_screenshot'] and $file->primary_screenshot}}
    <br>
    <a href="{$file->url()}">
        {{$image = ( $file->primary_screenshot instanceof \IPS\File ) ? (string) $file->primary_screenshot->url : $file->primary_screenshot;}}
        <img src='{file="$image" extension="downloads_Screenshots"}' alt='{$file->name}' style='max-width: 360px'>
    </a>
    <br><br>
    {{endif}}
    <br>  

 

Link to comment
Share on other sites

Thanks for posting!

Unfortunately, this issue is beyond the scope of our technical support. 👩‍💻

Our technical support is happy to help you with the Invision Community platform, but we're unable to help with things like server management, theme questions and modifications.

I've moved this to our Community Support area where other Invision Community owners will see it and help where they can.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...