[support] Restting image file type

fathi.engineer at gnet.tn fathi.engineer at gnet.tn
Fri Apr 5 16:30:38 UTC 2013


Thanks,

What i did was to alter the file type through
admin/structure/file-types/manage/image/fields and added some fields which
i wanted to be imported automatically by "custom exif mapping" on upload,
which didn't work. I have also created a content type and named it video
(with system_name:video) which maybe could have conflicted with the file
type video and that i have renamed later to videyo, in a hope to reset
things back.
Looking to my database through phpmyadmin, i found in table
field_config_instance references to three file types: image, video and
videyo in the column bundle as i have added these extra fileds like
copyright, date_shot, artist, location to both image file type and video
file type.
So, i don't have an image content type just a file-type image which i
altered, and then creted a content type image gallery with multiple values
of the file type image.

---- Original Message ----
From: Info Razor 
To: support at drupal.org
Sent: Ven, Avr 5, 2013, 6:12 PM
Subject: Re: [support] Restting image file type

Removing the fields form the content type should be enough. If the fields
are used in other content types, the table will stay because it is being
used by other content.
If you can't use the GUI anymore, you can always use Drush to turn modules
on/off and to change DB variable values.
Image field does not, in itself, have extra fields defined. The extra
fields are defined on your content types.
Hope this helps. 
-- 
Info Razor
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
	On Friday, April 5, 2013 at 8:56 AM, fathi.engineer at gnet.tn wrote:  

Hello,
I did something on a nearly to be deployed production site, and now i
can't access the admin/structure/file-types. I have added some extra fields
to the image file type and now i would like to remove them as this caused
me extra trouble and my approach didn't work with the "custom exif" module,
which i have uninstalled.

Can someone tell me which tables should i alter to get back the file type
image whitout the extra fields i have added.

TIA
-- 
[ Drupal support list | http://lists.drupal.org (http://lists.drupal.org)/
]  
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130405/59a1f1cc/attachment-0001.html 


More information about the support mailing list