#1 2002-10-02 15:50:32

hybrid
Member
2002-09-27
7

error making thumbnails

Hi,

Is there any progress on this mather ?

-------------
Warning: The argument to array_sum() should be an array in /www/site/admin/thumbnail.php on line 368

Warning: The argument to array_sum() should be an array in /www/site/admin/thumbnail.php on line 264

Warning: Division by zero in /www/site/admin/thumbnail.php on line 264
--------------

I've seen an article in the french forum about it.
There are pictures in de galleries map but making thumbs is inpossible :(

Offline

 

#2 2002-10-02 16:19:03

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

those errors (they are bugs because they are shown, they should not be) are visible only when you have no pictures to miniaturize normally. Am I wrong ? (you can know it if when you are one the main "thumbnails creation page" (where you can see the directories) if there is something like [2 pictures without thumbnail])

Offline

 

#3 2002-10-02 16:41:45

hybrid
Member
2002-09-27
7

Re: error making thumbnails

yes , your wrong  :D  :D  :D 

there are pictures in the maps to resize ;)

but the resizing doesn't work


Your phpwebgallery demosite had the same problem ;)

Offline

 

#4 2002-10-02 16:44:05

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

so, your pb is very strange...
are you saying you think there are pictures or are you saying there is displayed "[5 pictures without thumbnails*]" ?

* for example...

Offline

 

#5 2002-10-02 17:00:17

hybrid
Member
2002-09-27
7

Re: error making thumbnails

nonono

there are pictures in the thumbnail dir (ones that i uploaded)
so the [x pictures without thumbnails] is not shown

when there aren't thumbnails pics in it  the "create thumbnail" gives a empty result with no pics

but even if there are thumb pics in the folder the result is the same -> no ajustment

if you look at your admin demo you get the same error when creating the thumbs :)

Offline

 

#6 2002-10-02 17:28:57

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

if you look at your admin demo you get the same error when creating the thumbs :)

ok, this is totally normal, i f there i no thumbnail to create, you have those errors

Offline

 

#7 2002-10-02 17:31:36

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

One question : Why do you want to create thumbnails if you already have them ?

Offline

 

#8 2002-10-02 17:42:15

hybrid
Member
2002-09-27
7

Re: error making thumbnails

i made them to see if it works when the images are uploaded.  :D 

letting the script generate the thumbs makes it less timeconsuming ;)

but you have a point, creating the thumbs and uploading them is also an option but having the script doing it makes it more functional :)

Offline

 

#9 2002-10-02 17:48:44

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

...but having the script doing it makes it more functional :)

I see your point, BUT I do not agree, because PHP is not made to create image, it can do it, but is not made for it.
Your thumbnails will not be very beautiful and it is a very heavy load for the processor of your serveur if you create thumbnails with PhpWebGallery (that's why I do not recommend to use it but you can do it if you really know what you are doing)

Offline

 

#10 2002-10-02 17:59:47

hybrid
Member
2002-09-27
7

Re: error making thumbnails

i'll disable that function so the admins can't C it and come bug me with it :)

anyway ->  the script rules and is very fast  ;)

Offline

 

#11 2002-10-02 18:01:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: error making thumbnails

i'll disable that function so the admins can't C it and come bug me with it :)

Yes, I think it's a good idea.

anyway ->  the script rules and is very fast  ;)

good point, have you got many images ?

Offline

 

#12 2002-10-02 18:05:05

hybrid
Member
2002-09-27
7

Re: error making thumbnails

good point, have you got many images ?

normally it will be about +-10 category with a  +-20  pics in them
also i'll create more fields for description.


i'll post it here once i've uploaded them all to let you know :)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact