Questions tagged [imagefield]

A place to store or display a graphic image.

"Image field" is a generic term that typically would belong in a or setting such as:

It appears to be a synonym for .

342 questions
0
votes
3 answers

Display image in gridview in asp.net

I am not sure what I am doing wrong. I am trying to display the images on the page, it will display the url but not the image. I tried both as a template field and also as an imagefield. With Firebug I can see the value of the image source. aspx…
Nita
  • 195
  • 3
  • 8
  • 20
0
votes
1 answer

Django Pillow or Pil required when submitting images with forms?

OK. Been working on submitting a form where on of the fields is an imagefield and save as an object in the database. Can't get anything to work... So Im back where im started and my simple question is: Do i need to install Pillow or PIL to make…
user3199840
  • 525
  • 2
  • 13
  • 35
0
votes
2 answers

Submit form (django-form) with Imagefield via Jquery/Ajax Post?

Im having some problems submitting a form (Django-form) with a imagefield with Jquery/ajax POST. Im getting back "Field required" validation errors on the imagefield.. I been trying different solutions with appending formData but with no results so…
user3199840
  • 525
  • 2
  • 13
  • 35
0
votes
0 answers

Django Form ImageField Submit Jquery Dialog Ajax- alternatives?

I got a django-form with an image field. I load this in a jquery dialog-modal. I have a js-function which submits this form, populates some fields, shows the validation errors. But from what i understand it's not possible to post/submit the…
user3199840
  • 525
  • 2
  • 13
  • 35
0
votes
1 answer

Django image field not retrived from storage

I plot a graph and save it as an image in my model. But, the file is not getting retrived at html page. My models.py: class MyModel(models.Model): ... ... photo =…
Aswin Murugesh
  • 10,831
  • 10
  • 40
  • 69
0
votes
1 answer

Not saved image when creating content on Drupal 6

this problem: In the form of adding material has fields with images. Choose a file, click download, the file is loaded, the image is displayed. Others fill in the form and add material. The material is added, it's fine, but that's only the images…
Walik
  • 121
  • 3
0
votes
2 answers

How to save a file field of a new django model object to the path with ID?

In Django I use the model class Specialist(models.Model): ... photo = models.ImageField(_('photo'), upload_to='spec_foto') ... After I create and save a new object, I have the "photo" field at .../spec_photo/filename.jpg But I'd like to…
Ramil
  • 1
  • 1
  • 1
0
votes
1 answer

Drupal 7 delete multiple imagefields form

I am building a drupal 7 (7.20) website with a "project" content type which contains multiple image fields (i do not want to use galleries). I would like to be able to perform a mass delete operation on these fields from the node edit page. From…
0
votes
2 answers

Change the content of an image field

I just want to use node_save() to change value of an image field in my article, and I am using the following code. $node = node_load(1); $node->field_image["und"][0]["filename"] = $file_name; node_save($node); When I press F5, the image in my…
tunghk_54
  • 135
  • 1
  • 4
  • 14
0
votes
1 answer

attach image_field to entity in drupal 7

I use drupal 7, and Entity API to develope a module. I have an entity to record client information. I wish to use image_field to let client upload their logo. So I have this function: function silver_client_enable() { field_cache_clear(); …
0
votes
3 answers

django ImageField not uploading the file

So i've been googling this issue for the past hour and can't come up with a solution. Basically this is it: in my model.py i have a class that has this class Case(models.Model): zoomOutImage = models.ImageField('Label',…
asaji
  • 398
  • 4
  • 12
0
votes
2 answers

Read file from database

I am trying to download a file I have uploaded to an image field in my MS-SQL database. The problem is that when I try to open the file it just says System.Byte[] instead of containing the actual content. UploadFiles is my class which contains the…
Dofs
  • 17,737
  • 28
  • 75
  • 123
0
votes
1 answer

How to display Taxonomy Imagefield on Menus via taxonomy menus

Im making a website that needs a kind of graphical menu on the main site of my page, where it must be all the categories of the site with an Imagen (just the image and the category name). Obviously im using Taxonomy for do this. I already added all…
EgEm
  • 13
  • 3
0
votes
0 answers

Django Celery with Azure Blob Storage does not store imagefile of ImageField

I have implemented Celery task that downloads imagefile from web and stores the imagefile with metadata into the database. Actually, I'm using Django ImageFieldModel so that the metadata is stored in the database and file is stored in the Azure Blob…
shchoi
  • 23
  • 1
  • 5
0
votes
2 answers

Django Admin showing thumbnail of foreign key's imagefield in inline form

I have a simple structure, with a Product model, and AppMedia model and a ProductMedia join table. Product (has many) ProductMedia ProductMedia (has one) AppMedia What I would really like is to see the thumbnail for AppMedia's media field in an…
padajo
  • 65
  • 2
  • 8
1 2 3
22
23