Stream

« see more

New reply 17 Sep, 2025, 2:33 pm

Plugin Releases Plugin Awards

New reply 31 Jul, 2025, 12:23 am

Plugin Releases Plugin Announcement Bars

New thread 31 Jul, 2025, 12:22 am

Plugin Releases Plugin Announcement Bars

New reply 19 Jul, 2025, 2:37 pm

Plugin Releases Plugin Advanced Post Edit

New thread 19 Jul, 2025, 2:29 pm

Plugin Releases Plugin Advanced Post Edit

New reply 15 Jul, 2025, 7:50 am

Plugin Releases Paid Plugin Awards Rules

New reply 15 Jul, 2025, 2:46 am

Plugin Releases Plugin Awards

New thread 13 Jul, 2025, 12:28 am

Plugin Releases Plugin Theme File Templates

New reply 3 Jul, 2025, 3:12 am

Plugin Releases Plugin Feedback

New thread 3 Jul, 2025, 2:55 am

Plugin Releases Plugin Feedback


FilesYou do not have permission to download files.
7 Jan, 2021, 1:01 am
How do I store crypto coins icons locally?
By default OUGC Crypto Prices uses the API returned image URLs to display crypto coin images. This means that administrators don't have control over the resources served by default.

To change this and render images directly from your server, follow the next steps.

  1. Download the attached package, it stores all coin icons for all supported currencies of the plugin in SVG format.
  2. Unpack the file, inside you should find the ougc_crypto_prices directory holding all icon SVG files.
  3. Upload the contents of the package to your server, inside the images directory. At the end all SVG files should be accessible through the path mybb/images/ougc_crypto_prices/.
  4. Edit the ougccryptoprices_item template, find:
    <img src="{$image}" title="{$name}" alt="{$name}" loading="lazy" />
    

    Replace with:
    <img src="{$mybb->asset_url}/images/ougc_crypto_prices/{$symbol}.svg" title="{$name}" alt="{$name}" loading="lazy" style="max-height: 24px;" />
    

Please note the max height set with the style element in the img tag.
 
 
Need to find something?

Try doing a search of our community forums.