Zubrag.com
December 20, 2014, 01:22:32 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: File suffix problems  (Read 7186 times)
thoughton
Newbie
*
Posts: 2


WWW
« on: June 19, 2007, 01:03:30 PM »

Hi there,

Firstly, thanks for the brilliant script  Smiley

I've integrated into a Movable Type + Rightfields powered site I'm working on. Everything is working perfectly, but I have now noticed that the thumbnail process fails silently if the suffix (.jpg, .png etc) is in upper case. My original image.JPG will upload, but no thumbnails will be created. If I change the suffix back to lower case then it works as planned.

Any ideas? Thanks in advance  Grin

Logged
zubrag
Administrator
Hero Member
*****
Posts: 754


WWW
« Reply #1 on: June 20, 2007, 11:26:11 AM »

Strange. I tried following and it created thumbnail:
thumb.php?src=jaguar.JPG&dest=thumb.jpg&x=100&y=50

Please post a sample (how you run it)
Logged
thoughton
Newbie
*
Posts: 2


WWW
« Reply #2 on: June 26, 2007, 12:30:27 PM »

Thanks for the reply, and confirming that the script should actually work with uppercase suffixes. That helped me narrow it down, and it looks like it is being caused by HTML::Template converting the filename to lowercase.

Thanks again for the great script!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC