IdeaSpaceVR / IdeaSpace

:sunglasses: Create interactive 3D and VR web experiences for desktop, mobile & VR devices.
MIT License
421 stars 118 forks source link

PhotoSpheres with JPEG extension cannot be attached to Space #73

Open JSDA123 opened 4 years ago

JSDA123 commented 4 years ago

Thank you for the great VR CMS, it is very useful.

I encountered a small bug. I uploaded some files with the JPEG extension and they work as expected in the VR preview, but am unable to attach them to a space, receiving error messages.

The same image can be attached if re-uploaded after changing the extension from jpeg to jpg

The theme is 360 Photo Tour Pro, I didn't try any other themes

tmaso commented 4 years ago

The VR CMS supports JPEG extension. The error could be during the validation of the assets uploaded, to fix this you need to check in your theme if the config.php contains the jpeg extension in the field #file-extension.