Closed (duplicate)
Project:
PDF to ImageField
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2012 at 14:57 UTC
Updated:
28 Mar 2012 at 21:55 UTC
Here's my use case for PDF to Image: when saving the node with attached PDF file, create a single image of the front page; when displaying the node, display the generated image as a link to the PDF file.
Actually, I'm very surprised this hasn't been done already, I would have thought it would be one of the first use cases. You can get around it by rewriting the output, but it is very tiresome.
If it were possible for Drupal 6 that would be fantastic!
Comments
Comment #1
dman commentedIt's an fine idea, if someone knows how. It wasn't in my use case, or the earlier original development either.
I simply don't know how to do it properly.
#1316796: Link image to PDF
Patches that will make that happen within a CCK field renderer will be considered.
Comment #2
joel_guesclin commentedOuch! I have absolutely no idea how that works or I would love to have a try (though I'm only working in D6 at the moment). Is there some documentation of the field renderer around somewhere?
Comment #3
dman commentedI could only learn by example as I couldn't find an overview of what's really going on except by experimentation.
http://drupal.org/node/1046864 contained the keywords though - 'field formatter' not 'field renderer' sorry.
However, there is a problem I outlined in the other issue - which is the reason I can't see the fix myself.