Closed (outdated)
Project:
Exif
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Jan 2014 at 14:43 UTC
Updated:
26 Dec 2025 at 11:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tobiasbI reused code from https://drupal.org/project/field_extrawidgets to display the default output of the field in the edit-mode.
Comment #2
tobiasbComment #3
jphautin commentedHi tobiasb,
First, thank you for the patch and your patience.
But I can not apply the patch as is as most of users are pleased with the current behavior which should have be called 'exif hidden widget'...
But you are right, we must have an hidden metadata widget *and* a readonly metadata widget.
I am already working on it on 8.x branch where it is easier to implement due to clear separation
of concerns.
To make it maintainable, on branch 7.x, I have to extract widget logic in separate classes and use a common interface to manage them.
regards,
Comment #4
jphautin commentedComment #5
jphautin commentedComment #6
socialnicheguru commentedComment #7
jphautin commentedImplemented in 8.x-1.x version.
back port to 7.x-1.x in progress.
Comment #8
damienmckennaI was working on something for this on a separate issue but then found this one.
Here's what I came up with, it turns the fields into disabled text fields:

Comment #9
damienmckennaI also built a similar feature for EXIF Custom that's a little simpler: #2942048: Add "extra" field to show all available EXIF data
Comment #10
damienmckennaThis makes the new field display optional and adds an option on the field widget form to control it.
Comment #11
damienmckennaThe last patch didn't remove $element['#value'] so that the fields were blank, this fixes that mistake.
Comment #12
damienmckennaDoh, wrong patches.
Comment #13
damienmckennaThe D7 version is no longer supported.