Closed (fixed)
Project:
FileField
Version:
6.x-3.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 16:59 UTC
Updated:
13 Apr 2013 at 17:58 UTC
Is it possible to get imagefield (or something else) to display preview thumbnail if the file uploaded to filefield happens to be an image?
I'm trying to make filefield look more like iTweak.
Comments
Comment #1
quicksketchYes, you can override theme_filefield_widget_preview() in your template.php file and make it show an image instead of the file information based on the file extension.
Comment #2
vulfox commentedOh, so it get's a bit complicated.
So I have to do some magic with imagecache and stuff too to get the preview generated at all?
Would be ideal to have filefield do what imagefield already does ...Or have iTweak for imagefield, Oh well, I guess it's time to try some coding.
Comment #3
quicksketch