Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 09:48 pm EST

Geeklog Forums

gdlib and geeklog


Status: offline

obione

Forum User
Newbie
Registered: 04/07/04
Posts: 8
Hello.. back to annoy you...

after the little incident with the netpbm lib, decided that i could only use gdlib. well... was ok with me. but check this:

Debug: File, Imagination.jpg has a width of 1280 and a height of 1024
09-04-2004 0:48:41 - Debug: in _getImageDimensions I got a width of 1280, and a height of 1024
09-04-2004 0:48:41 - Debug: Going to resize image to 300x240 using gdlib

i had display_errors off, so i didn't actually see what was goin on. i later saw that it gave an error calling the function imagecreatefromjpeg (). it said it was undefined... i'm using php 4.3.5, so i'm ok , since this was imlpemented in 3.0.16...

edit: i know i should have posted this somewhere else, but at the time i started writting this i didn't actually saw what was the problem...
if gdlib is not installed, how can i install it/enable it?
 Quote

Status: offline

obione

Forum User
Newbie
Registered: 04/07/04
Posts: 8
and now u say...
"how bout enable it in the php.ini...?"
god i feel dumb...

however, even when the $_CONF['keep_unscaled_image'] is set to 1, it discaards the original image... so i got no link to the original, i just keep the "small" one...

wasn't it suposed to make a link to the original image?
plz hlp... Oops! thx in advance Smile
 Quote

booz

Anonymous
I have the same problem...

thx in advance

M.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, looks like the code to keep the unscaled image is missing for when you select gdlib.

Can someone submit a bug report for this, please?

bye, Dirk
 Quote

Status: offline

obione

Forum User
Newbie
Registered: 04/07/04
Posts: 8
right away! Mr. Green
bug submited Wink
can be easily corrected though. just copy the netpbm part of the code that handlesresizing and paste it in the gdlib part... variables for the files are the same, so it works fine Wink
 Quote

All times are EST. The time is now 09:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content