1
heze54
My users upload big photos to gallery
  • 2006/10/25 19:26

  • heze54

  • Just popping in

  • Posts: 9

  • Since: 2005/8/28


Hi, I have XOOPS 2.0.15 and my gallery version: Powered by XoopsGallery v1.3.3.7
Ported from Gallery.


My users can upload files but they upload files with are so big... jpg files larger than 1MB.They do not want to resize the files and it is a serious problem.


If I want/need to prevent this.. is possible to configure my galley to this >1MB jpg files to automatically resize to best and smaller size files and delete the source file.


best regards


heze54

2
hervet
Re: My users upload big photos to gallery
  • 2006/11/23 7:25

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Your fist problem will be to configure (if you have the right to do it) PHP so that it accepts large files for uploading.

3
metropolis
Re: My users upload big photos to gallery
  • 2006/11/23 9:55

  • metropolis

  • Not too shy to talk

  • Posts: 159

  • Since: 2004/7/15


Hervet: Did you read the question? The problem is that he doesn't want large files! So his PHP installation does already accept large files!

You could (if you have access to php.ini) reduce the UPLOAD_MAX_FILESIZE but this is then valid for all uploads, not only for pics in a gallery.

But you should first look for a possible setting in the gallery module you are using.

4
hervet
Re: My users upload big photos to gallery
  • 2006/11/23 10:03

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Sorry, I have, sometimes, problems with english, but at least, I give answers to unreplied topics ...

ps : Did I made something to you ?

5
davidl2
Re: My users upload big photos to gallery
  • 2006/11/23 11:05

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Perhaps you should ask the developer of XoopsGallery (www.XoopsGallery.org I think) about adding a permission based upload size if possible?

Login

Who's Online

175 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits