almost a fresh installed Drupal 7
new "article", select a image to upload, after uploading finished, the image is upload successfully to ".../sites/default/files/field/image/pen_1000_750_0.jpg".
And a thumbnail, pointed to ".../sites/default/files/styles/thumbnail/public/field/image/pen_1000_750_0.jpg", is supposed to be shown before the above link, however, it's broken. I even can't find the fold of ".../sites/default/files/styles/public/filed" on server host.

Comments

jczuo’s picture

Status: Active » Closed (fixed)

issue is fixed, cause nginx is not properly configured to support image cache, please see below link
http://www.zooyoo.org/imagecache-module-of-drupal-not-work-with-nginx.html

straszko’s picture

Version: 7.0 » 7.2
Assigned: Unassigned » straszko
Priority: Normal » Major
Status: Closed (fixed) » Active
Issue tags: +clean URL

Hello,
installed Drupal 7.2 and have problems with uploaded images (through image_field)...
When Clean URLs disabled everything seems to work fine (all images visible).
When Clean Urls enabled image presets (ex.: thumbs, medium, large) are not showing... but original size image visible..

any help appreciated...
regards.

sun’s picture

Version: 7.2 » 7.0
Priority: Major » Normal
Status: Active » Closed (fixed)
Issue tags: -clean URL +nginx

@straszko: Please search the queue for existing issues. If you don't find an issue that directly maps to your problem, create a new one. However, don't abuse the priority level, please.

WilliamB’s picture

Sorry, is there a fix for 7.2?

I'm facing the same issue, the thumbnail preview is not showing.

Actualy looking at the html code of the form:

<div class="image-preview"><img alt="" src="http://soglu-li50.heb.fr.colt.net/sites/default/files/styles/thumbnail/public/images/articles/articles_contenu/banniere/tmp-sponsoring.jpg" typeof="foaf:Image"></div>

And looking into my server, i actualy have the folder created but it's empty. What could prevent the thumbnail from being generated?

EDIT: Actualy, it seems that Drupal is just not generating thumbnail for jpg, only png.
Still weird that it creates folders and html even then though!

WilliamB’s picture

Version: 7.0 » 7.2
Assigned: straszko » Unassigned
Priority: Normal » Major
Status: Closed (fixed) » Active
Issue tags: -nginx

Well for some reason i don't have any thumbnail generated for .jpg file.
As i stated above the HTML code is generated to display thumbnails but there is no such image in the folder.

stevenpatz’s picture

Status: Active » Closed (fixed)
alienzed’s picture

I'm experiencing the same problem, ever find a solution?

WilliamB’s picture

Check your logs.
For me it was because of some missing Php libraries.
And i also had another issue because of rights settings on my server.

onny’s picture

Version: 7.2 » 7.9

I'm experience this kind of bug while using media_gallery module. The Images are uploaded but Drupal does not generate the thumbnails. Strangely, after turning "Clean URL" off and on again, the thumbnails appear :/ Any way to debug this? Couldn't find anything useful in Firefox WebConsole nor Apache/PHP-Logs ...

paulgemini’s picture

What host are you using? I'm using hostgator - same problem

jisuo’s picture

Same problem, original image is uploaded but the thumbnails are not created. The folders are there but not the thumbnail files. Nothing is shown in error logs which is frustrating.

Using the media module for upload (nginx server).

GD has everything installed:

Array ( [GD Version] => bundled (2.0.34 compatible) [FreeType Support] => 1 [FreeType Linkage] => with freetype [T1Lib Support] => 1 [GIF Read Support] => 1 [GIF Create Support] => 1 [JPEG Support] => 1 [PNG Support] => 1 [WBMP Support] => 1 [XPM Support] => 1 [XBM Support] => 1 [JIS-mapped Japanese Font Support] => )

EDIT:

It was a nginx config that caused the problem... stupid mistake /facepalm. This bypassed php all together = no thumbnails.

Images and static content is treated different
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
access_log off;
expires 30d;
root /home/www/web;

}