Image A uploads but Image B wont! Image A uploads but Image B wont!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Image A uploads but Image B wont!

Started by flashpenguin, December 09, 2004, 07:35:52 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

flashpenguin

I'm having trouble uploading.  Coppermine joined with my host (globat) to provide subdomain image galleries so my image gallery is actually http://gallery.mydomain.com          I don't know if that makes any difference.   I have a strange problem, I'm trying to upload my wallpapers to my site but some of them simply refuse to work for example I have two images both 1200 x 1600 both 300kb both jpeg both with normal filenames (file1.jpg, file2.jpg) but when I add them to the gallery file1 uploads fine showing me the thumbnail and allowing me to add the caption and comment then I click continue for file2 but I get a fingernail and (image could not be loaded)      And this didn't just happen once i have 30 files all with the same attributes and about 10 of them won't upload.  I'd feel better if none of the files were uploading because then I would know something's wrong with my config and i can fix it but this is wierd.  I even opened up an image that passed and an image that didn't pass in photoshop to see if they had any difference in color settings but I couldn't find any differences.  I tried to re-submit the ones that didn't upload individually several times but the ones that wont go just wont go!  Do any of you gurus know what my problem might be? thanks

Nibbler

You could try letting us see these images for ourselves.

flashpenguin

#2
Ok sorry here are the links to just a couple images (one that works and one that doesn't) both are 1200 x 1600 and both are under 400kb both are jpg (the windows xp image works fine but the linux image will not upload and gives me a fingernail.  my best guess would be something is wrong with color information somewhere but I've checked all the attributes and properties I know of and I can't find what's wrong..

http://www.flashpenguin.com/link/xp1.jpg
http://www.flashpenguin.com/link/linux1.jpg

[edit GauGau]
removed the [ i m g ] tags around those pics - you mustn't steal bandwidth, people who want to see your pics can click on the links. Nibbler didn't ask for the pics, but a link to your gallery anyway.

Joachim
[/edit]

Nibbler


flashpenguin

ok first of all I'm not "stealing" bandwidth if it's coming from my own server which it is.  Any bandwidth that those pictures use is from my server since coppermine.sourceforge never uploaded those images.  second, It uploaded fine for you but that doesn't answer any questions.  In fact I suspected it would for you but I still don't know why.  I even had a tech support guy from my webhost work on it for an hour and he has access to all my webspace he couldn't get the image to upload through coppermine either. 
QuoteCoppermine joined with my host (globat) to provide subdomain image galleries
so I guess there's my problem right? If it works for you and not for me OR globat tech support it must be a problem with my host and have nothing to do with coppermine.  bummer.. I guess I'll keep messing around with it.  Or maybe my only option is to switch over to a full coppermine script instead of the subdomain version globat has me using.

Nibbler

We have no idea what that globat version is, we always recommend you to use our code downloaded from our site.

Joachim Müller

the pics were stealing my bandwidth, by viewing the thread they automatically got loaded, which took ages. I just modified your posting so everyone who wanted to have them could, that's all.
There are various server settings that have an impact on your upload capabilities (file size, dimensions etc.), check the sticky threads (the ones with a pin icon) on this sub-board to find out more.

Joachim

flashpenguin

Ok, yeah i thought you meant i was stealing bandwidth from someone else's server.  You should probably just remove the [img] option anyway from the forum if it's going to be bogging everyone down.  I just used the img tag because I figured it would be quicker for ya'll. I guess I'll switch over to coppermine only code if that's what fixes it.  The version we're using is the same the only difference is that instead of making a folder (www.mydomain.com/gallery/index.php) it makes a subdomain coppermine (www.photos.mydomain.com)  thanks for your help guys. cheers

flashpenguin

ok.. well I installed a normal coppermine on my server and wouldn't you know it.. same problem.  xp image loads fine and the linux image wont.  and i have the same problem with a bunch of my images.. some upload and some don't.. they all have the same attributes! they're all under 500k and they're all 1200 x 1600 and they're all jpeg.  so here's the million dollar question.  What the heck is going on here?

Casper

I had no problem with either.  it is possible it's a memory usage problem.  Try making a smaller copy of the one that fails, say 1200 x 800, and see if that works.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

flashpenguin

Ok that worked (sort of) i changed the image size of the linux image to 1024 x 786 and it uploaded fine into the album.  So is that a memory problem on the clientside or serverside? and how would I adjust settings to accept the file? I'm confused because I've uploaded dozens of other photos 1200 x 1600 with a much bigger file size than that linux one so what is making the difference in memory?

Casper

I'm not an expert on how or why, but it is the memory allocated in php. When Imagemagick and GD create the intermediate and thumbs, the most impotant factor is not the filesize, but the pixel size, and existing quality makes little or no difference.

This is a common complaint on free webhost, where the memory limit is set low.  Your pics that pass must be near the limit, and those that fail, just over the total required for the task.

If the server is yours to play with, try setting the 'memory_limit' higher.  If not, ask your host.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here