My Aquaria - unable to upload image

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Martin S
Posts: 2099
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

My Aquaria - unable to upload image

Post by Martin S »

Excellent addition to the site...
Whilst trying to set up my first aquaria, and after filling it all in, hit submit and lost it all :?
Tried again, with minimum data and it saved OK - then went back in to add in the image, but it wouldn't let me add the image from my PC. I get the message 'Your uploaded image must be in JPEG format. Other file types are not allowed.' even though the image is 'tank_updated.jpg' (have tried with 'tank_updated.jpeg' but still no joy). Image is 119kb. I also found it would not let me save the aquaria if it was call 'Rekord 70', but 'My Rekord 70' works!
Martin
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

Hi Martin,

Can you try it again now? I think some code I put it to stop you removing the image if you edit the data once an image had been uploaded was causing the problem.

Jools
User avatar
I_Xeno
Posts: 101
Joined: 23 Jul 2006, 22:27
I've donated: $5.00!
My images: 7
My cats species list: 15 (i:0, k:0)
Spotted: 3
Location 2: Europe

Re: My Aquaria - unable to upload image

Post by I_Xeno »

I have te same problem, i just tried it again
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

bennyvis wrote:I have te same problem, i just tried it again
I think it wasn't fully uploaded and you were very quick! Try it now, I got it to work...

Jools
User avatar
drpleco
Posts: 709
Joined: 23 Jun 2005, 03:01
My images: 2
My cats species list: 43 (i:0, k:0)
Spotted: 1
Location 2: Wausau, WI
Contact:

Re: My Aquaria - unable to upload image

Post by drpleco »

I can't get anything to upload either. :( My pics are all ~144k
User avatar
Kostas
Posts: 791
Joined: 23 Apr 2003, 10:57
I've donated: $256.00!
My images: 19
My cats species list: 14 (i:0, k:0)
My aquaria list: 1 (i:1)
Spotted: 6
Location 1: Greece,Athens
Location 2: Greece,Athens
Interests: Fishkeeping,diving,skiing,r/c modeling,growing Palm trees,ferns and tropical plants
Contact:

Re: My Aquaria - unable to upload image

Post by Kostas »

Doesnt work for me either...Whats the maximum allowed image size to use at the My Aquaria page?

Thank you very much in advance!
alga
Posts: 67
Joined: 30 Jun 2005, 17:01
My cats species list: 32 (i:0, k:0)
My aquaria list: 2 (i:1)
Location 1: Detroit, Michigan
Interests: Besides fish...? L#'s and angels

Re: My Aquaria - unable to upload image

Post by alga »

I have the samllest JPEG I can get and it still won't load........ I'll keep trying because I like this new feature.. :D
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

You know, I just don't understand it. It works fine for me and I've even tested images that didn't work for other folks and they did work for me. What I will do is change the error messages to be more specific and then if you guys can report what error messages you are getting it might help track down the issue.

Will post again when I am ready for you all to try again (if you don't mind the time!).

Jools
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

For security reasons, I check the type of file being sent to the Planet web server. I find now that this is set by the *browser*, not by PHP or the web server, and browsers are not consistent. For example IE6/7 will upload a progressive JPEG as image/pjpeg, while Firefox and Opera will upload it as image/jpeg. More importantly IE will try and determine the mime type of the file by actually inspecting its contents. For example if you rename a perfectly valid PNG file to end with .zip instead, IE will still send a mime type of image/x-png, where-as Firefox and Opera will send application/x-zip-compressed and application/zip respectively, even though the file is a valid PNG.

I have changed the error message to tell you what mime type your browser things it's sending. If it's not one we know about, you will get an error message like this:

Your uploaded image must be in JPEG format.
Other file types are not allowed.
It appears you tried to upload a mime type of XXXXXXXX

So please upload again. If you do get this error, please tell me what XXXXX is by posting in this thread. I will then see if I can allow those types in.

Cheers,

Jools
User avatar
Iwona
Posts: 35
Joined: 06 Mar 2005, 14:40
My images: 3
My cats species list: 9 (i:0, k:3)
My aquaria list: 1 (i:1)
My BLogs: 1 (i:0, p:9)
Spotted: 4
Location 1: Warsaw, Poland
Location 2: Warsaw, Poland
Interests: catfish, snails, parrots=birds

Re: My Aquaria - unable to upload image

Post by Iwona »

My error message is:
Your uploaded image must be in JPEG format.
Other file types are not allowed.
It appears you tried to upload an file type of image/pjpeg.
alga
Posts: 67
Joined: 30 Jun 2005, 17:01
My cats species list: 32 (i:0, k:0)
My aquaria list: 2 (i:1)
Location 1: Detroit, Michigan
Interests: Besides fish...? L#'s and angels

Re: My Aquaria - unable to upload image

Post by alga »

Mine too-

It appears you tried to upload an file type of image/pjpeg
User avatar
Iwona
Posts: 35
Joined: 06 Mar 2005, 14:40
My images: 3
My cats species list: 9 (i:0, k:3)
My aquaria list: 1 (i:1)
My BLogs: 1 (i:0, p:9)
Spotted: 4
Location 1: Warsaw, Poland
Location 2: Warsaw, Poland
Interests: catfish, snails, parrots=birds

Re: My Aquaria - unable to upload image

Post by Iwona »

And now I lost my avatar too :D , and can't upload a new one.
I tried to upload from my computer, and then directly from www.photobucket.com and nothing works.

Iwona
User avatar
drpleco
Posts: 709
Joined: 23 Jun 2005, 03:01
My images: 2
My cats species list: 43 (i:0, k:0)
Spotted: 1
Location 2: Wausau, WI
Contact:

Re: My Aquaria - unable to upload image

Post by drpleco »

Your uploaded image must be in JPEG format.
Other file types are not allowed.
It appears you tried to upload an file type of image/pjpeg.

This was the error message I received, and I am using IE7 as my browser. I'll try again from firefox and see what happens.

Thanks Jools!
User avatar
drpleco
Posts: 709
Joined: 23 Jun 2005, 03:01
My images: 2
My cats species list: 43 (i:0, k:0)
Spotted: 1
Location 2: Wausau, WI
Contact:

Re: My Aquaria - unable to upload image

Post by drpleco »

It seems to work well from firefox!

One thing I found - If the name of the tank has quotation marks in it, then the image won't load. For example, I had to rename my tank "Sticks and Stones" to Sticks and Stones before the image would work.
Haavard Stoere
Posts: 1128
Joined: 27 Jan 2005, 22:56
My articles: 3
My images: 65
My cats species list: 22 (i:0, k:0)
My aquaria list: 10 (i:9)
Spotted: 16
Location 1: Norway, Stavanger

Re: My Aquaria - unable to upload image

Post by Haavard Stoere »

I got the same message when using Internet Explorer:
Your uploaded image must be in JPEG format.
Other file types are not allowed.
It appears you tried to upload an file type of image/pjpeg.

I changed to Firefox, and it works.

About the size and quality of the photos...?
I made an image with 1000pixels in length, and only 84kb. The quality after uploading have been greatly reduced. Should the image be only 640 pixels to avoid this?

Very nice feature by the way :D
Image
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

OK, so IE calls a JPEG file pjpeg, the p standing for, rather ironically in this case, progressive. So, I have amended the code to allow this type as well. You should now be able to use IE to upload as easily as firefox etc.

Jools
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

Haavard Stoere wrote:About the size and quality of the photos...?
I made an image with 1000pixels in length, and only 84kb. The quality after uploading have been greatly reduced. Should the image be only 640 pixels to avoid this?
There is no maximum width, except that images wider than 1280 pixels probably won't work. Try using less compression on the image and upload it again, each image is resampled and cached into various sizes before it is displayed, it will be something in that stage that is responsible for image quality loss. In fact, I think I know what it might be and I will go and fix it now!

Jools
User avatar
I_Xeno
Posts: 101
Joined: 23 Jul 2006, 22:27
I've donated: $5.00!
My images: 7
My cats species list: 15 (i:0, k:0)
Spotted: 3
Location 2: Europe

Re: My Aquaria - unable to upload image

Post by I_Xeno »

it works now.
Thanks for your afforts ;)
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Aquaria - unable to upload image

Post by Jools »

bennyvis wrote:it works now.
Thanks for your afforts ;)
No problem, I think I'll move this one into the "resolved" forum now. :-)

Jools
User avatar
Martin S
Posts: 2099
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Re: My Aquaria - unable to upload image

Post by Martin S »

bennyvis wrote:it works now.
Thanks for your afforts ;)
Ditto. Thanks Jools.
Post Reply

Return to “All Resolved Issues”