FLUID-4479: Image gallery demo doesn't display the uploaded images sometimes

Metadata

Source
FLUID-4479
Type
Bug
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
N/A
Reporter
Cindy Li
Created
2011-09-30T13:24:24.114-0400
Updated
2014-06-25T16:25:07.233-0400
Versions
  1. 1.3.1
Fixed Versions
N/A
Component
  1. Website

Description

To produce:

1. go to http://build.fluidproject.org/uploader/hourly/image-gallery.php or http://build.fluidproject.org/image-gallery/image-gallery.php
2. click on "browse files" to add a large-sized image with the size exceeding upload_max_filesize directive in php.ini (10M at this moment)
3. click on "upload"
4. no error reported but the image is not displayed in the "uploaded images" div

The cause is that the image is too large to be uploaded. The php server script needs to be improved to detect this type of error by checking $_FILES['file']['error'].

Environments

All browsers

Comments

  • Justin Obara commented 2014-06-25T16:25:07.231-0400

    This demo no longer exists.