close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Maximum Upload size 1024x768 px

Thread began 2/28/2011 10:20 am by martin400112 | Last modified 3/29/2011 1:49 pm by Jason Byrnes | 3281 views | 5 replies |

martin400112

Maximum Upload size 1024x768 px

Having had help sorting out one problem I had with HTML Editor 3, I now have a message telling me that I cannot upload an image larger than 1024x768 px....can I change that to unlimited???

the server the site is on has no upload restrictions on it, and it would be very useful to not have this restriction.

thanks,

Martin (again!)

Sign in to reply to this post

Jason ByrnesWebAssist

the max width and height are set in the webassist/kfm/initialize.php file:

php:
$kfm->defaultSetting('max_image_upload_width', 1024);

$kfm->defaultSetting('max_image_upload_height', 768);



i dont think you can change it to unlimited, but you can increase the values there to something stupid large like:

php:
$kfm->defaultSetting('max_image_upload_width', 1024000);

$kfm->defaultSetting('max_image_upload_height', 768000);
Sign in to reply to this post

martin400112

Thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Cologne

Hi Jason,

is it possible, to set the size with a variable that I will set in my own backend? and that will be stored in a session?

Denis

Sign in to reply to this post

Jason ByrnesWebAssist

sure, you would probably want to use isset so that a default is used if the session is not set;

if(!session_id()) session_start();
$kfm->defaultSetting('max_image_upload_width', ((isset($_SESSION['width']))?$_SESSION['width']:1024));
$kfm->defaultSetting('max_image_upload_height', ((isset($_SESSION['height']))?$_SESSION['height']:768));

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...