Hi all,

once again thanks for this module. Here are my questions:

* Does anybody know whether it is possible to combine fileframeworks with imagecache? I would like to replace the combination filefield + imagefield +imagecache from the tutorials to create custom sizes views of pictures.
* If so: has anybody documented the use?

Best wishes

Sebastian

Comments

miglius’s picture

Issue tags: +file_image

To create a custom size previews you can set them at "Maximum resolution for embedded image custom previews: " under the 'admin/settings/file/format/image'

JerryH’s picture

Sebastian

Which way did you go in the end ?

I'm trying to create a view that can actually view a file attachment that I know is going to be an image. I have a view which is bringing in the preview/hide file framework HTML, though just want to build a Only local images are allowed.

Cheers.

JerryH’s picture

Hi miglius,

Is there anyway to actually generate an image link without having to custom code looking though the dB & bitcache then checking and forming it yourself, I've been looking for a while now, and can't find anyway (or anything) to pass the nid of the fileframework node to and get a link to it back.

Thanks,
JerryH

JerryH’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha4

I've managed to hack out the images URL from the bitcache, though now finding a way to have a set image size is the task !

JerryH’s picture

Version: 6.x-1.0-alpha4 » 6.x-1.x-dev
miglius’s picture

Version: 6.x-1.0-alpha4 » 6.x-1.x-dev
Category: feature » support

You can use a file_embed module which comes with a FileFramework. It allows embedding images to other node using a UI.

JerryH’s picture

Status: Active » Closed (fixed)

Yup got it now, pulling the bitcache URI directly in the theme from the parent nid.

Needs some cleanup and checking before prod, though works nicely :

print '<a href="bitcache/' . substr($link['uri'], 11) . '?vid=' . $link['vid'] . '&disposition=inline&op=view' . '" rel="' . $box_style . '[' . $field->content . ']" title="' . $link['title'] . '">' . file_get_image($n->file, 'file_image_medium') . '</a>';

Likely a better way to get/render the URL though .........