Closed (outdated)
Project:
PDF to ImageField
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2012 at 11:59 UTC
Updated:
26 Oct 2025 at 01:51 UTC
Jump to comment: Most recent
Comments
Comment #1
dman commentedYes, if an imagefield exists, that means it's done its process and won't do it again.
As we can't tell if the image is still valid - without actually re-rendering it every time ... and not even then - Doing it this way is a simple answer to a hard question.
I think the only reasonable solution (which will also address the 'what if I change the PDF' issue is to add a button or tab the just forces all the images to be discarded and the PDF to be rebuilt on demand.
Comment #2
mikeaja commentedThanks for the answer.
Would there be anyway of forcing it to re-render every time? This would do fine (even it it re-rendered on every edit, regardless of if changed or not).
I'll look at a discard all images button also, in case.
Comment #3
Gr3fweN commentedI would like to have it forced also (nice if it could be toggled in settings) for 7.x
Comment #4
devkinetic commentedI've added a toggle to the filefield settings:
And then you add a check to node_presave before the first if().
Finally, add $reprocess to the fieldfield save hook.
This isn't an end all solution, but I'm just using this for one pdf on an dated D6 site. This could be extended to the node level, rather than the field definition level quite easily.
Comment #5
hitchshockWe stopped supporting the D7 version, so the ticket will be closed