Closed (works as designed)
Project:
Dummy Image
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2011 at 07:24 UTC
Updated:
13 Jul 2011 at 10:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
naxoc commentedI don't really have a lot of experience with DS. Could you maybe upload a screenshot or two of your settings? Or maybe export them if that is possible?
Comment #2
polHello Camilla,
DS is a module who allows you to modify the layout of the Node content.
It's really handy, it's a good time saver for quick site with custom node layout.
Here you can see the screenshot on a fresh Drupal install.
1) The content type Page. (ScreenShot119.jpg)
2) The DS config for the Page content type. (ScreenShot117.jpg)
3) The Dummy Image configuration page. (ScreenShot118.jpg)
4) The rendered node through DS. (ScreenShot116.jpg)
If you need more help, I'm on the chat on G+ ;-)
Comment #3
naxoc commentedIt works fine for me. Does it do this on all nodes?
I am little unsure what you mean by "I create some nodes with that field empty"? You have to have an image in the field - or at least have the system think there is one for dummyimage to display it.
Comment #4
polI mean that when I create nodes, I let the "Image CCK field" empty, so it's dummyimage who provides the images.
Isn't the right way to use it ?
Comment #5
naxoc commentedNo, the way dummyimage works is that it either replaces the images that are uploaded or replaces missing images. So the CCK field has to contain a reference to an image.
Does that solve your problem?
Comment #6
polOh ok, I think there's a big misunderstanding here for me. So the module is only runned when we upload an image into CCK field then.
Do you think it can be possible to get it working if there is no image uploaded in the field ?
Comment #7
naxoc commentedHmmm. Not the way the module works right now. I understand the need for this though, so let me think about a solution. I'll get back to you in an hour or so :)
Comment #8
naxoc commentedCould you maybe explain what the use case is? Is it for mockups?
Comment #9
polOk it's clear then.
I'm looking for a way to provide a default image (using dummyimage, why not) automatically when there is no image uploaded in the node.
So the future client knows that there will be an image there and he will have to upload one.
Thanks, I'm refreshing this page every 5 min ;-)
Comment #10
naxoc commentedOK, then I dont think you need dummyimage. You can take advantage of the default image field on images. Just upload a deafault image on the image field configuration. Would that solve it?
Comment #11
polYes but I MUST upload a default image and I don't want to. Is it possible to use dummyimage for that ?
Maybe we should have a look at filefield module ?
Comment #12
naxoc commentedWhy don't you want to upload a default image? Dummyimage takes over if you set it to be used for all images.
Comment #13
polI know it can be weird, but I'm looking for a fast solution.
I don't want to use default image because I'm exporting configuration into features and I don't think that feature will export default image (not tested yet).
I like dummyimage because it generates an image with the size inside, it helps alot the client.
Comment #14
naxoc commentedDummyimage cannot solve that. It's not really meant for that. But play around with default images in combination with dummyimage. There should be a way to do it that way :)
Comment #15
polOkay no problem, thanks for your time !
Comment #16
naxoc commented:)