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 December 11th 2021, 12:03 am

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 December 12th 2021, 3:36 am; edited 2 times in total
avatar
Richardr
Forumember

Posts : 413
Reputation : 0
Language : english

Back to top Go down

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

Post by Niko December 11th 2021, 1:44 am

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 : 3283
Reputation : 254
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 December 11th 2021, 1:58 am

avatar
Richardr
Forumember

Posts : 413
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 December 11th 2021, 2:37 am

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 : 3283
Reputation : 254
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 December 11th 2021, 2:40 am

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

Posts : 413
Reputation : 0
Language : english

Back to top Go down

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

Post by skouliki December 11th 2021, 4:43 am

Hello

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

Getting an image error message when I edit a post  4d98f810
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: Getting an image error message when I edit a post

Post by Richardr December 11th 2021, 4:56 am

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 : 413
Reputation : 0
Language : english

Back to top Go down

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

Post by skouliki December 11th 2021, 8:47 am

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 : 15391
Reputation : 1709
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 December 11th 2021, 9:54 am

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?


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 : 51554
Reputation : 3523
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 December 11th 2021, 9:29 pm

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 : 413
Reputation : 0
Language : english

Back to top Go down

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

Post by Richardr December 11th 2021, 9:31 pm

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

Yes.
avatar
Richardr
Forumember

Posts : 413
Reputation : 0
Language : english

Back to top Go down

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

Post by Niko December 12th 2021, 1:12 am

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:

    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:

    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 : 3283
Reputation : 254
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 December 12th 2021, 3:35 am

Thanks Niko. It worked. Very good
avatar
Richardr
Forumember

Posts : 413
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 December 12th 2021, 6:34 am

Thanks @Niko

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

Female Posts : 15391
Reputation : 1709
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