Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Need To Be Able to Upload Bigger Images

Asked Modified Viewed 1,313 times
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
asked
Fusioneer

OK I get the following error.


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 6000 bytes) in /home/sites/thesims3uk.co.uk/public_html/includes/photo_functions_include.php on line 19


Photo Gallery Settings in Admin:

Thumb Size: 100 x 100
Photo Size: 400 x 300
Maximum photo size: 5000 x 5000
Maximum file size (bytes): 994967295 (Can't figure out how to get this any higher just put 9999999999 and it saves it as 4294967295)
Thumb compression method: GD1

It wont upload an image that is 548,864 bytes How can I fix this so I can upload big images?

Thanks
Craig
0 replies

2 posts

R
Reef
R
Reef 10
  • Member, joined since
  • Contributed 56 posts on the community forums.
  • Started 18 threads in the forums
answered
Member

How large are the images you want to upload ?

1mb > 1024000

2mb > 2048000

4mb > 4096000

And so on.

At a guess the value you use needs to be properly filled in like the examples above
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

Open administration settings_photo.php

lines 25-27...

      photo_max_w='".(isNum($_POST['photo_max_w']) ? $_POST['photo_max_w'] : "1800")."',
      photo_max_h='".(isNum($_POST['photo_max_h']) ? $_POST['photo_max_h'] : "1600")."',
      photo_max_b='".(isNum($_POST['photo_max_b']) ? $_POST['photo_max_b'] : "150000")."',


Alter as needed and enter same in phpMyAdmin - fusion_settings - photo_max_w photo_max_h photo_max_b
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet