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.

direct link image

+2
Niko
poesia-verses
6 posters

Go down

In progress direct link image

Post by poesia-verses May 24th 2023, 8:13 am

Hello. I would like that when clicking on an image in the topic, this image opens via a direct link, and not the servimg site. that is, a new tab was opened with the image itself stored bwi
poesia-verses
poesia-verses
Forumember

Male Posts : 228
Reputation : 4
Language : russian

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: direct link image

Post by Niko May 24th 2023, 10:23 am

Dear @poesia-verses

that depends on what format you use when you insert the image from serving Wink
direct link image Scree131

The best solution if you don't want the servimg page to view the image is to use the first link provided when the image is uploaded (for example
Code:
https://i36.servimg.com/u/f36/18/00/81/97/scree131.png
), and then manually place it with the IMG BBCode:
Code:
[img]https://i36.servimg.com/u/f36/18/00/81/97/scree131.png[/img]

If you use the second or the third option, you will get the image BBcode wrapped in the servimg link:
Code:
[url=https://servimg.com/view/18008197/1651][img]https://i36.servimg.com/u/f36/18/00/81/97/scree131.png[/img][/url]

If you want to open the image, even if you can already see the image in the forum, you may replace it in this way, making the
Code:
URL=
match the image link
Code:
[url=https://i36.servimg.com/u/f36/18/00/81/97/scree131.png][img]https://i36.servimg.com/u/f36/18/00/81/97/scree131.png[/img][/url]

Another solution may be to use javascript resources like the following:
https://help.forumotion.com/t115826-add-a-lightbox-effect-to-the-images-of-the-forum
Niko
Niko
Helper
Helper

Male Posts : 2671
Reputation : 166
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

BlackScorpion, TonnyKamper and poesia-verses like this post

Back to top Go down

In progress Re: direct link image

Post by poesia-verses May 24th 2023, 11:07 am

@Niko javascript is not working, nothing has changed. I need images inserted with the INSERT button to open in a new window via a direct link, because they are reduced on servimg, but on the forum they open in a new forum window - there is not enough forum width, I will not increase the width
poesia-verses
poesia-verses
Forumember

Male Posts : 228
Reputation : 4
Language : russian

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: direct link image

Post by Niko May 24th 2023, 11:32 am

Niko wrote:If you want to open the image, [...] you may replace it in this way, making the
Code:
URL=
match the image link
Code:
[url=https://i36.servimg.com/u/f36/18/00/81/97/scree131.png][img]https://i36.servimg.com/u/f36/18/00/81/97/scree131.png[/img][/url]

@poesia-verses sadly it is not possible to customize the servimg popup of editor, you manually need to do what I quoted above Embarassed Embarassed


Last edited by Niko on May 26th 2023, 12:46 pm; edited 1 time in total
Niko
Niko
Helper
Helper

Male Posts : 2671
Reputation : 166
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

In progress Re: direct link image

Post by poesia-verses May 25th 2023, 5:09 pm

@Niko your script is not working, Maybe the admins will increase the view of the image on servimg? so that the full size is
poesia-verses
poesia-verses
Forumember

Male Posts : 228
Reputation : 4
Language : russian

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: direct link image

Post by BlackScorpion May 26th 2023, 12:25 am

I highly doubt they will, as it might correct your issue ,but would create other issues for other users. You can make a suggestion in the SUGGESTION Section.
BlackScorpion
BlackScorpion
Graphic Designer
Graphic Designer

Male Posts : 6935
Reputation : 917
Language : English
Location : USA

https://help.forumotion.com/f6-graphic-design-section

Back to top Go down

In progress Re: direct link image

Post by skouliki May 26th 2023, 9:12 am

hello

if your request is completed/answered, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 13780
Reputation : 1612
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: direct link image

Post by Niko May 26th 2023, 12:46 pm

poesia-verses wrote: @Niko your script is not working, Maybe the admins will increase the view of the image on servimg? so that the full size is

There is no script, is the formatting with BBCodes:

Niko wrote:If you want to open the image, [...] you may replace it in this way, making the
Code:
URL=
match the image link
Code:
[url=https://i36.servimg.com/u/f36/18/00/81/97/scree131.png][img]https://i36.servimg.com/u/f36/18/00/81/97/scree131.png[/img][/url]
Niko
Niko
Helper
Helper

Male Posts : 2671
Reputation : 166
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

In progress Re: direct link image

Post by poesia-verses Yesterday at 11:51 am

I would still like to see more. you can add a third link above the image - view in a new window
poesia-verses
poesia-verses
Forumember

Male Posts : 228
Reputation : 4
Language : russian

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: direct link image

Post by Niko Yesterday at 6:24 pm

Can you be more clear? I am afraid I cannot understand your question
Niko
Niko
Helper
Helper

Male Posts : 2671
Reputation : 166
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

In progress Re: direct link image

Post by zzlasperpen Yesterday at 7:13 pm

You want the image to appear in a new tab when you click on without using bbcode url ?
zzlasperpen
zzlasperpen
Forumember

Male Posts : 52
Reputation : 3
Language : VietNam

https://raovat24.forumvi.com/

Back to top Go down

In progress Re: direct link image

Post by sivastar Yesterday at 11:24 pm

Code:
[url=https://i36.servimg.com/u/f36/18/00/81/97/scree131.png]

add a ? mark after the jpg or png or whatever...

[url=https://i.servimg.com/u/f36/18/00/81/97/scree131.png?]
sivastar
sivastar
Forumember

Male Posts : 152
Reputation : 16
Language : Tamil
Location : Malaysia

http://www.eegarai.net

Back to top Go down

Back to top

- Similar topics

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