News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Plugin dimension issue

Started by tarantula901, April 05, 2019, 12:05:28 PM

Previous topic - Next topic

Sir Osis of Liver

Which problem are we dealing with, your original resize question or uploading multiple attachments?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

tarantula901

Quote from: Sir Osis of Liver on June 15, 2019, 04:11:42 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.

Kindred

that is a server issue with available memory
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tarantula901

Quote from: Kindred on June 22, 2019, 06:34:41 PM
that is a server issue with available memory

How do you solve the problem

Kindred

Talk to your host.  It may involve buying a dedicated server,  depending on what your host offers in shared servers
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sesquipedalian

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.

Advertisement: