[OJS 3.1.2] Broken image when upload image file

Hello, im using OJS 3.1.2 and this happened whenever i uploaded image file

image

Any idea why the image is always broken?

Hi @Prasetya_Aditya

See in source code if the link has double slash. That issue may be by double slash.
Check if you have slash at the end of base_url in config.inc.php

Regards,
Diego

Hi, thanks for your reply @madileweb

Actually ive tried your solution, but the image still broken, any other idea?

An image uploaded here will be uploaded to your “public files” directory, as configured within config.inc.php by public_files_dir. What do you have this directory set to currently?

Yeah i set it to public too, do i need to add full path?

Hi @Prasetya_Aditya

Can you post any public image link for check?

Regards,
Diego

1 Like

Hello, sorry for the late reply, the issue is gone somehow. Thanks for the response