Closed (works as designed)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2010 at 23:33 UTC
Updated:
21 Dec 2011 at 23:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
aaron commentedseems like that would better go to the media module -- all media could then have a link to the original, and you wouldn't need to do this per provider.
Comment #2
JacobSingh commented@aaron: Any ideas on how to do this?
Comment #3
aaron commentedhere you go.
Comment #4
aaron commentedoops, need to match up spans...
note we can't use drupal_realpath() for local media, as that returns the system file path, rather than a url. that's why we instantiate the stream wrapper and call getExternalURL().
Comment #5
aaron commented#4: media-original-link-952638-4.patch queued for re-testing.
Comment #6
aaron commentedactually I should re-factor that to use file_create_url
Comment #7
aaron commentedmoving this to the file entity module
Comment #8
aaron commentedand actually, now looking at things, there does seem to be a link to the original media rather than a thumbnail. Things have changed since last year I suppose