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.

Getting an image error message when I edit a post

4 posters

Go down

Solved Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 0:03

I tried to edit a post. The post contains an image. After I hit "send" I got the following error:

Twitter Image URL : Invalid image format. The image must be in JPG, PNG or GIF format.

Facebook Image URL : Invalid image format. The image must be in JPG, PNG or GIF format.

The image is not from either twitter or FB. I then uploaded the image to imageshack which converted it to jpg, but the error persisted.

Why does editing cause this issue, and how can it be solved?

Thanks

(we use phpBB2)


Last edited by Richardr on Sun 12 Dec 2021 - 3:36; edited 2 times in total
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Niko Sat 11 Dec 2021 - 1:44

Dear @Richardr

can we get the links you are trying to use? that would help understanding the problem Wink

Thanks :rose:
Niko
Niko
Helper
Helper

Male Posts : 3110
Reputation : 245
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 1:58

avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Niko likes this post

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Niko Sat 11 Dec 2021 - 2:37

I think the issue may be with the ending of the link Embarassed
try with this instead, removing the final
Code:
?v=1633617093&w=929&h=523

Code:
https://image.cnbcfm.com/api/v1/image/106954240-1633617064262-gettyimages-533782804-90774123.jpeg
Niko
Niko
Helper
Helper

Male Posts : 3110
Reputation : 245
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 2:40

Thanks, but that didn't solve it.
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by skouliki Sat 11 Dec 2021 - 4:43

Hello

Did you try to save the image to desktop then upload it with servimg using the button from editor to your forum?

color post - Getting an image error message when I edit a post  4d98f810
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 4:56

skouliki wrote:Hello

Did you try to save the image to desktop then upload it with servimg using the button from editor to your forum?
Hi skouliki. No, we did not. It is very rare for this to happen with a post. Simply using the original image url works 99.9% of the time.
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by skouliki Sat 11 Dec 2021 - 8:47

if you read facebook support or Twitter you will see that they support specific image files and image sizes

for your forum if you upload images with servimg they are saved in our system
if you post direct images you might have third part issues depending on the site

example https://help.forumotion.com/t157936-information-the-image-hosting-company-tinypic-is-closing-its-doors?highlight=image


skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by SLGray Sat 11 Dec 2021 - 9:54

color post - Getting an image error message when I edit a post  106954240-1633617064262-gettyimages-533782804-90774123Are you using the insert an image button in the editor?


color post - Getting an image error message when I edit a 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 : 51503
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 21:29

skouliki wrote:if you read facebook support or Twitter you will see that they support specific image files and image sizes

Yes, but that image isn't from Twitter or Facebook. The url shows it's from gettyimages.

https://image.cnbcfm.com/api/v1/image/106954240-1633617064262-gettyimages-533782804-90774123.jpeg?v=1633617093&w=929&h=523

So why does the error mention Twitter and Facebook?
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sat 11 Dec 2021 - 21:31

SLGray wrote:Are you using the insert an image button in the editor?

Yes.
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Niko Sun 12 Dec 2021 - 1:12

Sorry @Richardr I actually though in the first place you were trying to use the above-mentioned image in the SEO tools that have been recently announced, but I just realized you weren't using them - or that maybe there is an automatic fill Embarassed

edit: okay I managed to reproduce your problem, and it was. To reproduce it:
  1. Posted a topic with that image
  2. Tried to edit the message
  3. It doesn't complete the saving because I get this:

    color post - Getting an image error message when I edit a post  Debug110


The problem lies in the fact that the editor automatically fills the SEO tools with the first image of the first post, which in your case is
Code:
https://image.cnbcfm.com/api/v1/image/106954240-1633617064262-gettyimages-533782804-90774123.jpeg?v=1633617093&w=929&h=523
, but due to the parameters at the end, the SEO tools (forumotion side) do not recognize it as an image Wink

So you have two options:

  1. Edit the topic and manually remove the ending (as I told you in a previosu message) from the links added in the SEO tools:

    color post - Getting an image error message when I edit a post  Debug210

  2. (for the next topics) directly use links of images that end with the extension (png/jpg/jpeg/gif) etc... and not with parameters (i.g. ?v=1633617093&w=929&h=523)


I tried and it worked for me after editing the SEO tools autofilled images Wink
Niko
Niko
Helper
Helper

Male Posts : 3110
Reputation : 245
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Richardr, skouliki and TonnyKamper like this post

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by Richardr Sun 12 Dec 2021 - 3:35

Thanks Niko. It worked. Very good
avatar
Richardr
Forumember

Posts : 415
Reputation : 0
Language : english

Niko likes this post

Back to top Go down

Solved Re: Getting an image error message when I edit a post

Post by skouliki Sun 12 Dec 2021 - 6:34

Thanks @Niko

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

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

http://iconskouliki.forumgreek.com

Niko likes this post

Back to top Go down

Back to top

- Similar topics

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