1
jporpilla
XC Gallery error!
  • 2005/2/15 12:25

  • jporpilla

  • Just popping in

  • Posts: 48

  • Since: 2005/1/10


I was encountering the same problem with jpco I can't upload a picture using XC Gallery, can anyone help us?

here are the error message:

The picture 'albums/userpics/10001/updated-profile93~3.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image

2
kiwiguy
Re: XC Gallery error!
  • 2005/2/15 13:11

  • kiwiguy

  • Friend of XOOPS

  • Posts: 295

  • Since: 2004/4/19


I had this problem once before and its NOT a xcgallery problem. Its a permission problem.

You need to make sure that both albums and userpics are chmod to 777 same as in the aministration>xcgallery>preferences section it needs to be written 0777.

You may find that your ftp client will not let you change these permissions as it did to me it kept going back to 755, so you will need to change the permissions via your cpanel that your hosting provider gave you. If all else fails I would start asking your hosting provider why you cannot set the right permissions.

The album and userpics NEED to be writable so the script can add picture and create directories in there if its not writable then it cannot do this and you will end up with errors like yours.

hope this helps
kiwiguy

3
jpco_122122
Re: XC Gallery error!

Here are the errors when I was using Netpbm in method for resizing:


jpegtopnm "c:\mysql\data\xoops\html\modules\xcgal\albums\userpics\10001\updated-profile93~3.jpg" | pnmscale -xsize=300 -ysize=300 | pnmtojpeg -quality=80 > "c:\mysql\data\xoops\html\modules\xcgal\albums\userpics\10001\thumb_updated-profile93~3.jpg"
The picture 'albums/userpics/10001/updated-profile93~3


Here are the rrors when I used ImageMagick in method for resizing:


The picture 'albums/userpics/10001/updated-profile93.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 4


Cmd line :
convert -quality 80 -antialias -geometry 300x300 "c:\mysql\data\xoops\html\modules\xcgal\albums\userpics\10001\updated-profile93.jpg" "c:\mysql\data\xoops\html\modules\xcgal\albums\userpics\10001\thumb_updated-profile93.jpg"



The convert program said:
Invalid Parameter - 80

4
jporpilla
Re: XC Gallery error!
  • 2005/2/16 11:21

  • jporpilla

  • Just popping in

  • Posts: 48

  • Since: 2005/1/10


Where shall I chmod 777 this? I can't find this directory can you teach me how?

aministration>xcgallery>preferences section

5
tedsmith
Re: XC Gallery error!
  • 2006/2/27 21:01

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I am having the same error? "Unable to create thumbnail or reduced size image". I have the two folders mentioned above CHMOD to 777 and have specified the same value in "Default mode for directories" to "0777" in preferences.

All the files I am trying to upload are smaller than 100Kb which is the max size I have specified and the dimensions are less than 1024 wide and tall - also as specified in preferences.

Anyone know what else the problem might be?

Ted

6
unni82
Re: XC Gallery error!
  • 2006/3/17 11:31

  • unni82

  • Just popping in

  • Posts: 35

  • Since: 2005/11/10


hi
go to ur ftp and find the path modules/xcgal/albums/usrpics/ right click on the file usrpics chmod the file to 777. change the subsequent file may be 10001 like the files also to 777.

7
tedsmith
Re: XC Gallery error!
  • 2006/3/17 12:22

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Sorry - I forgot to post back. My problem got solved. I did nothing - I just tried a few hours later and it worked. I put it down to my web host perhaps rebooting something temporarily or configuring something while I was trying to set up my site.

Login

Who's Online

325 user(s) are online (227 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

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

Latest GitHub Commits