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.

servimg problem image can't show in post

4 posters

Go down

Solved servimg problem image can't show in post

Post by zims August 22nd 2019, 12:14 am

Serving happened to not showing the image when in the post, however the image shown in the preview though.

In editing:
servimg problem image can't show in post Servim10

In post:

servimg problem image can't show in post Servim11
This happens started from yesterday.
The images before yesterday are shown normally.
So, anythings change in yesterday with the servimg or something else? (however, It seem like only happen to my forum only)


Last edited by zims on August 24th 2019, 4:14 pm; edited 1 time in total
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by brandon_g August 22nd 2019, 12:56 am

Hello,

The only change that was made recently is that some images that do not have href on them will now redirect to the servimg website when clicked, however, all images should still show in posts.


servimg problem image can't show in post Brando10
Remember to mark your topic servimg problem image can't show in post Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

servimg problem image can't show in post Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

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

https://www.broadcastingduo.com

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by zims August 22nd 2019, 1:02 am

brandon_g wrote:Hello,

The only change that was made recently is that some images that do not have href on them will now redirect to the servimg website when clicked, however, all images should still show in posts.
I see, maybe there have some crash with my Javascript.
Will look into it, and update here when it's solved.
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by SLGray August 22nd 2019, 2:16 am

Did you use the host an image button in the editor?  I also just noticed that your image is a jpg, not a png.


servimg problem image can't show in post 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 : 51554
Reputation : 3524
Language : English
Location : United States

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

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by zims August 22nd 2019, 2:26 am

SLGray wrote:Did you use the host an image button in the editor?  I also just noticed that your image is a jpg, not a png.
Yes, I host the image using the button in the editor.
After I edit by adding the link manually the image happened to be showing normally, however for those there not with the link in the beginning, all still show with the broken image.
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by skouliki August 22nd 2019, 10:43 am

Hello

I could load that image fine in my test forum
Is this happening to old posted images or when you upload new ones?

I have also seen here to some threads broken images, images that when the thread was open were visible ok
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by brandon_g August 22nd 2019, 1:00 pm

Have you tried clearing your cache and cookies?


servimg problem image can't show in post Brando10
Remember to mark your topic servimg problem image can't show in post Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

servimg problem image can't show in post Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

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

https://www.broadcastingduo.com

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by zims August 22nd 2019, 5:16 pm

skouliki wrote:Hello

I could load that image fine in my test forum
Is this happening to old posted images or when you upload new ones?

I have also seen here to some threads broken images, images that when the thread was open were visible ok
Only when the new one upload, broken images only show in the post, when search or in portal, it's ok and visible.

brandon_g wrote:Have you tried clearing your cache and cookies?
It happens to multiple of my members simultaneously, I do try with clearing cache and cookies and change multiple browsers such as Firefox, chrome, edge and Opera, nothing change.
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by zims August 24th 2019, 3:11 pm

It seems like this crash with my Javascript to import the image when the URL consists of .png, .jpg, .jpeg, since the URL that given by servimg is the URL that with the .jpg ending but actually is redirected to the https://servimg.com/view/ page.
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by SLGray August 24th 2019, 6:55 pm

So the issue is with a JavaScript code?


servimg problem image can't show in post 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 : 51554
Reputation : 3524
Language : English
Location : United States

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

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by zims August 24th 2019, 6:58 pm

SLGray wrote:So the issue is with a JavaScript code?
yup.
Code:

    jQuery('.postbody a[href*=".jpg"]').each(function(){
        var oriurl = jQuery(this).attr('href');
                         
 
        jQuery(this).html(" "+oriurl+"<br/><div style=width:100%;  align=center><img src="+oriurl+" style=min-width:320px;width:100% id=myImg></img></div>");
                     
 
    });

Since knowing the problem, this can be solved easily.

Thanks for support.
zims
zims
Forumember

Posts : 52
Reputation : 2
Language : 繁體中文

http://testing123.forumotion.asia/

Back to top Go down

Solved Re: servimg problem image can't show in post

Post by SLGray August 24th 2019, 7:03 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


servimg problem image can't show in post 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 : 51554
Reputation : 3524
Language : English
Location : United States

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

Back to top Go down

Back to top

- Similar topics

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