Add 3d model in Image Gallery Product #1686
Danieleeffe1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I discovered the "model-view" tag and its variant "google web designer" gwd_model_view "to display 3D models on html pages.
model-view gwd_model-view are not yet fully compatible with all devices, however embedding the 3d model inside the index.html file is a method also used by other solutions such as blend4mage which has no compatibility limits.
these are just a few examples, but the 3d argument is more alive than ever and will only grow in the future.
I currently run 3D models in the OpenMage image product gallery.
pratical example model-view tecnology
https://openmage.vetrinadigitale.eu/prodotti/cubi/cubo-05.html
pratical example blend4web tecnology
https://openmage.vetrinadigitale.eu/prodotti/componibili/mantide-3d.html
To do this I had to edit the view.phtml product page. I added a "<iframe>" and thanks to scr it calls a "text-area" attribute which in turn calls a path /file.html with the associated 3d model.
however this solution is dirty
the 3d model is uploaded together with the product image (or if the product image is missing with the product placeholder image).
my question is:
Is it possible to insert a function that loads an iframe and associate its thumbnail? The goal is to show the 3D model only when you click on its thumbnail exactly as if it were an image.
if anyone would like to develop it together with me?
I'm not a developer ... at most I copy and paste ... sorry ... ':D
with this method you could also display the videos in the image window only when chosen
Beta Was this translation helpful? Give feedback.
All reactions