Problem with thumbnails

Phoca Gallery - image gallery extension
rafael
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Mar 2008, 23:41

HiI have

Post by rafael »

Hi

I have a problem with Phoca Gallery component.

When I am trying to select some image(s) from my images/phocagallery folder and assign them to the PG category, I only get a message:

Phoca Gallery is creating thumbnail(s) now. Please wait...
Creating of thumbnail somepicture.jpg ... OK

The page infinitely continues with periodical refreshing, but I can not see any thumbnails.

If I explore images/phocagallery folder via ftp, thumbnails folder with 777 permissions is created. However this folder is empty. No thumbnails there.

My version of PG is 1.5.8

Thank you for any response.

Regards!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Do you use multiple

Post by Jan »

Do you use multiple add or only one image add... See if your GD library is working correctly

Administration - Help - System Info - PHP Information - GD...

Jan
If you find Phoca extensions useful, please support the project
rafael
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Mar 2008, 23:41

I am trying to add o

Post by rafael »

I am trying to add only one image to the gallery. But the result is same when I use one or multiple images add. With multiple add even database entry is created for that image. But this is probably worse because i get a message:
Phoca Gallery is creating thumbnail(s) now ... every time I come to PG component site (components/PhocaGallery/Gallery).

Then I have to delete database entry manualy to cancel that message.

GD library seems to be fine. Here is a copy of configuration listing:

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Rafael
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Phoca Gallery create

Post by Jan »

Phoca Gallery creates thumbnails automatically, so if there is a original file and database entry, it will try to do it... (you can remove the image from disc or the entry from database - as you have done)

If you have permission set to 777 and GD work, database work ... ???

Try the GD with other script... Try to save something in your image folder ... see if Phoca Gallery has created the folder thubms, if it has created the index.html in thumbs folder ...
If you find Phoca extensions useful, please support the project
RvA
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 08 Mar 2008, 22:55

hi Jan,i'

Post by RvA »

hi Jan,
i've the same problem!
GD is Running (out of testfile):

GD is supported by your server!
GD Version Yes
FreeType Support Yes
FreeType Linkage Yes
T1Lib Support Yes
GIF Read Support Yes
GIF Create Support Yes
JPG Support Yes
PNG Support Yes
WBMP Support Yes
XBM Support Yes
JIS-mapped Japanese Font Support No

my database is defetly running

and Phoca Gallery has create the index.php and the 3 thumbnail in the thumbs-directory correctly, but i can't see any picture in the media-manager or in the preview from Phoca Gallery. I can only watch the the created pics (small, medium, large), when i download it in my Windows-System. Other (non-automatic-created pics) i can watch on the media-manager in Joomla.
so...i'dont know the problem.

Plz help!!!

best regards
RvA
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

So if the images are

Post by Jan »

So if the images are created, there is maybe problem with path to these images...
If you find Phoca extensions useful, please support the project
RvA
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 08 Mar 2008, 22:55

so what can i do?

Post by RvA »

so what can i do?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

??? I must look at i

Post by Jan »

??? I must look at it, please let me know your site... if this is a test site, you can create an account for me...
If you find Phoca extensions useful, please support the project
Pecoo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Mar 2008, 18:59

I experienced a prob

Post by Pecoo »

I experienced a problem that look like the problems described above. I want to add multiple files.

A thumb folder was created. Three jpg's file were created (The s,m- and l) for one the original jpg file. Those files were not vissible in the media manager I saw later.

Phoca was looping with the screen:

Phoca Gallery is creating thumbnail(s) now. Please wait...
Creating of thumbnail somepicture.jpg ... OK

It was looping on the first created image (until I visit another page in the Joomla backend, but that's caused by the solution to deal with the issue of a time-out with a large batch.).

My workaround (at least after this it worked for me )
Removed the created thumb- folder including its files. Verified folder was 777 in which the thumbs folder will be created.
I''m using the FTP handler since this site is hosted with safe mode.
I went to Site - Configuration
Set the L/P for the FTP connection (NOT in the confiuration file but just to enable saving). And applied the configuration.
I went back to Components - Phoca Gallery - Gallery and selected Add multiple.
The gallery was able to create the thumbs for all files.

May Jan need to add support for FTP handling? Probably used in the Joomla Core once you supplied your l/p during the session. I didn't dive in the code of Phoca Gallery to be sure about this.

The media manager of Joomla seems to be a little bit buggy with FTP l/p also, but that will be a topic for another forum and has nothing todo with Phoca Gallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, which Phoca Gall

Post by Jan »

Hi, which Phoca Gallery do you use...

There are some if clause with error messages in 1.6.3 ... so if Phoca Gallery cannot create a folder, you should get an error message, If Phoca Gallery cannot write the thumb, you should get an error message ...

Phoca Gallery uses ftp layer if Theme is downloaded, but I don't really know if GD library can create images on the server with help of FTP
If you find Phoca extensions useful, please support the project
Post Reply