Some images I upload are cut off in the preview thumbnail. There does not seem to be a pattern in the images that do not preview fully. I've attached a screenshot and one of the images that are causing this issue.
1. CCK version: 5.x-1.6-1
2. imagefield version: 5.x-2.1
3. tmp perm: 755; files perm: 777
4. download method: public
5. imagefield configuration:
- max res: 300x200; max filesize: 2000
6. expected results: preview image in thumbnail size
7. the unexpected actual results: some images are cut-off in preview; see attachments
8. steps to reproduce the problem: Browse folders, select picture, pressed "Upload" button.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | chopped-preview.jpg | 32.06 KB | rachelove |
| #1 | future-car-1.jpg | 33.64 KB | rachelove |
Comments
Comment #1
rachelove commentedComment #2
quicksketchIf the server takes to long to respond or the image takes too long to load, IE will just give up right in the middle of loading an image. It shouldn't affect any other browsers. Drupal 5 generally had a really tough time with previews of files, since they were stored in the tmp directory until the node was saved. This meant that the preview needed to be fed through a separate request to Drupal, which didn't work real well.
I'm marking this "fixed" as a support request, since that's the best answer I have. It's unlikely that this bug will be fixed due to the nature of Drupal 5's handling of temporary files.
Comment #3
quicksketchThis might also be related #330618: Half-uploaded images, resolution size issues.