Closed (fixed)
Project:
ImageField
Version:
6.x-3.0-alpha2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2008 at 01:24 UTC
Updated:
11 Mar 2009 at 02:51 UTC
Hello,
can anyone help me with field_image_data table field? I see that now I have to "translate" with a way the data of alt ant title of the images and put them in field_image_data field.
I need to do manual INSERT to database and in a new content type with ImageField but I dont know how to make data this way:
a:3:{s:11:"description";s:22:"test description";s:3:"alt";s:15:"test alt";s:5:"title";s:19:"test title";}
Thank you.
Comments
Comment #1
drewish commentedno clue what you're trying to do... please be more descriptive.
Comment #2
quicksketchSeems like you're going about things in a really strange way. You can translate content through the interface by using the core Translate module.
As for the "format" used by ImageField, you can get data in and out of that format by using PHP functions serialize() and unserialize(). Either way, custom coding and SQL queries are outside what the maintainers of ImageField are able to help with.