Image upload and download issues

Support for Administration, Installation, Update & Conversion
Locked until 1.1.0 was released.

Image upload and download issues

Postby Simon Cook » Mon Jan 23, 2012 4:11 pm

Firstly, thank you Nick for a top class mod for PHPBB3.

I have a couple of end-user usability issues which I'm hoping you can assist with.

Uploading Images
I can only get uploading to work with 1 image at a time. If I set a number of images to be allowed to be uploaded in one session (e.g. 10) on selecting the second image the page blanks/resets.
I have tried to get around this by allowing zip uploading (file size limit 256MB) this seems to hang the page and doesn't complete.
What's really needed there is for the end user to be able to point to folder location and the page load up one image at a time, refreshing in between, showing some sort of progress bar or indicator to give feedback.

Administrator Bulk Uploading Images
Similarly with the admin bulk upload function I can only upload 6 to 10 images at a time.
If I go beyond that the subsequent images don't get compressed in the images folder, they remain full size and don't get displayed in the gallery.
Again, perfoming the import cycle for each image individually will I believe rectify that, with a refresh in between.

End-user downloading images
When an end-user clicks on an image to get the full size image in their browser the file tries to download the file with a filename of the <image title>.
This does not include the file type identifier, e.g. .jpg so the browser or image viewing application cannot open the file.
I end up having to save the file to disk, then renaming it to <image title>.jpg
Then it can be double clicked to open in the image viewing application associated with that file extension.
The way around this is to edit every title to include the .jpg extension but that's a bit rubbish.
The image file name served to the web browser should be the original filename including the the extension or the .jpg added to the tile automatically for the image download.

These are minor issues but significant as they are to do with end-user experience and if the end-users don't like it or find it problematic, they won't persevere...

Thanks for your understanding and assistance with these issues.
Last edited by Simon Cook on Mon Jan 30, 2012 2:53 pm, edited 1 time in total.
Simon Cook
Posts < 10
Posts < 10
 
Posts: 2
Topics: 1
Joined: Mon Jan 23, 2012 3:43 pm

Re: Image upload and download issues

Postby nickvergessen » Mon Jan 30, 2012 2:20 pm

Simon Cook wrote:Uploading Images
I can only get uploading to work with 1 image at a time. If I set a number of images to be allowed to be uploaded in one session (e.g. 10) on selecting the second image the page blanks/resets.
I have tried to get around this by allowing zip uploading (file size limit 256MB) this seems to hang the page and doesn't complete.
What's really needed there is for the end user to be able to point to folder location and the page load up one image at a time, refreshing in between, showing some sort of progress bar or indicator to give feedback.

Administrator Bulk Uploading Images
Similarly with the admin bulk upload function I can only upload 6 to 10 images at a time.
If I go beyond that the subsequent images don't get compressed in the images folder, they remain full size and don't get displayed in the gallery.
Again, perfoming the import cycle for each image individually will I believe rectify that, with a refresh in between.
Ask your host to increase the available memory limit.

Simon Cook wrote:End-user downloading images
When an end-user clicks on an image to get the full size image in their browser the file tries to download the file with a filename of the <image title>.
This does not include the file type identifier, e.g. .jpg so the browser or image viewing application cannot open the file.
I end up having to save the file to disk, then renaming it to <image title>.jpg
Then it can be double clicked to open in the image viewing application associated with that file extension.
The way around this is to edit every title to include the .jpg extension but that's a bit rubbish.
The image file name served to the web browser should be the original filename including the the extension or the .jpg added to the tile automatically for the image download.
Please try to reupload the gallery/image.php and please try to disable the watermark or restart your webserver. Normally the file should not be offered to download but just displayed as an image.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Image upload and download issues

Postby Simon Cook » Mon Jan 30, 2012 2:49 pm

Hi Nick,

Thanks for the reply.
The web server hosting my gallery is my own, within my LAN so I have complete control.

I've been digging around the PHPBB forums with regards to general file upload issues and found that there are 4 variables for PHP.ini which control file upload (aside from file upload on or off).

My current settings are below and were previously higher, but I've reduced them for now and gone back to single file upload.

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 20M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20

; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 25M

Advice on suitable settings to allow bulk upload (say a 256MB zip file) would be useful.
And feedback from anyone who has got this feature working and what settings they used would also be useful.

The web server has been rebooted several times (as it's mine), the site was built with the current version of PHPBB Gallery (1.1.4) so the image.php should be fine, I'll replace it anyway.

I had the setting configured on image click (in the comments section) to open a new tab.
I believe that is what was triggering the image download with no file extension.
(This might be a browser specific issue, I'll do some more testing from different pc's and see about that.)
I've changed it to open the image (a bit naff as you lose the web page and have to click back) but it works.
Other than that, clicking on the thumbnail triggers js highslide to display the image.

I just think overall the image upload section needs to be slicker for the end user.
But I have to say PHPBB Gallery is a top add-on for PHPBB - well done!
Simon Cook
Posts < 10
Posts < 10
 
Posts: 2
Topics: 1
Joined: Mon Jan 23, 2012 3:43 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest