• Resolved monocero

    (@monocero)


    Hi guys, we always use IPFS to save the images, but sometimes IPFS gets very slow.
    So I was wondering if in view of the nft detail, can we get the image url from the server so the video or image won’t take a long time to load.

    We already have this on the view.

    {{#media_files}}
    <source src=”{{url}}” type=”{{mime}}”>
    {{/media_files}}

    is there like a url_server or another way to load the saved in the server or in the post.

    Thank you.

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

    (@wpsmartcontracts)

    Hi @monocero

    Unfortunately you cannot “undo” this from the plugin.

    But if you have access to your database then you can do the following:

    – Do a full backup of your database and prepare a restore plan in case that something goes wrong

    – Run this command on phpmyadmin or any other mysql software you use:

    UPDATE wp_postmeta SET meta_value=” WHERE meta_key=’wpsc_nft_ipfs’ AND post_id=123

    And change 123 for the post id of the nft you want to remove the IPFS

    If you want to remove all IPFS links for all NFT run the following:

    UPDATE wp_postmeta SET meta_value=” WHERE meta_key=’wpsc_nft_ipfs’

    Thread Starter monocero

    (@monocero)

    ok ok, thank you so much! ??

    this will help.

    Plugin Author WPSmartContracts

    (@wpsmartcontracts)

    Great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Load image from server instead of IPFS’ is closed to new replies.