Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 09:45:46 AM

Pages: [1]   Go Down
  Print  
Author Topic: Problems trying to save a jpg file  (Read 757 times)
cemelco2
Newbie
*
Offline Offline

Posts: 1


« on: October 31, 2003, 06:26:28 AM »

I'm working with PHP and using GD library. I´m getting the error
Warning: imagejpeg(): Unable to open 'prueba.jpg' for writing in /home/cemelco2/public_html/cemelco/panel_lib.php on line 202

when I try to save a jpg file with imagejpeg() GD function

Please help!!

Thanks
Logged
MikeBoger
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« Reply #1 on: October 31, 2003, 10:39:39 AM »

I was all ready to jump in here and tell you about the gloriousness that is Photoshop's Save For Web feature, but I can see I assumed incorrectly.  I have no PHP and GD library experience, so I'm over my head here.  You might want to try asking the good folks in the PHP forum.
Logged

Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #2 on: October 31, 2003, 10:55:20 AM »

I'm not that experienced with the GD libraries (just started using it with typo3) but i'm thinking that it may be something related to the state of the server you are on. What server are you being hosted on right now?


(and whats the url of the script? I have a few ideas also why it wouldnt work properly but i'd like to see it before i say anything too stupid Wink )
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
scanman20
Senior Moderator
Über Jedi
*****
Offline Offline

Posts: 1524



WWW
« Reply #3 on: October 31, 2003, 01:02:05 PM »

Did you try changing the permission the the jpg file to be writeable by all?
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #4 on: October 31, 2003, 01:06:58 PM »

Why didnt i even suggest that?
Someone! beat me over the head with a giant stick.
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
Trey
Jedi
*****
Offline Offline

Posts: 984



WWW
« Reply #5 on: October 31, 2003, 01:36:05 PM »

*beats Autarkis over the head with the ClueStick(tm)*

...just doin' as asked... :twisted:
Logged

This space for rent.  Reasonable rates!
Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #6 on: October 31, 2003, 06:46:06 PM »

yay! the cluestick Wink
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
Pages: [1]   Go Up
  Print  
 
Jump to: