Advertisement:
GCWebhosting

Author Topic: Plugin dimension issue  (Read 2881 times)

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,137
Re: Plugin dimension issue
« Reply #40 on: June 15, 2019, 04:11:42 PM »
Which problem are we dealing with, your original resize question or uploading multiple attachments?

Offline tarantula901

  • Jr. Member
  • **
  • Posts: 307
Re: Plugin dimension issue
« Reply #41 on: June 22, 2019, 05:02:36 PM »
Which problem are we dealing with, your original resize question or uploading multiple attachments?

This problem is not loading more than one image, images are not loading if the manufacturer is large.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,318
  • Gender: Male
    • Kindred-999 on GitHub
Re: Plugin dimension issue
« Reply #42 on: June 22, 2019, 06:34:41 PM »
that is a server issue with available memory
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline tarantula901

  • Jr. Member
  • **
  • Posts: 307
Re: Plugin dimension issue
« Reply #43 on: June 23, 2019, 10:05:34 AM »
that is a server issue with available memory

How do you solve the problem

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,318
  • Gender: Male
    • Kindred-999 on GitHub
Re: Plugin dimension issue
« Reply #44 on: June 23, 2019, 10:27:23 PM »
Talk to your host.  It may involve buying a dedicated server,  depending on what your host offers in shared servers
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sr. Member
  • *
  • Posts: 908
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Plugin dimension issue
« Reply #45 on: June 24, 2019, 02:04:24 PM »
Yes, this sounds like the server is running out of resources while trying to process the very large image files.

Unfortunately, installing a mod to resize image attachments to a smaller size will only make this problem worse. This is because resizing an image requires the server to use even more resources in order to process the file. Moreover, since most web servers do not have a GPU, they are not very efficient at processing image files.

So, tarantula901, there are several ways to solve your problem:

1. Upgrade to a more powerful server, as Kindred suggested. This will be effective, but it can be expensive.

2. Buy more storage for your existing server and don’t try to resize image attachments at all.

3. Change the limits on SMF’s Attachments Settings page in order to reduce the amount of image data your server needs to process at once. There are several settings you can adjust, depending on your needs. For example:
  • You could reduce the maximum file size that an attachment is allowed to have. This would prevent large images from being uploaded, which would force your users to upload a smaller version of an image instead of the full sized image.
  • You could reduce the maximum number of attachments that a post is allowed to have. Your users could still upload large image files, but they would have to make several posts in order to attach all the images.
  • You could turn off the option to create thumbnails, since creating thumbnails is a type of resizing. This would reduce the strain on your server while still allowing your users to upload many large image files in a single post. However, it will also increase the amount of data your server has to send when people view your forum, which will make your pages load more slowly and will increase the amount of bandwidth your site uses each month. I don’t recommend doing this unless you need to.

Of course, these solutions can be combined in whatever way works best for you.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.