Full screen of the image on the items

Hello,

I have one problem with the image of the object.

When I click on a photo of an object, a black screen appears, not full view. However, a while ago everything was working fine. I am using the Curatescape Echo theme.

If you have a solution, I would appreciate it if you could share it here on the forum.

Hi @Korisnik, I’ll need a little more information in order to help.

Is it possible that the image it’s trying to load is not present? Or that it’s in a format that is not compatible (e.g. TIFF, JP2, etc)? Can you share an error message from the browser console? Or a link?

Hello,

I am sending a link to the object (Petrovaradin Fortress | E-ROUTES Travel Route Stories Application).
When I click on the photo, only a black window opens

I think the key information is in the warnings on the browse page.

Warning: getimagesize(): https wrapper is disabled in the server configuration by allow_url_fopen=0

The image viewer (Photoswipe) requires that the image dimensions are known. Your server configuration prevents this step from being completed. The relevant code is in the custom.php file, line 2049. You might ask your web host or server admin to set allow_url_fopen=1 in your server php.ini config file, which should fix the problem (you may also be able to do this in Cpanel, depending on your service provider).