OJS 3 Cannot upload logo

OJS 3.02 CPANEL PHP v5.5

ok, so I’ve read the many many posts about this issue and I’m going around in circles.
What I’ve done.
LOGO

  1. I’ve removed and added the mime setting in the OJS settings file
  2. I’ve ensured that PHP has fileinfo turned on
  3. I’ve tried gif - does not work.
  4. I’ve tried png - works
    FAVICON
  5. I’ve removed and added the mime setting in the OJS settings file
  6. I’ve ensured that PHP has fileinfo turned on
  7. I’ve tried favicon.ico - incorrect file extension
  8. I copied the file into /public_html replacing existing file - works

OJS is fairly touchy to simple things. Like no GIF but PNG is ok.

Hi @MarkAGregory,

OJS intentionally doesn’t accept GIFs. PNGs are much better format to use, unless for some reason you need animations, which only GIFs support. See this other thread on the subject.

Regards,
Alec Smecher
Public Knowledge Project Team

thx Alec, It is early days and I suppose it is too early for these little hints to be put into the documentation. I’m quite sure this has affected others.

I still cannot upload .ico files into the favicon. There must be some trick to this. I’ve tried 32x32 and 16x16. Any other ideas?

Hi @MarkAGregory,

I would suggest using a .png for the favicon as well. PNGs as favicons are supported by all modern browsers.

Regards,
Alec Smecher
Public Knowledge Project Team

thank you Alec, that threw me as the one that comes wit OJS is .ico

Ha! Et tu Brute?

(I still think this limitation is silly.)

Hi @ctgraham,

Agreed, but practically speaking it’s a low priority to relax it. We share image upload code that handles favicons with a few other image uploads where .ico files definitely wouldn’t make sense.

Regards,
Alec Smecher
Public Knowledge Project Team