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
1
vote
1 answer

Resize image from Sitecore Image Field after reading

Is there anyone able to tell me how could i re-size an image read from a Sitecore ImageField? After i read it from that specific image field, i form a Sitecore MediaItem from it and generate its 64 bit representation. The problem is that it comes…
Marius Popa
  • 564
  • 1
  • 5
  • 22
1
vote
1 answer

ZOHO Creator: How do I add uploaded images from and Image Field to a Page

It seems like, when I walkthrough each record and display the image link, it links to some type of default path that looks like a broken link. I looked it up over and over but there is nothing that I can see that works. Does anyone know how to make…
1
vote
1 answer

How to save an imagefield in Django views? Not a modelform

Im trying to submit a form with some textfields and an imagefield. And save it as a new model object. Cant get it to work so im going over each part from the start now.. How do i handle (just saving it) the imagefield in my views? Do i need to write…
user3199840
  • 525
  • 2
  • 13
  • 35
1
vote
2 answers

drupal cck image_field and imagecache

I am having trouble getting imagecache to generate a thumbnail based on a preset I have created named 'thumbnail'. I have an cck image_field and a custom node view. The code I am using to output my images is: field_comm_gallery…
ibuck
  • 495
  • 1
  • 5
  • 16
1
vote
1 answer

Django media directory needs execute permission

I'm recently deploying a new Django app, and on my setup (which uses Apache), the media directory will not serve files unless the "x" permission is set on the directory (which belongs to the www-data group). I'm not sure if this is normal behavior,…
Mike Nielsen
  • 331
  • 2
  • 9
1
vote
1 answer

django PIL image upload / display problems

I am trying to get django to show pictures. Ive installed PIL and it seams to work. i am running py 2.7, win 7, the developement server and sqlite3 my static root: STATIC_ROOT = r'H:/netz2/skateproject/static/' ive got a background picture in this…
1
vote
2 answers

How do I properly display user-generated images using django?

I am trying to upload a user-generated image and then display in on my django web app. The image is getting uploaded to the server but I am having trouble displaying it. models.py image = models.ImageField(blank=True, null=True, max_length=255,…
sharataka
  • 5,014
  • 20
  • 65
  • 125
1
vote
1 answer

Programmatically save image to Django ImageField 2

I've read many answers and tried all of this in the shell, but does not want to save my local image correctly, he truncate files. When image size is 400kb, he create file in media dir with size 10-30kb. I don't know why. For example i have image…
Lagovas
  • 66
  • 5
0
votes
1 answer

Drupal image resize into second imagefield

can a drupal cck imagefield be automatically resized into a second cck imagefield? maybe using imagecache? but i need the resized image to be in it's own unique cck field with unique fid so I can use it with file_download in views. is this…
Brian Lewis
  • 152
  • 2
  • 4
0
votes
2 answers

Hidden validation form - Django

I'm having really hard time trying to make this code work. I'm using Python 2.7 and Django 1.3 When I try to submit the form, it leads me to the error page, like the form has something wrong. I have a model class with an image field: class Livro…
user1106551
0
votes
1 answer

Django-- quick questions about admin

I've tried looking through documentation but I'm a bit stuck on some things-- When I enter django admin and try to change the directory for an imagefield, I hit Browse and it ends up browsing my local hard drive. I also can't change the imagefield…
user965749
  • 45
  • 7
0
votes
0 answers

can't get taxonomy image in elementor with own shortcode

I have a custom post type 'kalender' with custom taxonomy 'type-evenement' and the taxonomy has a custom field (image) to load a tumbnail. I want to load the image of this taxonomy on the page of my posts with a custom shortcode and php. Only the…
0
votes
1 answer

Uploaded image in ImageField is not shown by generic CreateView/DetailView/UpdateView

When uploading an image, the image file is stored in the desired folder. Good! But the generic view doesn't show the stored image but only: My code looks like this: model: def tenant_images_path(instance, filename): # generate filename like: …
0
votes
1 answer

Sorl-thumbnail dont create folder in cache

I get an error instead of thumbnail `[Errno 2] No such file or directory: 'D:\\developer\\love\\love_prim\\media\\Photo object (11)' Remote file [Photo object (11)] at [960x339] does not exist [25/Feb/2023 17:07:53] "GET / HTTP/1.1" 200 3634 Not…
Jgold
  • 1
  • 1
0
votes
0 answers

How to avoid duplicate image path in Django Create Method?

I'm currently making a loop that duplicates X times a post. The problem here is in the ImageField, all is working but the image path that is going to be set in the new duplicate post, has the same path. So if you delete the original post, the…
Khris Vandal
  • 147
  • 1
  • 3
  • 14