Uploads are not always creating thumbnails
9 posts by 4 authors in: Forums > CMS Builder
Last Post: October 28, 2008 (RSS)
By Capt'n Morgan - October 24, 2008 - edited: October 25, 2008
Why would some work, but not others?
My thumb size is 300 x 300 px, and the images I'm uploading are 500 x 312 or so, so that shouldn't matter.
I have version 1.22 of CMS Builder.
The images I'm uploading are jpgs.
Also, if I click on the button to recreate the thumbnails, I get this error:
Error: SaveResampledImageAs: Unknown image type
I think that may be the root of the problem, but I don't know what it means. My files have .jpg extensions, and that is a valid upload type...
Re: [Capt'n Morgan] Uploads are not always creating thumbnails
I would buy into priority support, but it's the weekend, so that won't help me until Monday. :(
Re: [Capt'n Morgan] Uploads are not always creating thumbnails
Just to help fill out the picture...
When you upload your image do you see a copy of it in the preview window?
:0)
Perch
Re: [Perchpole] Uploads are not always creating thumbnails
I even tried manually creating a thumnail and putting it in the thumbnail directory, hoping it would pick up on that, but it didn't.
Is it possible it's just something awry with those files? Most images have worked fine.
Re: [Capt'n Morgan] Uploads are not always creating thumbnails
Is it possible it's just something awry with those files? Most images have worked fine.
Cap -
That's certainly a possibility. If it's always the same images that fail then I suspect they could be at the heart of the problem?
Recently, one of my clients had difficulty uploading some images on to X-cart. She tried everything - without success. In desperation she sent the files to me and even I couldn't get them to upload. In the end I opened the pictures in Photoshop and simply re-saved/exported them. The next time I tried to upload them everything worked as normal.
In such circumstances it's worth trying everything - even if it's not the most obvious solution!
:0)
Perch
PS. Incidentally, and for the record, the client in question works exclusively on a Mac. I work solely on Windows!
Re: [Perchpole] Uploads are not always creating thumbnails
By Kenny - October 25, 2008
Kenny
Re: [Capt'n Morgan] Uploads are not always creating thumbnails
By Dave - October 27, 2008
Can you post an url (or attach a file) of the image that causes that error? I'll try to reproduce the error locally and see if I can figure out whats happening.
>Hi Dave, I see you answering questions all around my post, PICK ME!
Sometimes when I'm not at the office I still login and answer some of the "easy ones" :)
interactivetools.com
Re: [Dave] Uploads are not always creating thumbnails
But the responses above helped. I just looked at the image meta data, and I see it's actually a bmp, but it's saved as a jpg. Sounds like a novice file conversion trick!
The image is attached for your reference. It might have the same effect here!?
Re: [Capt'n Morgan] Uploads are not always creating thumbnails
By Dave - October 28, 2008
Do you anticipate many users might have misnamed images? We could look at adding error checking for if the file extension didn't match the image type.
There doesn't seem to be much support for manipulating bmp images in PHP though, so it would be harder to support them directly.
interactivetools.com