Technology and Beyond (TaB)

Full Version: Uploading pictures as attachments on tab
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

zma

It seems uploading pictures as attachments on tab fails for me.

The picture I am uploading is: http://file.pkill.info/file/2014-10-23-4...http://file.pkill.info/file/2014-10-23-4182-hom

Is it because the picture is too large?

DaY

(10-24-2014 01:47 PM)zma Wrote: [ -> ]It seems uploading pictures as attachments on tab fails for me.

The picture I am uploading is: http://file.pkill.info/file/2014-10-23-4...http://file.pkill.info/file/2014-10-23-4182-hom

Is it because the picture is too large?

I've adjusted the max size of .png file, please try again.

zma

(10-24-2014 01:59 PM)DaY Wrote: [ -> ]
(10-24-2014 01:47 PM)zma Wrote: [ -> ]It seems uploading pictures as attachments on tab fails for me.

The picture I am uploading is: http://file.pkill.info/file/2014-10-23-4...http://file.pkill.info/file/2014-10-23-4182-hom

Is it because the picture is too large?

I've adjusted the max size of .png file, please try again.

Seems not work for me yet. The thread I try to upload the file to is http://tab.d-thinker.org/showthread.php?tid=2618 .

zma

(10-24-2014 02:01 PM)zma Wrote: [ -> ]
(10-24-2014 01:59 PM)DaY Wrote: [ -> ]
(10-24-2014 01:47 PM)zma Wrote: [ -> ]It seems uploading pictures as attachments on tab fails for me.

The picture I am uploading is: http://file.pkill.info/file/2014-10-23-4...http://file.pkill.info/file/2014-10-23-4182-hom

Is it because the picture is too large?

I've adjusted the max size of .png file, please try again.

Seems not work for me yet. The thread I try to upload the file to is http://tab.d-thinker.org/showthread.php?tid=2618 .
Is it PHP's limitation? https://stackoverflow.com/questions/2184...https://stackoverflow.com/questions/2184513/php-change-the-maximum-upload

DaY

(10-24-2014 02:04 PM)zma Wrote: [ -> ]
(10-24-2014 02:01 PM)zma Wrote: [ -> ]
(10-24-2014 01:59 PM)DaY Wrote: [ -> ]
(10-24-2014 01:47 PM)zma Wrote: [ -> ]It seems uploading pictures as attachments on tab fails for me.

The picture I am uploading is: http://file.pkill.info/file/2014-10-23-4...http://file.pkill.info/file/2014-10-23-4182-hom

Is it because the picture is too large?

I've adjusted the max size of .png file, please try again.

Seems not work for me yet. The thread I try to upload the file to is http://tab.d-thinker.org/showthread.php?tid=2618 .
Is it PHP's limitation? https://stackoverflow.com/questions/2184...https://stackoverflow.com/questions/2184513/php-change-the-maximum-upload

You're right. It's php's limitation. I've assigned bigger values to upload_max_filesize and post_max_size in the php.ini and configured the server, please try again.

zma

(10-24-2014 02:42 PM)DaY Wrote: [ -> ]You're right. It's php's limitation. I've assigned bigger values to upload_max_filesize and post_max_size in the php.ini and configured the server, please try again.

Working now. Thanks!

zma

It seems .jpg files are also limited to 500KB. Can we also make the limit for .jpg larger, such as 10MB?

zma

The images that are large are displayed as it is in thread.

May make it seems better by limit its max width when it is displayed:

May be add one line to http://tab.d-thinker.org/cache/themes/theme1/global.css 's source or somewhere else:

Code:
img.attachment {max-width:800px;}

DaY

(10-27-2014 03:54 PM)zma Wrote: [ -> ]The images that are large are displayed as it is in thread.

May make it seems better by limit its max width when it is displayed:

May be add one line to http://tab.d-thinker.org/cache/themes/theme1/global.css 's source or somewhere else:

Code:
img.attachment {max-width:800px;}

the style is added, please check

DaY

(10-27-2014 03:49 PM)zma Wrote: [ -> ]It seems .jpg files are also limited to 500KB. Can we also make the limit for .jpg larger, such as 10MB?

yes, jpg files are limited 50MB now
Pages: 1 2
Reference URL's