I installed acid free 4.7 module in drupal 4.7 beta 4. It worked perfectly well. And then one day i decided to move the site to different locations and from then on the whenever i upload photos the thumbnails become huge and the images in the blocks also are huge. the old pics are of the normal size though. please tel me how to resolve this.

Advance thanx
Karthikeyan

Comments

poorhouse’s picture

Hi,

Might sound strange, but is it just a few pictures that this happens to or all pictures that you now try and upload? Reason I ask is I had similar symptoms with a couple of pics. It also left an error message in my logs (can't remember what sorry!). It turned out to be something to do with my individual jpg files; don't ask me what, I guess they were in some way corrupted despite the fact they displayed OK on my computer.

What I did was load them into some graphics software (I think I used paintshop pro), made a slight change to them, and saved them again. From that point on those pictures uploaded and thumbnailed OK!

If it's all the pictures you have that won't upload I guess this won't be the case (unless they're all in some way corrupted/"different"/whatever but just thought I'd mention it in case.

a.k.karthikeyan’s picture

Hi
first i installed the site on my system and uploaded the jpg images and everything was fine. Then i moved it to another server and the old images were of correct size but then when i uploaded the new jpg files the thumbnails got huge. I deleted the old jpgs which were of correct size and uploaded them again. but this time their were also huge. I tried various combinations of file permissions, installed the whole acidfree again..but it didnt solve the problem...

Thanx

a.k.karthikeyan’s picture

Hi
The problem still persits. When i add a new image file its thumbnails are not produced. Instead the whole image becomes like a thumbnail and engulfs other images. any clew?

Thanx

vhmauery’s picture

I am pretty sure this is a configuration problem. Does acidfree/test tell you everything is okay? Is your filemanager private directory a subdirectory of the drupal system files path? Are the paths writeable?

a.siebel’s picture

Category: support » bug
Priority: Normal » Critical

I installed drupal 4.7 with the latest acidfree module.

I can upload some of my jpegs without a problem, but often i get the error:

‚imagecreatefromjpeg(): 'files/private/working/0/1063_small.jpg' is not a valid JPEG file‘ in ‚/homepages/33/d93320601/htdocs/homepage/includes/image.inc‘ in Zeile 289.'

and the acidfree-error:

failed to resize acidfree node ()

I think this is a critical bug (in acidfree or drupal core), because i can't assume that the users on my page know that they have to edit the file in a graphics software before uploading.

vhmauery’s picture

Priority: Critical » Normal

Gaara,

I think you are suffering from a different problem altogether. If your jpeg images are not correct by the jpeg standards that GD (imagecreatefromjpeg) uses, this is neither drupal nor acidfree's problem. You might try using php-imagick as your drupal image toolkit instead of GD. It's what I use. Other than that, the only advice I can give is to write a test case for the GD toolkit and try to figure out exactly what the image parser is failing on. It might be something like an exif field. Who knows. Either way, there is nothing I can do about it. Sorry.

vhmauery’s picture

Status: Active » Closed (fixed)

Karryon,

I am closing this for lack of activity. If you are still suffering from this problem, feel free to re-open it. Make sure you try my suggestion in comment #4.

a.k.karthikeyan’s picture

hi
sorry for the delay in replying. i am not getting this problem anymore. i have updated my site to newer versions. Thanx very much for the support.