Maybe I'm missing the concept of File Force module, which sounds great...
Is it possible to use it with default "Original" size of image/node created by image module.

eg. - my nodes are pure images, there are three default 'states' or sizes - Thumbnail, Preview, Original.
Is it possible to force users to download original size instead of it being displayed in browser window?

Comments

Garrett Albright’s picture

File Force won't work "out of the box" on standard file attachments (provided by the Upload module) or file fields added by any other modules. It's too simple.

But if you have the will and the ability to write some custom code, your best bet would probably be to alter the contents of your nodes when they are viewed so that the links to the "original"-sized images will go through File Force. I'm not familiar with the Image module myself, but I imagine that'd be fairly simple.

blaize-1’s picture

Now I understand it more. Thank you. It's a pity I know almost nothing of php.

arski’s picture

Assigned: Unassigned » arski

Hey there,

I'll be working on #507848: Compatibility with core Upload module and #808808: FileField/ImageField support first - that might already cover this. If not, I'll get to this straight after that :)

Cheers,
Martin

arski’s picture

Title: Image module - FileForce cooperation » Image module support
arski’s picture

Version: 6.x-1.1-beta3 » 6.x-2.x-dev
Component: Documentation » Code
Category: support » feature

Almost there, waiting for #883338: image_fetch calling hook_file_download directly this to get fixed.

arski’s picture

Status: Active » Fixed

And it's in. All I could do is offer a new link type for the Image node, that can be selected on admin/settings/image, but I'm sure you'll find a way to make even more use of the module :)

PS. There is a small conflict with the Lightbox2 module, which is fixable in the admin area (and hopefully soon fixed in the Lightbox module itself). See #888390: Lightbox edits Image node links via hook_link_alter even when automatic handler is disabled for more info.

Enjoy!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.