Technology and Beyond (TaB)
Uploading pictures as attachments on tab - Printable Version

+- Technology and Beyond (TaB) (http://tab.d-thinker.org)
+-- Forum: Data Thinker (/forumdisplay.php?fid=896)
+--- Forum: Resources (/forumdisplay.php?fid=211)
+---- Forum: Completed work (/forumdisplay.php?fid=275)
+---- Thread: Uploading pictures as attachments on tab (/showthread.php?tid=2619)


Uploading pictures as attachments on tab - zma - 10-24-2014 01:47 PM

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-4182-home-meta.png

Is it because the picture is too large?


RE: Uploading pictures as attachments on tab - DaY - 10-24-2014 01:59 PM

(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-4182-home-meta.png

Is it because the picture is too large?

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


RE: Uploading pictures as attachments on tab - zma - 10-24-2014 02:01 PM

(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-4182-home-meta.png

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 .


RE: Uploading pictures as attachments on tab - zma - 10-24-2014 02:04 PM

(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-4182-home-meta.png

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/2184513/php-change-the-maximum-upload-file-size


RE: Uploading pictures as attachments on tab - DaY - 10-24-2014 02:42 PM

(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-4182-home-meta.png

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/2184513/php-change-the-maximum-upload-file-size

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.


RE: Uploading pictures as attachments on tab - zma - 10-24-2014 02:51 PM

(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!


RE: Uploading pictures as attachments on tab - zma - 10-27-2014 03:49 PM

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


RE: Uploading pictures as attachments on tab - zma - 10-27-2014 03:54 PM

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;}



RE: Uploading pictures as attachments on tab - DaY - 10-27-2014 08:34 PM

(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


RE: Uploading pictures as attachments on tab - DaY - 10-27-2014 08:35 PM

(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


RE: Uploading pictures as attachments on tab - zma - 10-27-2014 09:16 PM

(10-27-2014 08:34 PM)DaY Wrote:  
(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

Looks nice to me. Thanks!