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.

Post image from URL

4 posters

Go down

In progress Post image from URL

Post by Guest March 24th 2021, 6:23 pm

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.
avatar
Guest
Guest


Back to top Go down

In progress Re: Post image from URL

Post by skouliki March 24th 2021, 8:05 pm

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
skouliki
skouliki
Manager
Manager

Female Posts : 15157
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Post image from URL

Post by Guest March 24th 2021, 9:00 pm

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.
avatar
Guest
Guest


Back to top Go down

In progress Re: Post image from URL

Post by SLGray March 24th 2021, 10:14 pm

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51503
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Post image from URL

Post by Guest March 24th 2021, 11:41 pm

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.
avatar
Guest
Guest


Back to top Go down

In progress Re: Post image from URL

Post by Ape March 25th 2021, 12: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
Ape
Ape
Administrator
Administrator

Male Posts : 19147
Reputation : 1994
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Post image from URL

Post by brandon_g March 25th 2021, 12: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
brandon_g
brandon_g
Manager
Manager

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

https://www.broadcastingduo.com

Back to top Go down

In progress Re: Post image from URL

Post by Guest March 25th 2021, 11:40 pm

Yeah, I understand you guys. Thanks anyway.
avatar
Guest
Guest


Back to top Go down

In progress Re: Post image from URL

Post by skouliki March 26th 2021, 9:22 am

is this solved?
skouliki
skouliki
Manager
Manager

Female Posts : 15157
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum