Welcome to Geeklog, Anonymous Sunday, May 19 2024 @ 05:02 am EDT

Geeklog Forums

attaching images larger than 300*300 in stories


justme

Anonymous
i have tried changing

$_CONF['image_lib'] = 'netpbm'; // can be netpbm, imagemagick

and modified the path to netpbm(which is not in public_html), and it doesnt work...does netpbm folder have to be in public_html folder for it to work? the error i got is...

Warning: copy(/home/anvil/public_html/geeklog/images/articles/tmp.jpg): failed to open stream: No such file or directory in /home/anvil/public_html/geeklog/gladmin/system/classes/upload.class.php on line 522
Couldn't copy /home/anvil/public_html/geeklog/images/articles/tmp.jpg to /home/anvil/public_html/geeklog/images/articles/20040108083640402_2.jpg. You'll need remove both files
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
So does this only happen with images larger than 300x300? If so, keep in mind that there's also a size limit:

$_CONF['max_image_size'] = 1048576; // 1048576 = 1MB

Also, PHP has a size limit for file uploads in general, which is at 2 MB per default.

bye, Dirk
 Quote

justme

Anonymous
yes, it only happens to image larger than 300x300. cos its specified in the config. but afaik it can be resiezed by specifying that i wanna use netpbm to do the resize. however it gives me the error. the file size is definitely less than 1mb
 Quote

justme

Anonymous
no help? Cry
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Have you tried Imagemagick?
 Quote

All times are EDT. The time is now 05:02 am.

  • 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