My problem is Preview image style that have to display on edit or teaser don't show. I found directory of that images (sites/default/files/styles/uc_product_full/public/image-product/1_1.jpg) didn't exist in my host file
Sorry for my English that isn't well.

Please help me and thank you for your help

Comments

Prapot’s picture

Title: Image style thumbnail don't show » Preview image style don't show
Category: bug » support
Priority: Normal » Major
Prapot’s picture

No one can answer me. OK I will find my way to solve, very very sad.

nig’s picture

I think I have the same issue, using 7.9.

When I insert an image into content, it shows a broken link. Looking in the folders were the style images should be, shows that most of them have not been generated. The only style that is reliably generating images is thumbnail. Other folders have been created, both for the default styles (medium and large) and for my custom styles, but there are only a few images in those folders - there should be many more.

It also seems strange that the sample.png images are in a different folder =
/sites/default/files/styles/large/public/modules/image
to the few examples of my images that have been generated, which are in
/sites/default/files/styles/large/public.

Anyone got an idea what I'm missing?

Thanks
Nigel

gh2012’s picture

I have the same problem and with the same symptom as nig.

There are several demonstration videos on youtube, which seem to work and I'm not using any modules that differ so I'm going to try it on a bare core install to see what happens.

joachim’s picture

Project: Image » Drupal core
Version: 7.x-1.x-dev » 7.x-dev
Component: views support » image system

Moving to core.

gh2012’s picture

Joachim. This is what I'm trying to do:

http://www.youtube.com/watch?v=l0I5f9YmmI0

Specifically, when he clicks upload here:
http://www.youtube.com/watch?v=l0I5f9YmmI0&t=5m50s
the thumbnail appears in the preview.

Unfortunately, Level 10 Labs has posted so many videos that I haven't had time to go through them all and I was not able to figure out which one shows the module setup for this demo. I get the impression that he has not added any extra modules at all. However, I think he mentioned Acquia's version of drupal.

So far, I've added image_resize_filter (and a few others) but that didn't change anything.

I am going to look at that to see if there are any extra modules in the Acquia download that might be involved.

gh2012’s picture

Acquia just seems to ship a standard drupal core.

gh2012’s picture

I have solved this problem for my setup.

I'm using NGINX from debian squeeze backports and they have a sample file for drupal, which works very well except that their configuration is for imagecache in drupal 6.

For drupal 7 this problem is solved:

http://robmalon.com/drupal-7-nginx-conf-fix-for-missing-images-styles/

referencing:

http://groups.drupal.org/node/124514

For the debian configuration my fix is slightly different from the one above.

location @rewrite {
        rewrite ^/(.*)$ /index.php?q=$1 last;
}
location ~* files/styles {
        access_log off;
        expires 30d;
        try_files $uri @rewrite;
}

Debian omits last in the @rewrite location. The "rob malon" fix omits ?q=$1 in the same place.

I don't know how much difference this makes but I'm not going to touch it.

I also have some notes on this here:
http://drupal.org/node/1457920

Sorry about making such a mess ...

gh2012’s picture

Status: Active » Needs review

I changed the status ... Prapot will have to check it if he's still looking at this.

cweagans’s picture

Priority: Major » Normal

Support requests are never major or critical.

gh2012’s picture

Status: Needs review » Closed (fixed)

As far as I am concerned, this should be closed. The other two people who had this issue appear to have abandoned it. So I'll close it ... unless I'm forbidden ... here goes.

gh2012’s picture

Issue summary: View changes

found cause of my problem