Quantcast
Channel: zenphoto forums Tag: link
Viewing all articles
Browse latest Browse all 30

architron on "ZenPhoto as a 3d model library browser?"

$
0
0

Hi

Thanks a lot for your help. The hint with the anyFile plug-in works perfect. It loads the .c4d automatic in to the gallery and uses the .jpg as the thumbnail.

I also managed to download the Object, when I click on the thumbnail. I changes the following line in the image.php

<div id="image_container">
	<?php
	if (isImagePhoto()) {
		$fullimage = getFullImageURL();
	} else {
		$fullimage = getFullImageURL(); //It was NULL
		}

But now I would like to not download the c4d file, instead I would like to open it in the finder. This works best in Safari. Safari opens the finder, if you request a file with: file:///server/folder/subfolder/3dFile.c4d
Since the gallery will never be accessed from outside of the LAN, this code would not be a problem.

Unfortunately my PHP knowleg is very basic. My guess would be, to add a function for c4d-files in the full-image.php. Would this be the right place to start?

Thanks a lot for any further help!


Viewing all articles
Browse latest Browse all 30

Trending Articles