Image background modification when preview an image

wago80 3 years ago updated 2 years ago 5

I would like to know if there is a way to change the color and opacity of the transparent-black image background when previewing an image. In case it doesn't, I would like to know where is the script/css that manage the transparent-black background to change it color and opacity.

Thank you very much for your time.

Under review

If you tell me a good reason for why one would like to do that, I will tell you which file to change :)

Yes, sure! I embedded filerun into an iframe in my band site to use it, mainly, as an image gallery. The problem is that when preview an image the black-transparent background is shown only into the iframe, resulting into a non very good looking way to display the picture into the overall design of the site, so I though that changing the opacity to a 100% and matching the site background color will solve the problem =)

Thank you very much for your answer! =)


The file you need to edit is "css/ui/image_viewer.css". The background color set for ".image-viewer" is what you want to change.

Note that you will need to clear your browser's cache in order to see the change after the edit.

I never thank you for your answer so, here it is: thank you very much! =)

I have another question now. It is posible to remove the "Details" button (the i inside a circle) when you enter into an image folder?

Thank you very much for your time!