SOLVED Image Size Allowed In Forum Posts


Subject: Image Size Allowed In Forum Posts
Hi guys. It's me again with the main question as the topic suggests and I am going to squeeze in one more question after words.

For the first one, it is as the title suggests. Let me set the scene. I am in the forum and making a new post. I want to add a image to the post so I click the upload image button. Up comes a page that tells me I can upload a file no larger than 1024kb. How on Earth do I change this feature to allow a little bigger images? What I have treid so far is to go to the ACP/Configuration/Main Settings/Images In Posts. In here, there is no option to change size. I have looed everywhere else in this general area of settings and no such luck any where. I am sure I over looked it? With today's cameras, 1 meg is nothing. And I know for certain they can use the Album and then BBCode the forum post BUT we all know most forum users are lazy at best. AND with Facebook like it is stealing our traffic, I want to make my site as useful to the user as possible to keep them there. Having 5 extra steps to upload a simple image is not going to cut the mustard here I'm afraid. Me personally, I love the Album and BBCode option.


And I have decided to add my other question to another post for a couple reasons.

thanks for the support fellers!

Last edited by MWE_001 on Wed 10 Aug, 2016 00:18; edited 1 time in total
Subject: Re: Image Size Allowed In Forum Posts
Hi,
try this...

OPEN upload.php
FIND
Code: [Download] [Hide] [Select]
$max_file_size = (1024 * 1024);

REPLACE WITH
Code: [Download] [Hide] [Select]
$max_file_size = (1024 * 1024 * 5);


Make the same change even on this other file
OPEN upload_ajax.php
FIND
Code: [Download] [Hide] [Select]
$max_file_size = (1024 * 1024);

REPLACE WITH
Code: [Download] [Hide] [Select]
$max_file_size = (1024 * 1024 * 5);


I'll add an option in ACP for this...

Subject: Re: Image Size Allowed In Forum Posts
Thank you very much! This is exactly what I was after. Solved! :mricy:

Subject: Re: Image Size Allowed In Forum Posts
Great for confirming.

There is no need to amend Topic Subject by adding [SOLVED], because there is a feature to mark it solved automatically...

I'll work on this to improve the way it works and allow topic starter to mark it solved.

Subject: Re: [SOLVED] Image Size Allowed In Forum Posts
Ah ok. You all have a nice little feature we didn't have over at the other place. Nice :mryellow:

Subject: Re: SOLVED Image Size Allowed In Forum Posts
I have implemented it in latest GIT code. :-)


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0985s (PHP: 18% SQL: 82%)
SQL queries: 12 - Debug Off - GZIP Enabled