Posting pics without link to servimg
3 posters
Page 1 of 1
Posting pics without link to servimg
I got a watermark script working for my forum. But you can click on the image that leads you to the Servimg page where it obviously doesnt show the watermark there.
This means that the image can still be copied without watermark.
Is there maybe a way to disable the image hyperlinks?
In both ways you can click on the image.
This means that the image can still be copied without watermark.
Is there maybe a way to disable the image hyperlinks?
In both ways you can click on the image.
|
|
Re: Posting pics without link to servimg
Good afternoon!
When you write a post and insert an image using BBCode, it automatically transforms into HTML markup and adds a link tag (
)
We can add code to remove the
tag from the link. In that case, if the user clicks on the image, it will open a new window with the same theme.
AP - Modules - Javascript codes management - Create a new JavaScript
Title: any
Placement: in all the pages
Javascript Code:
When you write a post and insert an image using BBCode, it automatically transforms into HTML markup and adds a link tag (
|
We can add code to remove the
|
AP - Modules - Javascript codes management - Create a new JavaScript
Title: any
Placement: in all the pages
Javascript Code:
- Code:
$(function() {
const message = document.querySelectorAll('.content');
message.forEach(item => item.querySelectorAll('a[rel="nofollow"]').forEach(itemA => itemA.href = ''))
});
Razor12345- Support Moderator
- Posts : 1584
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine
Niko, SarkZKalie and TonnyKamper like this post
Re: Posting pics without link to servimg
Good afternoon!
It's been a week now. We have not heard back from the author.
I'm closing the topic and moving it to the archive.
If your problem is not solved - send me a private message and I will open this topic for further help.
It's been a week now. We have not heard back from the author.
I'm closing the topic and moving it to the archive.
If your problem is not solved - send me a private message and I will open this topic for further help.
Problem solved & topic archived.
|
Razor12345- Support Moderator
- Posts : 1584
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine
Similar topics
» [Solved!!]posting link to facebook problems
» How do I configure Servimg on my forum to see all pics there instead of at their site?
» Posting Pictures Using Servimg
» [ONLY TOPIC ] Forums are Down/Servimg Images/Error Messages while Posting
» Outgoing link posting
» How do I configure Servimg on my forum to see all pics there instead of at their site?
» Posting Pictures Using Servimg
» [ONLY TOPIC ] Forums are Down/Servimg Images/Error Messages while Posting
» Outgoing link posting
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum