• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 2:19 pm 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
Hi,

this might not be an issue, more a case of converting, so I better explain what happens:

1. A client sent me some jpg.

2. It is not possible to upload them in the TinyMCE File Manager. The preloading-animation never ends.

3. But it is possible to upload them with the cms file manager.

4. After saving the file "for web" in Adobe Photoshop everything is alright. I can upload them in tinyMCE too.

So what could be wrong with those original files that TinyMCE is struggling around? It is not the size of the files.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 2:32 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 988
Location: Victoria, BC
Probably the thumbnail conversion or something - have you checked your error logs to see if there's any clues?

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 3:15 pm 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
DIGI3 \DIGI3:
Probably the thumbnail conversion or something - have you checked your error logs to see if there's any clues?


No errors reported. And I deactivated thumbnail converting temporarily.

And as I said: Only the original jpg-files sent by the guy have this problem. Other images work. And as soon as I save his pics for web with Photoshop: they are able to be uploaded.

But that is not a solution: He has tons of images and wants to upload by himself.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 3:46 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 12675
Location: Arizona
What file size are they..?

_________________
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
$1


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 3:54 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 988
Location: Victoria, BC
It's probably going to be easier to figure out why the images are unique before trying to find/fix issues with TinyMCE's upload method. The files might have the wrong extension or filetype, which Photoshop and File Manager are able to work around. It could also be aspect ratio, compression, rotation. What's different about the images he's providing? How is he sourcing them?

Anything in the console during the upload?

As DrCss mentioned it could be file size, although I don't think Tiny uses a different limitation than file manager does - I would think it's the same php setting.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 4:03 pm 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
DIGI3 \DIGI3:
It's probably going to be easier to figure out why the images are unique before trying to find/fix issues with TinyMCE's upload method.


That is why I started this thread. How can I check this out? What can be different from other jpg what TinyMCE makes struggling?

DIGI3 \DIGI3:

As DrCss mentioned it could be file size, although I don't think Tiny uses a different limitation than file manager does - I would think it's the same php setting.


It is not the file size. I've tried much larger pics and it worked.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 4:15 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 988
Location: Victoria, BC
I gave you some clues in my comment - find out how he's sourcing them. Is he taking pictures on his phone? Using an app? Downloading from a browser? How? Right click and save? Which browser? Is there a way we can reproduce this workflow so we can test/fix?

What about looking at the metadata of the file before you resave from photoshop and after - anything strange or different there? (in Windows, right click on the jpg > properties > details)

Was there anything in the console during upload? Press F12 and go to 'console' before starting the upload, and see if anything shows up. It may help.

Once you get a bit more information, you might be able to search for a fix or workaround with TinyMCE. Perhaps there's a configuration setting that can be changed for your specific issue. When I do a

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 7:16 pm 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
He is scanning old photographies and docs with a mac and using PS CS 3 or 4 to edit.

the details of the pics are not quite different from others. The only difference is the resolution of 72dpi instead of 96dpi in the "web saved" files. But that really does not matter.

Console reports "Media could not be played. No decoders for requested formats: image / jpeg, image / jpeg". But that appears with working uploads too.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 7:27 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 988
Location: Victoria, BC
That sounds like an encoding issue, perhaps a mimetype not configured correctly on the server. Your host/server admin may be able to help with that. Even though the messages appear on files that work, it's still a clue that perhaps something isn't configured correctly - that's not a normal message to get.

If it can't be fixed on the server side, perhaps he can check his export settings in Photoshop, or simply save in a different file format (png, for example). I'd also make sure the files are rgb and not cmyk or any other colour space, and don't contain any alpha channels or anything. Save for web would fix that but just saving might not.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri May 15, 2020 7:44 pm 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
DIGI3 \DIGI3:
or simply save in a different file format (png, for example).


I think it would be enough if he would save the files "for web". But this is hard to explain ... he has got tons of images...

Thanks for your input anyway...


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Tue Jun 02, 2020 6:48 am 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
Just to complete this:

DIGI3 \DIGI3:
That sounds like an encoding issue, perhaps a mimetype not configured correctly on the server. Your host/server admin may be able to help with that. Even though the messages appear on files that work, it's still a clue that perhaps something isn't configured correctly - that's not a normal message to get.


I checked it on five or six different hosts and the message appears on all of them.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Fri Jul 24, 2020 9:23 pm 
Offline
Forum Members
Forum Members

Joined: Mon Nov 26, 2018 3:09 pm
Posts: 89
Could it be the bit depth? This is just a random guess but I've had general issues with files (not specifically to do with CMSMS) before because of this ... if you open the image in photoshop and look under'image > mode> and see if it says 8bits ... compare the settings in here with the ones that do work

just a guess...


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Problem with some jpg with the tinymce file manager
PostPosted: Sat Jul 25, 2020 8:46 am 
Offline
Power Poster
Power Poster

Joined: Sun Aug 17, 2008 9:29 am
Posts: 1111
johnboyuk1 \johnboyuk1:
if you open the image in photoshop and look under'image > mode> and see if it says 8bits ...



Thank you. Yes, it says 8 Bit. But in the meantime all broken images are re-converted anyway.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting