<cfimage> has problem with certain photos


i built photo album website, , it's , running, i'm running problems uploading files.

 

my album works this:

 

first, use imagemagick's "mogrify -resize" command cut originals down 1280 width.  don't need pics larger this, cuts down on uploading time.

 

second, ftp pics "uploads" directory on server (that's pw-protected on browser side).

 

three, log in uploads page, , <cfdirectory> tells me how many pics there are.  select album, , click "submit".

 

this submits page few things:

  1. it makes sure file not wider 1280px in either dimension, , resizes if is.
  2. it copies original /fullsize/ folder.
  3. it uses cfimage make thumbnail (180px width) , places in /thumbnails/ folder
  4. it uses cfimage again make main viewing pic (800px width), , places in main gallery folder
  5. it runs <cfquery> add pic database proper album id
  6. finally, uses <cffiile> delete original uploads folder.

 

i used upload on 4,000 pics locally on linux machine during development before copying db , pics server.  i've uploaded several more pics since gallery has been "live".

 

my problem (both on live , local) "stalls" , refuses process pics.  throws no errors of kind, have no idea what's going on.  *stops*. 

 

i've checked permissions, renamed files (the file name column in photos table doesn't allow duplicates, obvious reasons).  right now, there 2 things files script stalls on have in common.

  1. i've used imagemagick resize them locally
  2. they portrait oriented pics.  if have 30 pics i'm uploading, it'll stall on first 1 that's portrait.

 

now, if open pic in default viewing app on machine (gnome image viewer) , rotate pic 90 degrees right, 90 left , save it, "fixes" , it'll upload no issues.

 

i know pretty one-off sounding, off in left field problem, figured i'd toss out there in case there's known issue.

 

i can post code of processing page, works since i've uploaded 4000+ pics it.  it's file problem, have no idea wrong.  ideas?



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support