Post image from URL Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Post image from URL

    avatar
    Guest
    Guest


    In progress Post image from URL

    Post by Guest March 25th 2021, 5:23 am

    Is there a way for me to change the script how images are generated from "insert image" ? I developed a script to enter 9Gag url of post and it will extract only image out of it.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15321
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    In progress Re: Post image from URL

    Post by skouliki March 25th 2021, 7:05 am

    hello

    as far as i know we can not modify or change that button function

    maybe this is an alternative https://help.forumotion.com/t157663-i-search-the-code-of-dowload-button?highlight=button+image

    avatar
    Guest
    Guest


    In progress Re: Post image from URL

    Post by Guest March 25th 2021, 8:00 am

    Ok, let me try to explain by saying this. I developed JS script that will take 9gag post link, and grab only photo from it.

    JS fiddle: https://jsfiddle.net/CodeIllusionist/swqhcy5j/1/
    Enter this URL for example: https://9gag.com/gag/aZ0yn20

    You will see what I am talking about. Because by default that is not supported here, but I found a way to achieve it with my script. But as you said, I can't change the system itself.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51500
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Post image from URL

    Post by SLGray March 25th 2021, 9:14 am

    The reason why it doesnot work is that the link is to the page, not image.

    This is the image link:
    Code:
    https://img-9gag-fun.9cache.com/photo/aZ0yn20_700bwp.webp

    Post image from URL AZ0yn20_700bwp
    But the link is not a normal image's URL.



    Post image from URL Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    In progress Re: Post image from URL

    Post by Guest March 25th 2021, 10:41 am

    I am aware of it. Problem is that people will not click on page, and then right click on image. Boring process. I can solve that with this script.

    Edit: That's not the photo link that you show it to me. When you download that, you will see it's not jpg or png , clearly.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19328
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Post image from URL

    Post by Ape March 25th 2021, 11:18 am

    Sadly there is no way to change the way it works Sad



    Post image from URL Left1212Post image from URL Center11Post image from URL Right112
    Post image from URL Ape_b110
    Post image from URL Ape1010
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    In progress Re: Post image from URL

    Post by brandon_g March 25th 2021, 11:33 am

    It may be possible however, to add another icon/button to the post editor do what you want to do, it is only the host an image and insert an image buttons and all the Forumotion provided ones that can not be edited.

    -Brandon



    Post image from URL Brando10
    Remember to mark your topic Post image from URL Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Post image from URL Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    avatar
    Guest
    Guest


    In progress Re: Post image from URL

    Post by Guest March 26th 2021, 10:40 am

    Yeah, I understand you guys. Thanks anyway.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15321
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    In progress Re: Post image from URL

    Post by skouliki March 26th 2021, 8:22 pm

    is this solved?